Quantcast
Channel: Raspberry Pi Forums
Viewing all articles
Browse latest Browse all 5369

Media centres • Re: Peppy player

$
0
0
I tried with the simple .asoundrc file and still no sound. See my earlier update about using the command "sudo mplayer filename" to play mp3 files.

Playing music file using 'sudo mplayer filename' output:
pi@raspberrypi:~/music $ sudo mplayer '05_Ave Maria.mp3'
MPlayer UNKNOWN-12 (C) 2000-2023 MPlayer Team

Playing 05_Ave Maria.mp3.
libavformat version 59.27.100 (external)
Audio only file format detected.
Clip info:
Title: Ave Maria
Artist: Andre Rieu
Album: Andre Rieu In Concert
Year: 1996
Comment:
Track: 5
Genre: Classical
Load subtitles in ./
==========================================================================
Opening audio decoder: [mpg123] MPEG 1.0/2.0/2.5 layers I, II, III
AUDIO: 44100 Hz, 2 ch, s16le, 256.0 kbit/18.14% (ratio: 32000->176400)
Selected audio codec: [mpg123] afm: mpg123 (MPEG 1.0/2.0/2.5 layers I, II, III)
==========================================================================
AO: [pulse] Init failed: Connection refused
Failed to initialize audio driver 'pulse'
AO: [alsa] 48000Hz 2ch s16le (2 bytes per sample)
Video: no video
Starting playback...
A: 3.8 (03.7) of 297.0 (04:57.0) 2.0%


MPlayer interrupted by signal 2 in module: play_audio
A: 3.9 (03.8) of 297.0 (04:57.0) 2.0%

Exiting... (Quit)

Playing the same file without using 'sudo':
pi@raspberrypi:~/music $ mplayer '05_Ave Maria.mp3'
MPlayer UNKNOWN-12 (C) 2000-2023 MPlayer Team

Playing 05_Ave Maria.mp3.
libavformat version 59.27.100 (external)
Audio only file format detected.
Clip info:
Title: Ave Maria
Artist: Andre Rieu
Album: Andre Rieu In Concert
Year: 1996
Comment:
Track: 5
Genre: Classical
Load subtitles in ./
==========================================================================
Opening audio decoder: [mpg123] MPEG 1.0/2.0/2.5 layers I, II, III
AUDIO: 44100 Hz, 2 ch, s16le, 256.0 kbit/18.14% (ratio: 32000->176400)
Selected audio codec: [mpg123] afm: mpg123 (MPEG 1.0/2.0/2.5 layers I, II, III)
==========================================================================
AO: [pulse] Init failed: Connection refused
Failed to initialize audio driver 'pulse'
[AO_ALSA] alsa-lib: pcm_hw.c:392:(snd_pcm_hw_hw_params) SNDRV_PCM_IOCTL_HW_PARAMS failed (-22): Invalid argument
[AO_ALSA] Unable to set hw-parameters: Invalid argument
Failed to initialize audio driver 'alsa'
[AO SDL] Samplerate: 44100Hz Channels: Stereo Format s16le
[AO SDL] using aalib audio driver.
[AO SDL] Unable to open audio: No available audio device
Failed to initialize audio driver 'sdl:aalib'
Could not open/initialize audio device -> no sound.
Audio: no sound
Video: no video


Exiting... (End of file)

Statistics: Posted by y2kats65 — Sun May 26, 2024 3:49 am



Viewing all articles
Browse latest Browse all 5369

Trending Articles