PVR IPTV Simple client and DD5.1 and DD2.0 sound problem

  • Passthrough is enabled, disabled AC3 transcode - PCM sound received on my receiver for IPTV. And there is no problem with DD video files.

    DD2.0_notranscode.txt     DD5.1_notranscode.txt        Video_notranscode.txt

    Passthrough is enabled, enabled AC3 transcode - DD5.1 and DD2.0 is ok on my receiver. BUT there are distorted sound, crackle for the first 30-60 seconds and audio sync problem from 1st minute or after 30-60 minutes.

    DD_transcode.txt

    If I press "O", it showes that audio is AC3.

    This can be repeated for any IPTV channel with DD sound.

    Is it possible to use Dolby Digital passthrough without transcoding AC3 to AC3 on IPTV channels?

    Libreelec 8.1.6 for S905/S912

    P.S.: Leia build on my windows PC doesn't have same issue. May be it's possible to compile pvr IPTV simple addon with latest changes in 8.2 LE builds?

    Edited 3 times, last by boot2k3 (August 27, 2017 at 5:36 PM).

  • It's not possible to backport player changes from Leia. I think the reason for crackling might be the hack-patch used in my builds. Simply disable transcoding.

  • If I disable transcoding, then I receive 2ch PCM from dd5.1 on my receiver for livetv. This info was in my logs above.

    This is bad solution for dd5.1 to convert it to 2.0

  • Again, the reason for this is is explained in Kodi Forum thread.

    One more thing: for Kodi issues you need to post Kodi logs, not fragments of kernel log.

  • Full log is in this file: log-2017-08-27-21.13.06.zip First of all for DD2.0 it wrong detected by kodi and sent as PCM to receiver (with transcoding enabled). After this channel was switched to 5.1 with transcoded enabled. After this AC3 transcoding was disabled and receiver receive 2.0 PCM

  • First channel, mp2 audio:

    Code
    00:11:52.506 T:3691496288    INFO: ffmpeg[DC07C360]:     Stream #0:0[0x1069]: Video: h264 (High) ([27][0][0][0] / 0x001B), yuv420p(tv, bt709), 1920x1080 [SAR 1:1 DAR 16:9], 25 fps, 50 tbr, 90k tbn, 50 tbc
    00:11:52.507 T:3691496288    INFO: ffmpeg[DC07C360]:     Stream #0:1[0x106a](rus): Audio: mp2 ([3][0][0][0] / 0x0003), 48000 Hz, stereo, s16p, 192 kb/s
    00:11:52.507 T:3691496288    INFO: ffmpeg[DC07C360]:     Stream #0:2[0x106b](rus): Audio: ac3 ([6][0][0][0] / 0x0006), 48000 Hz, stereo, fltp, 192 kb/s

    Second channel, mp2 audio:

    Code
    00:12:14.356 T:3691496288    INFO: ffmpeg[DC07C360]:     Stream #0:0[0x552]: Video: h264 ([27][0][0][0] / 0x001B), none, 25 fps, 25 tbr, 90k tbn, 180k tbc
    00:12:14.357 T:3691496288    INFO: ffmpeg[DC07C360]:     Stream #0:1[0x553](rus): Audio: mp2 ([3][0][0][0] / 0x0003), 48000 Hz, stereo, s16p, 192 kb/s
    00:12:14.357 T:3691496288    INFO: ffmpeg[DC07C360]:     Stream #0:2[0x554](rus): Audio: ac3 ([6][0][0][0] / 0x0006), 48000 Hz, 5.1(side), fltp, 384 kb/s

    Have you selected correct audio stream?