I recently switched from an Intel NUC to a Raspberry Pi 4. In general it is working fine but with videos recorded with my Vu+ Cable Receiver I get distorted/broken sound.
I recorded a video here (best to hear end the end of the video):
https://www.dropbox.com/s/e9ehjhl69n16fzz/20191129_120257.mp4?dl=0
The videos in question are TS-files using H.264 video with AC-3 sound. This is a short clip that shows the problem on my RPi 4:
Dropbox - test_copy.ts - Simplify your life
I fiddled around with ffmpeg to find out what the problem is and found out that the problem disappears when reencoding video (also with H.264 (!)). When I reencode to H.264 video using this command:
This is the result:
Dropbox - test_h264.ts - Simplify your life
Then that video play fine. So maybe it is somehow related to the encoded video that also affects audio playback?
Here is a Kodi debug log file from playing the problem video:
Can anyone help? Thanks!