v18 LibreELEC Testbuilds for RaspberryPi (Kodi 18.0)
(2017-08-30, 14:56)popcornmix Wrote:
(2017-08-29, 19:49)amediauser Wrote: Player settings > Videos > Adjust display refresh rate > On start / stop
System settings > Audio > Allow passthrough > On
System settings > Audio > - Enable Dolby Digital (AC3) transcoding > On

Tested again with the follwing additional changes.

Player settings > Videos > Sync playback to display > On
System settings > Audio > PLL adjustment to maintain audio/video sync > Low

Can you just clarify with which settings out-of-sync audio occurs?
(i.e. default, with ac3 transcoding enable, and with PLL sync?)

Hi @popcornmix, thank you for taking a look at this.

The out of sync error occurs when using the combination "Allow passthrough", "Dolby Digital (AC3) capable receivers" and "Enable Dolby Digital (AC3) transcoding".

It is a little random, most of the time it will start in sync, but not always. As described previously, skipping around in the sample file will easily trigger it to go out of sync.

Once out of sync not even pausing will correct it.

When playing native AC3 in sync I see this lines like this in the debug log.
DEBUG: ProcessPacket - audio:98 video:99

When playing transcoded DTS in sync I see this in the debug log, there is a larger gap between audio and video.
DEBUG: ProcessPacket - audio:96 video:99

When playing transcoded DTS out of sync I see example such as these this in the debug log.
DEBUG: ProcessPacket - audio:99 video:94 < # Audio packets are ahead of video
DEBUG: ProcessPacket - audio:98 video:98 < # Audio video packets are the same
DEBUG: ProcessPacket - audio:95 video:99 < # Audio packets further behind video

The brief reversion to ffmpeg 3.1 didn't help, so its not down to that version bump.

When playing back stereo, native AC3 or disabling transcoding the sync remains fine.

The PLL option does not have have any effect on the problem, I only enable it as I believe it is now required for passthrough with "Sync playback to display" that I tested.


Messages In This Thread
RE: LibreELEC Testbuilds for RaspberryPi (Kodi 18.0) - by amediauser - 2017-08-30, 23:33
WD MyCloud - by crisp waffles - 2017-09-06, 03:11
No 3D Playback since Version - by Mike74 - 2017-10-09, 19:25
Migrating from RPi2 to RPi1 - by RappaSan - 2017-11-10, 14:45
RE: Migrating from RPi2 to RPi1 - by Milhouse - 2017-11-10, 21:06
RE: Migrating from RPi2 to RPi1 - by RappaSan - 2017-11-11, 09:17
Resolution broken after 0415 - by lozbrown85 - 2018-04-20, 11:48
popt 1.16 - by n0n4m3 - 2018-06-29, 00:28
RE: popt 1.16 - by Milhouse - 2018-06-29, 06:39
A plugin to be resurrected - by ArminiusTux - 2018-10-22, 22:02
RE: A plugin to be resurrected - by Milhouse - 2018-10-23, 02:46
Logout Mark Read Team Forum Stats Members Help
LibreELEC Testbuilds for RaspberryPi (Kodi 18.0)24