Posts: 85
Joined: Nov 2010
Reputation:
1
Sorry for necroing this thread, but...
do you still need to enable sync playback to display for tempoup/down ? and if yes, why? I have adjust display refresh rate enabled which works fine and had some weird playback issues with sync playback...
Posts: 10,700
Joined: Oct 2011
Reputation:
659
jjd-uk
Team-Kodi Member
Posts: 10,700
You need to enable Sync Playback to Display as the audio needs to be resampled in sync with the video.
Posts: 85
Joined: Nov 2010
Reputation:
1
Many thanks for your reply. I understand.
Two things
a) can I enable sync when I have adjust display refresh rate enabled? Or will they interefere/override each other?
b) I would suggest adding a note somewhere on wiki that this needs to be enabled and an error notification in kodi on tempoup/down that it isnt supported when the option is not set. Do you agree?
Many thanks
Posts: 85
Joined: Nov 2010
Reputation:
1
I feel you. I have been thinking if this could be done by a script.
bind keys to execute python script with args tempoup/down
In the script verify that sync is enabled via:
* JSONRPC to enable videoplayer.usedisplayasclock (sync refresh to display)
make a monitor subclass that checks for playback ended -> reset previous values.
It's kind of a hack n slay approach.
You cannot (as far as i see) get the current tempo setting via pyhton so you can't disable sync display again when tempo is 1.0 unless you try and count the tempo ups/downs, again a guesstimate route i'd rather not take.
Also this would probably have to be implemented as a service addon so it can track the previous sync-display value and re-set it.
However then you would need to be able to send commands via keymap->action to the service addon to increase/decrease tempo... Not sure if/how that works.
Can anyone chime in?
Posts: 117
Joined: Feb 2017
Reputation:
4
Yeah, I also see some quirks with jump/seek/skip (whatever these are called) while playback speed is increased. Sometimes it creates lip sync issues, and sometimes it'll freeze and you have to restart the video (or Kodi). Just weird stuff, but not always easy to reproduce. Definitely needs some fine tuning.
Posts: 38
Joined: Apr 2022
Reputation:
0
False alarm - I checked the log and saw that iwhen it loaded the advancedsettings.xml, the video setting <maxtempo>2.1</maxtempo> wasn't there.
Not sure what happened, but I deleted and recreated the advancedsettings.xml file and now it's working. Thanks for the reply!