Linux Kodi 17.6 Distorted Audio
#1
Did a fresh install of Kodi on Debian 9 (stretch) from the repository. The sound is distorted. Any idea why?
I don't have ffmpeg installed and all the dependencies installed successfully.
Reply
#2
No idea.

Post your Debug Log
First decide what functions / features you expect from a system. Then decide for the hardware. Don't waste your money on crap.
Reply
#3
https://paste.kodi.tv/ribiyeweve

The hardware produces normal audio with other applications such as mplayer or gstreamer.
Reply
#4
That isn't a debug log. Turn in debugging like the instructions in the link says.

Which repository did you get Kodi from? Debian stretch only shipped with Kodi 17.1. From your log it was built against ffmpeg 3.4. Kodi 17 shipped against ffmpeg 3.1. ffmpeg 3.4 breaks it. See this Debian bug: https://bugs.debian.org/cgi-bin/bugrepor...bug=881536. The Debian patched versions aren't supported here. They make a lot of changes which break things.
Reply
#5
I'm actually using Kodi from the stretch-backports repository. Namely 17.6.
Kodi has always worked well in the past from this repository.
I recently changed my hardware and the same version of Kodi I'm using now (17.6) worked fine on my previous (more-or-less similar) hardware. The audio DAC is a Realtek ALC affair and is something that's well supported under Linux and again been using for a few years (even with Kodi).
I don't have ffmpeg installed on the machine. I purged it. I believe Kodi uses it's own ffmpeg library if I'm not mistaken.
I have also tried another experiment. I purged Kodi completely and reverted back to 17.1 from the stable Debian repository. Unforunately the audio distortions are still present and they sound the same, in terms of pitch and harmonics.
Reply
#6
(2019-02-16, 02:22)OS/2 Wrote: I don't have ffmpeg installed on the machine. I purged it. I believe Kodi uses it's own ffmpeg library if I'm not mistaken.

You are mistaken for the Debian packed version. They build against the system ffmpeg. It has a dependency on libavcodec which is part of ffmpeg. To help you, you need to provide a log with debugging turned on and reproduce the issue.
Reply
#7
If that's the case, problem is clear. The broken patched kodi in order to support old stretch version of ffmpeg. You can see the patch that breaks audio in the debian/patches folder
First decide what functions / features you expect from a system. Then decide for the hardware. Don't waste your money on crap.
Reply
#8
Curious though, I'm using the Kodi from the same exact repository on another machine and the sound is not distorted.

Debug log:
https://paste.kodi.tv/quteyaxihi.kodi

There are indeed ffmpeg errors reported
Reply
#9
Build from source. Debian's package is not supported out of that reason. ffmpeg 3.3 introduced an API change. Kodi 17.6 is only compatible with internal ffmpeg 3.1

Your choice :-)
First decide what functions / features you expect from a system. Then decide for the hardware. Don't waste your money on crap.
Reply
#10
I reverted back to 17.1 from the stable repository and the corresponding libavcodec57. Audio is back to normal.

It was libavcodec57 from bpo9 which was causing the problem for both Kodi 17.1 and 17.6.
Reply
#11
As I told you above ...
First decide what functions / features you expect from a system. Then decide for the hardware. Don't waste your money on crap.
Reply

Logout Mark Read Team Forum Stats Members Help
Kodi 17.6 Distorted Audio0