huceke / omxplayer

omxplayer
GNU General Public License v2.0
522 stars 501 forks source link

distorted audio when playing some video files with aac or mp3 audio #273

Closed akosmaroy closed 8 years ago

akosmaroy commented 8 years ago

Hi,

I'm getting distorted audio when playing some video files on an Raspberry Pi. This is when playing on an HDMI output, with the command line:

omxplayer -b -p -o hdmi  *.mkv

Other files play just fine. I wonder what is wrong.

for example, output when the audio is wrong:

omxplayer -b -p -o hdmi  *.mp4
Video codec omx-h264 width 1920 height 808 profile 100 fps 23.976025
Audio codec aac channels 2 samplerate 48000 bitspersample 16
Subtitle count: 0, state: off, index: 1, delay: 0
V:PortSettingsChanged: 1920x808@23.98 interlace:0 deinterlace:0 anaglyph:0 par:1.00 display:0 layer:0 alpha:255 aspectMode:0

the problem seems to persists when having aac audio, or mp3 audio, but not with ac3 passthrough...

akosmaroy commented 8 years ago

disregard, of course with the -p / passthrough option, the audio will be bad