OpenELEC Testbuilds for RaspberryPi Part 3 (Kodi 14.0)
(2014-04-25, 12:42)da-anda Wrote: As for the AV syncing - which is the best mode to use for the PI or this particular case? I was trying audio clock which seemed to work fine, did only a short test though. And do you know if AV sync will only kick in if refresh rates don't match, or is this thing always on once enabled in settings?

My understanding is that with dvdplayer, "adjust display refresh rate..." just switches to the best refresh rate.
If your file has perfect timestamps (e.g. 24fps/48kHz stream contains exactly 24 frames per second and 48000 audio samples) *and* your graphics card's video clock is synchronous to your sound card's audio clock, then everything should be good.

However neither of these conditions are generally true. You need another feedback path that detects drift in audio/video and compensates.

On dvdplayer you need to enable "sync playback to display". That gives 3 sub-options:
audio clock : The clock just jumps in software. I believe this is the same as having "sync playback to display" disabled and that will still have video judder
video clock (resample audio): For non-passthrough audio is resampled to fit in. Video should be smooth, but audio quality may be (marginally) worse. For passthrough drop/dupe occurs.
video clock (drop/dupe audio): audio frames are dropped/duplicated to fit. Video should be smooth, but audio quality may be worse

Resample is more expensive in cpu than drop/dupe but is probably less audible.

omxplayer has an additional sync scheme where it has a separate PLL for the HDMI video clock, and can maintain sync without harming audio or video.
This is only enabled when "adjust display refresh rate..." is enabled, so manually choosing 24Hz won't be as smooth as automatically switching.
This scheme is much better than the others, and everyone should enable it.

omxplayer can also support audio resampling. If "Sync playback to display" is enabled (with any sub-options) it will behave like dvdplayer in "video clock (resample audio)" mode.
This can be useful if you get audio dropouts in "adjust display refresh rate..." mode.


Messages In This Thread
RE: OpenELEC Testbuilds for RaspberryPi Part 3 - by popcornmix - 2014-04-25, 13:28
Re: RE: - by Mafarricos - 2014-06-04, 20:21
Live tv issues again - by pootler - 2014-06-04, 23:29
RE: OpenELEC Testbuilds for RaspberryPi Part 3, - by removed151214 - 2014-08-04, 23:38
RE: OpenELEC Testbuilds for RaspberryPi Part 3 - by removed151214 - 2014-08-19, 00:11
RE: OpenELEC Testbuilds for RaspberryPi Part 3 - by removed151214 - 2014-08-21, 20:42
RE: OpenELEC Testbuilds for RaspberryPi Part 3 - by removed151214 - 2014-09-22, 22:20
RE: OpenELEC Testbuilds for RaspberryPi Part 3 - by removed151214 - 2014-09-22, 22:34
RE: OpenELEC Testbuilds for RaspberryPi Part 3 - by removed151214 - 2014-09-22, 22:44
RE: OpenELEC Testbuilds for RaspberryPi Part 3 - by removed151214 - 2014-09-23, 01:12
RE: OpenELEC Testbuilds for RaspberryPi Part 3 - by removed151214 - 2014-09-23, 23:24
RE: OpenELEC Testbuilds for RaspberryPi Part 3 - by removed151214 - 2014-09-25, 01:38
RE: OpenELEC Testbuilds for RaspberryPi Part 3 - by removed151214 - 2014-10-01, 18:12
RE: OpenELEC Testbuilds for RaspberryPi Part 3 - by removed151214 - 2014-10-01, 18:26
RE: OpenELEC Testbuilds for RaspberryPi Part 3 - by removed151214 - 2014-10-05, 01:07
RE: OpenELEC Testbuilds for RaspberryPi Part 3 - by removed151214 - 2014-10-11, 03:48
RE: OpenELEC Testbuilds for RaspberryPi Part 3 - by removed151214 - 2014-10-11, 04:06
RE: OpenELEC Testbuilds for RaspberryPi Part 3 - by removed151214 - 2014-10-11, 11:29
Logout Mark Read Team Forum Stats Members Help
OpenELEC Testbuilds for RaspberryPi Part 3 (Kodi 14.0)8