[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#993806: kodi: No audio on DVD playback, AC3 Support



On Wed, 8 Sep 2021 15:30:46 +0200 Markus Koller <markus-koller@gmx.ch>
wrote:
> This is probably related to the ffmpeg 4.4 update, which in my case
> broke AC3 transcoding for AAC audio. Downgrading to 4.3 fixed it for
> now.

How did you do AC3 to AAC transcoding (playing DVD with kodi 19?).

Sadly you did not provide the ffmpeg debian version you reverted to.
Because I with current bullseye ffmpeg 7:4.3.4-0+deb11u1 dvd playback
does not work in debian kodi 19 2:19.4+dfsg2-2~bpo11+1.

>From https://forum.kodi.tv/showthread.php?tid=359403 it seems DVD audio
debian/ubuntu in kodi has been borken since 18 Leia (or maybe it was an
ffmpeg upgrade at around that time).

Mind that upstream kodi ships ffmpeg 4.3.2 so maybe ffmpeg version
above that one has a regression (since fixed in ffmpeg 5.1 because
debian kodi 20 with debian ffmpeg 5.1 has DVD audio working).
So maybe it was this debian ffmpeg 4.3.2 that you reverted to back
then, hard to tell.

What would help is knowing if buster with kodi 19 from buster-backports
also suffers the missing audio streams in DVD playback.
Because the streams are not only not playbacked but even not detected
(the audio settings when a dvd is playing back has no stream).


> 
> Kodi master has some changes to fix this, but 19.1 doesn't include
> them yet: https://github.com/xbmc/xbmc/pull/19558
> 
> Could this be added as a patch in Debian?

I made a quick port of this patchset but saw no improvement. But as I
do not know your use case maybe it would help with yours.
I will not send the patchset without an even very rough test case to
show it has an effect (this is ment for stable as testing already ships
kodi 20 with ffmpeg 5.1 which already has this patchset).
Maybe from https://forum.kodi.tv/showthread.php?tid=362843 it means
playing a file with AC3 (E-AC3 track ?) in it with kodi setting "AC3 /
DTS passthrough enabled" with pulseaudio as a backend (maybe pipewire
supports passwthrough nowadays, hard to tell).
I only have a stereo setup, I do not know yet if I am able to test.

I even doubt this patchset could get into stable as it is not a
security issue, merely a regression bug.


Mind that ffmpeg 4.4 is not available in a debian release anymore.
Testing ships ffmpeg 5.1.

> Some related discussions:
> - https://forum.kodi.tv/showthread.php?tid=362843
> - https://bugzilla.rpmfusion.org/show_bug.cgi?id=6000
> -
https://www.deb-multimedia.org/lurker/message/20210715.125358.efbe51b3.en.html
> 
> Thanks,
> Markus
> 

So thre may be two bugs, the bug the initial report reported here (that
kodi 19 has no audio stream, and the one that on a plain file with AC3
audio the playback is broken. We might need both fixed to have DVD
audio playback.
But this bug report one is firstly about the dvd audio no stream. 



Kind regards,
Alban


Reply to: