xbianonpi / xbian

XBMC on Raspberry Pi, Bleeding Edge
https://xbian.org
GNU General Public License v3.0
294 stars 44 forks source link

Analog TV with stereo speakers not able to play videos with surround sound #690

Closed mcteo closed 7 years ago

mcteo commented 9 years ago

I have been having some trouble playing certain movies. With certain videos play, the audio just comes out like white noise. The TV is an older CRT model, so I need to use a composite cable -> scart, which I think is part of the problem.

I looked at the codec information, using VLC on my computer, and noticed that all files with the problem had some type of surround sound. I used ffmpeg to mix the audio channels to stereo, and it then works fine. To be honest, I'm not really sure what I was doing with ffmpeg, so I just used the simple "ffmpeg -i input.mkv -c:v copy -ac 2 output.mkv", but this reencodes the audio completely from ac3 to vorbis, which could be the fix either.

Is there any way to remove the need to do this for every movie/tv show?

mcteo commented 7 years ago

It's been a while, but I think the issue turned out to be that the TV only supported 2 audio channels, and we had 5.1 channels/surround sound selected in the XBMC settings. Changing this to stereo audio made everything place nicely.