Cracking/poping sound for some audiostreams

  • Hardware: Raspberry Pi 4B 4GB

    Software: LibreElec 9.1.501

    Watching movies, in some videos (always same ones) I experience very annoying poping/cracking of sound, similar to an effect you would get if you amplified sound, compressed the crap out of it, and scaled the volume down back again. This only occurs on the analogue output of Raspberry Pi 4. If I play the same file but run the audio over ODAC instead, it sounds fine.

    Here is pastebin of mediainfo output for audiostreams that cause problems, and compared to ones that are fine.

    Definitely nothing wrong with the files, they play perfectly fine on everything else I have ever tried them on, including that Pi itself when connected to external USB DAC.

    I'm new to LibreElec and Kodi, so I'm not too sure where to start looking for logs or any other clues.

    Thank you

  • I had the same issue and I have solved it by enabling caching.

    Just add advancedsettings.xml by doing the following commands:

    touch /storage/.kodi/userdata/advancedsettings.xml

    nano  /storage/.kodi/userdata/advancedsettings.xml

    and add the following code in advancedsettings.xml:



    This solved the problem in my case. I also use a RBPi4 with 4GB memory.

    I hope this helps for you.