View previous topic :: View next topic |
Author |
Message |
as.gentoo Guru
Joined: 07 Aug 2004 Posts: 319
|
Posted: Fri Mar 30, 2012 3:04 pm Post subject: mplayer complains about audio-device hang |
|
|
Hi,
when playing an audio file with mplayer or use -novideo on videos mplayer complains that the audio device has hang-up.
Sound plays flawlessly, I use pulseaudio as output.
Here is an example:
Code: | $ mplayer whatever.wav
MPlayer SVN-r34709 (Gentoo)-4.5.3 (C) 2000-2012 MPlayer Team
MMX2 supported but disabled
Spiele whatever.wav.
libavformat version 53.32.100 (external)
Audio only-Dateiformat erkannt!
Load subtitles in ./
==========================================================================
Öffne Audiodecoder: [pcm] Uncompressed PCM audio decoder
AUDIO: 22050 Hz, 2 ch, floatle, 1411.2 kbit/100.00% (ratio: 176400->176400)
Ausgewählter Audiocodec: [pcm] afm: pcm (Uncompressed PCM)
==========================================================================
AO: [pulse] 22050Hz 2ch floatle (4 bytes per sample)
Video: kein Video
Starte Wiedergabe...
A: 0.0 (00.0) of 366.0 (06:06.0) ??,?%
---
Audio-Device hat sich aufgehängt! == audio-device hang-up (itself)
A: 0.2 (00.1) of 366.0 (06:06.0) 0.0%
Audio-Device hat sich aufgehängt!
A: 0.3 (00.3) of 366.0 (06:06.0) 0.0%
Audio-Device hat sich aufgehängt!
A: 0.5 (00.5) of 366.0 (06:06.0) 0.0%
Audio-Device hat sich aufgehängt!
A: 0.7 (00.6) of 366.0 (06:06.0) 0.1%
Audio-Device hat sich aufgehängt!
A: 0.9 (00.8) of 366.0 (06:06.0) 0.1%
Audio-Device hat sich aufgehängt!
A: 1.1 (01.0) of 366.0 (06:06.0) 0.0%
MPlayer wurde durch Signal 2 im Modul play_audio unterbrochen.
Audio-Device hat sich aufgehängt!
A: 1.2 (01.1) of 366.0 (06:06.0) 0.0%
Beenden... (Ende)
$ |
Ok, I could just ignore that and set -really-quiet - which I usually do now - but when I play webradio the title of the song which is played is not shown.
my mplayer "setting"
Code: | [ebuild R ] media-video/mplayer-1.0_rc4_p20120213 USE="X a52 alsa ass cdio directfb dts dv dvd dvdnav enca encode faad fbcon ggi iconv mad md5sum mmx network opengl osdmenu png pulseaudio quicktime real rtc sdl shm sse sse2 ssse3 theora truetype unicode v4l vorbis xinerama xv xvid -3dnow -3dnowext -aalib (-altivec) (-aqua) -bidi -bindist -bl -bluray -bs2b -cddb -cdparanoia -cpudetection -debug -dga -doc -dvb -dxr3 -faac -ftp -gif -gsm -ipv6 -jack -joystick -jpeg -jpeg2k -ladspa -libcaca -libmpeg2 -lirc -live -lzo -mmxext -mng -mp3 -nas -nut -openal -oss -pnm -pvr -radio -rar -rtmp -samba -speex -tga -toolame -tremor -twolame -vdpau (-vidix) (-win32codecs) -x264 -xanim -xscreensaver -xvmc -zoran" VIDEO_CARDS="-mga -s3virge -tdfx" 0 kB |
Code: | $ cat ~/.mplayer/config
[default]
# Write your default config options here!
vo=xv
ao=pulse
vf=dsize=-3:650
[gnome-mplayer]
msglevel=all=5
alang=German,ger,de
slang=German,ger,de
vo=xv
ao=pulse
vf=eq2
[protocol.dvd]
profile-desc="Profil für dvd://-Streams"
vf=pp=hb/vb/dr/al/fd
alang=de
ao=alsa
ac=hwac3
nosub=1 |
ffplay and play (sox) do not complain.
What's wrong here? |
|
Back to top |
|
|
Ant P. Watchman
Joined: 18 Apr 2009 Posts: 6920
|
Posted: Fri Mar 30, 2012 3:25 pm Post subject: |
|
|
That's a bug in mplayer, fixed upstream a month ago. The ebuild needs a version bump. |
|
Back to top |
|
|
as.gentoo Guru
Joined: 07 Aug 2004 Posts: 319
|
|
Back to top |
|
|
|
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum
|
|