Hi all, Yesterday ffmpeg was upgraded from 3.3.6 to 3.4.5. Afterwards I noticed that the sound was not working in kodi. The sound just was bad. Lots of noise (seemingly unrelated to the codec - I tried mp2, ac3 and dts, they were all sounding way off). I found a Debian bug report about the same, see URL above. It includes a small patch to fix this. Alpine uses the same (https://raw.githubusercontent.com/alpinelinux/aports/master/community/kodi/19-fix-audio-with-latest-ffmpeg.patch). I'm using stable kodi 17.3. With the patch applied the sound is back to normal. Kind regards, Seb Reproducible: Always
Video is also a bit off. When skipping the video goes green for a few seconds. This was already reported elswhere and fixed upstream (https://github.com/xbmc/xbmc/pull/12988). The patches that Debian uses are here: https://sources.debian.org/src/kodi/2:17.6+dfsg1-4/debian/patches/ 19f28e88a5dfed82e9844f69210f7c045f18ca8e.patch c7e2acc1b2ee781af6e14d80da0edd0aa23bdf03.patch They apply cleanly to 17.3. The green screens after skipping are gone. Regards, Seb
The bug has been referenced in the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=b9b28fe5e5935dccc94539383cba437071a4254c commit b9b28fe5e5935dccc94539383cba437071a4254c Author: Craig Andrews <candrews@gentoo.org> AuthorDate: 2019-02-18 02:59:41 +0000 Commit: Craig Andrews <candrews@gentoo.org> CommitDate: 2019-02-18 02:59:41 +0000 media-tv/kodi: ffmpeg 3.4.5 fixes, don't unbundle fonts Bug: https://bugs.gentoo.org/678222 Closes: https://bugs.gentoo.org/669204 Package-Manager: Portage-2.3.60, Repoman-2.3.12 Signed-off-by: Craig Andrews <candrews@gentoo.org> ...adapt-to-deprecated-symbols-and-functions.patch | 401 +++++++++++++++++++++ .../kodi-17-fix-audio-with-latest-ffmpeg.patch | 15 + media-tv/kodi/kodi-17.6-r10.ebuild | 278 ++++++++++++++ 3 files changed, 694 insertions(+)
Can you please test again with media-tv/kodi-17.6-r10 which I just added? I included the referenced patches - please let me know if it fixes the issues. If it does, I'll request that version to go stable. And thanks for reporting the issue!
Hello Craig, When trying to "emerge" media-tv/kodi-17.6-r10 it wanted to downgrade ffmpeg to 3.3.6. media-tv/kodi-17.3-r1 didn't do that and then it'd be pointless to add the patches. I suppose that was not your intention :-) I removed the "<media-video/ffmpeg-3.4" line from system-ffmpeg? ( >=media-video/ffmpeg-${FFMPEG_VERSION}:=[encode,openssl,postproc] <media-video/ffmpeg-3.4 ) and built against 3.4.5. And indeed it all works fine. Thanks! Best regards, Seb
(In reply to Sebastian from comment #4) > Hello Craig, > > When trying to "emerge" media-tv/kodi-17.6-r10 it wanted to downgrade ffmpeg > to 3.3.6. media-tv/kodi-17.3-r1 didn't do that and then it'd be pointless to > add the patches. I suppose that was not your intention :-) > > I removed the "<media-video/ffmpeg-3.4" line from > > system-ffmpeg? ( > >=media-video/ffmpeg-${FFMPEG_VERSION}:=[encode,openssl,postproc] > <media-video/ffmpeg-3.4 > ) > > and built against 3.4.5. And indeed it all works fine. > > Thanks! > > Best regards, > Seb Great - I'm adding -r11 with this change. I'll file a stabilization request on March 18 (one month from now).
Can confirm 17.6-r11 fixes my issues.
Resolved by -r11 stabilization, see bug 680852