Sound problems with mpg123 OMX and VLC Debian wheezy


4 posts
by charlelie » Wed Jun 27, 2012 11:20 pm
Hi

I'm using Debian 2012-06-18-wheezy-beta with and DVI monitor. I have headphones connected.

If I play a MP3 with mpg123 or VLC, there are "glitches", scratches, while playing the sound.

mpg123 outputs this

MPEG 1.0 layer III, 320 kbit/s, 44100 Hz joint-stereo
Title: Someone Like You Artist: Adele
Comment: Album: 21
Year: 2011 Genre: Pop


After, if I try to play the same MP3 with OMXPlayer, it outputs this

[mp3 @ 0x1399720] max_analyze_duration reached
[mp3 @ 0x1399720] Estimating duration from bitrate, this may be inaccurate
file : Desktop/11%20Adele%20-%20Someone%20Like%20You.mp3 reult 0 format mp3 audio streams 1 video streams 0 chapters 0 subtitles 0
Audio codec mp3 channels 2 samplerate 44100 bitspersample 16


And there is no sound.

And after (a try with OMXPlayer), if I try to play again the MP3 with mpg123, there is nothing in headphones and mpg123 displays nothing as output. With VLC, there is nothing in headphones too and it hangs.


In addition, I have never heard sound from OMXPlayer.
I tried this movie : http://www.digital-digest.com/movies/Te ... ailer.html

The video is playing but without sound.
I tried the following commands, but nothing changed.

Code: Select all
sudo modprobe snd_bcm2835
sudo amixer cset numid=3 1


Do you have any ideas ?
Thank you very much
Posts: 7
Joined: Tue Jun 26, 2012 3:54 pm
Location: France
by charlelie » Wed Jun 27, 2012 11:39 pm
Debian is up to date with apt-get update and upgrade, along with rpi-update. I'm in 128/128 memory configuration.

Audio out seems stuck after
- playing the mp3 with OMX
- playing the H264 with -o local (so there is no video output in this case)

And there is the next line in dmesg

vcos: [1734]: bcm2835_audio_close:702 bcm2835_audio_close: failed on waiting for event (status=10)


It's not stuck after playing the H264 with -o hdmi.
Posts: 7
Joined: Tue Jun 26, 2012 3:54 pm
Location: France
by ratherDashing » Thu Jun 28, 2012 12:15 pm
https://github.com/raspberrypi/firmware/issues/57

I had previously opened this issue in github if you want to add anything.
Posts: 39
Joined: Tue Jun 05, 2012 3:00 am
by KeithHedger » Thu Jan 10, 2013 4:33 pm
I found omxplayer to be very flakey with sound some videos would produce some would not but if I use the -o option they all play fine ie
Code: Select all
omxplayer -o hdmi /path/to/video
Posts: 1
Joined: Thu Jan 10, 2013 3:51 pm