I try to play mp3 files with mpg321, mpg123 and omxplayer with hdmi works fine, but with the analog audio jack doesn't work I have installed alsa-tools and alsamixergui
I set the audio jack output:
sudo modprobe snd_bcm2835
sudo amixer cset numid=3 1
I test the speakers with
speaker-test -t sine -f 600
and works well, I can hear the sound, but when I try to play an mp3 file with :
omxplayer bubbling_water_1.mp3
mpg321 bubbling_water_1.mp3
not hear any sound at all, the same mp3 file play ok with hdmi output
sudo amixer cset numid=3 0
or
sudo amixer cset numid=3 2
but nothing happens on analog jack output any help ?
I noticed this same problem. I haven't found a permanent solution yet, but what works for me is the following:
omxplayer -o local file.mp3
The audio comes out over HDMI, by the way, and the -o local flag forces it to line-out (local).
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With