[kodi-rpi-19.4-5] Audio passthrough broken

Problems with packages? Post here, using [tags] of the package name.

[kodi-rpi-19.4-5] Audio passthrough broken

Postby henkv » Fri Sep 16, 2022 7:48 am

Audio passthrough is broken on Rpi4 after upgrade to kodi-rpi-19.4-5. A downgrade to kodi-rpi-19.4-4 fixes this issue.
I see a lot of the following errors in the kodi.log, which are not present in kodi-rpi-19.4-4:
$this->bbcode_second_pass_code('', '2022-09-16 09:43:40.070 T:11 DEBUG <general>: ActiveAE::SyncStream - average error of 302.700892, start adjusting
2022-09-16 09:43:40.071 T:11 ERROR <general>: CAEEncoderFFmpeg::Encode - Encoding failed
2022-09-16 09:43:40.120 T:11 DEBUG <general>: Skipped 7 duplicate messages..
2022-09-16 09:43:40.120 T:11 DEBUG <general>: ActiveAE::SyncStream - average error 14.700892, last average error: 302.700892
2022-09-16 09:43:40.121 T:11 ERROR <general>: CAEEncoderFFmpeg::Encode - Encoding failed')
henkv
 
Posts: 26
Joined: Mon Feb 15, 2021 6:00 pm

Re: [kodi-rpi-19.4-5] Audio passthrough broken

Postby graysky » Fri Sep 16, 2022 7:09 pm

Hmm... the primary difference between the two versions is the use of ffmpeg 4.4.2 internally vs 4.3.2 and the corresponding kynesim patch. Other minor tweaks too. The ffmpeg version change could be to blame for the broken pass through. Would you be willing to try a custom build wherein I only vary the internal ffmpeg/all other factors the same?
graysky
Developer
 
Posts: 1870
Joined: Sun Jun 26, 2011 6:56 am
Location: /run/user/1000

Re: [kodi-rpi-19.4-5] Audio passthrough broken

Postby henkv » Sun Sep 18, 2022 11:05 am

Yes, please. Can you provide such a build? The architecture is armv7h.
henkv
 
Posts: 26
Joined: Mon Feb 15, 2021 6:00 pm

Re: [kodi-rpi-19.4-5] Audio passthrough broken

Postby graysky » Sun Sep 18, 2022 12:40 pm

You can manually download the package/packages from here for testing: http://repo-ck.com/armv7h-test/
Make sure you use the package provided /boot/kodi.config.txt so we can rule out changes there as a variable.

Changes to PKGBUILD in my matrix-downgrade-ffmpeg branch for reference: https://github.com/graysky2/PKGBUILDs/c ... ade-ffmpeg
graysky
Developer
 
Posts: 1870
Joined: Sun Jun 26, 2011 6:56 am
Location: /run/user/1000

Re: [kodi-rpi-19.4-5] Audio passthrough broken

Postby henkv » Sun Sep 18, 2022 1:02 pm

This new build does indeed fix the issue.
I double checked by downgrading the package to v 19.4-5 and the issue was back. An upgrade to this new package fixed it again.
henkv
 
Posts: 26
Joined: Mon Feb 15, 2021 6:00 pm

Re: [kodi-rpi-19.4-5] Audio passthrough broken

Postby graysky » Sun Sep 18, 2022 2:24 pm

OK thanks for testing and letting me know. Probably better for me to ship the recommended version in the official repos. I will make this change.
graysky
Developer
 
Posts: 1870
Joined: Sun Jun 26, 2011 6:56 am
Location: /run/user/1000


Return to Packages

Who is online

Users browsing this forum: No registered users and 16 guests