devries Posted January 30, 2005 Report Share Posted January 30, 2005 You could try but they have a bit of a temper :) Anyway, esd isn't working, I still see oss for whatever reason and not alsa. Can you do mplayer -ao help again and see if alsa is listed? And try mplayer --disable-esd -ao alsa <XXXXX> Quote Link to comment Share on other sites More sharing options...
ctt1wbw Posted January 30, 2005 Author Report Share Posted January 30, 2005 Sure: root@WaynesWorld:/home/ctt1wbw # mplayer -ao help MPlayer 1.0pre6-3.3.4 © 2000-2004 MPlayer Team CPU: Intel Pentium M Banias (Family: 6, Stepping: 5) Detected cache-line size is 64 bytes CPUflags: MMX: 1 MMX2: 1 3DNow: 0 3DNow2: 0 SSE: 1 SSE2: 1 Compiled for x86 CPU with extensions: MMX MMX2 SSE SSE2 Available audio output drivers: mpegpes DVB audio output oss OSS/ioctl audio output esd EsounD audio output null Null audio output pcm RAW PCM/WAVE file writer audio output plugin Plugin audio output root@WaynesWorld:/home/ctt1wbw # ALSA is not listed for whatever reason. And then: root@WaynesWorld:/home/ctt1wbw/Videos # mplayer --disable-esd -ao alsa BattlestarGalactica1x12.avi MPlayer 1.0pre6-3.3.4 © 2000-2004 MPlayer Team CPU: Intel Pentium M Banias (Family: 6, Stepping: 5) Detected cache-line size is 64 bytes CPUflags: MMX: 1 MMX2: 1 3DNow: 0 3DNow2: 0 SSE: 1 SSE2: 1 Compiled for x86 CPU with extensions: MMX MMX2 SSE SSE2 77 audio & 188 video codecs Failed to open /dev/rtc: No such file or directory (it should be readable by the user.) Playing -ao. File not found: '-ao' Failed to open -ao Playing alsa. File not found: 'alsa' Failed to open alsa Playing BattlestarGalactica1x12.avi. AVI file format detected. VIDEO: [XVID] 640x368 24bpp 25.000 fps 1036.6 kbps (126.5 kbyte/s) Clip info: Software: transcode-0.6.14 ========================================================================== Opening audio decoder: [mp3lib] MPEG layer-2, layer-3 AUDIO: 48000 Hz, 2 ch, 16 bit (0x10), ratio: 16000->192000 (128.0 kbit) Selected audio codec: [mp3] afm:mp3lib (mp3lib MPEG layer-2, layer-3) ========================================================================== vo: X11 running at 1280x800 with depth 24 and 32 bpp (":0.0" => local display) ========================================================================== Opening video decoder: [ffmpeg] FFmpeg's libavcodec codec family Selected video codec: [ffodivx] vfm:ffmpeg (FFmpeg MPEG-4) ========================================================================== Checking audio filter chain for 48000Hz/2ch/16bit -> 48000Hz/2ch/16bit... AF_pre: af format: 2 bps, 2 ch, 48000 hz, little endian signed int AF_pre: 48000Hz 2ch Signed 16-bit (Little-Endian) [AO OSS] audio_setup: Can't open audio device /dev/dsp: No such file or directory [AO ESD] esd_open_sound failed: No such file or directory AO: [null] 48000Hz 2ch Signed 16-bit (Little-Endian) (2 bps) Building audio filter chain for 48000Hz/2ch/16bit -> 48000Hz/2ch/16bit... Starting playback... VDec: vo config request - 640 x 368 (preferred csp: Planar YV12) VDec: using Planar YV12 as output csp (no 0) Movie-Aspect is 1.74:1 - prescaling to correct movie aspect. VO: [xv] 640x368 => 640x368 Planar YV12 root@WaynesWorld:/home/ctt1wbw/Videos # 130/130 13% 1% 2.5% 3 0 Still no audio... I guess it's not working because ALSA is not installed? Quote Link to comment Share on other sites More sharing options...
ctt1wbw Posted January 30, 2005 Author Report Share Posted January 30, 2005 Okay, I'm getting somewhere! Diego from Mplayer's website told me to type: modprobe snd-pcm-oss as root and I did and voila! Baby it works! But it only works if I type that as root, if I launch MPlayer it won't work again. Now I need to figure out what alsa dev packages I need... Quote Link to comment Share on other sites More sharing options...
devries Posted January 30, 2005 Report Share Posted January 30, 2005 Alsa output is not build in. Esd is so we need to work with that. Try starting mplayer with: esddsp mplayer <name of movie> Quote Link to comment Share on other sites More sharing options...
ctt1wbw Posted January 30, 2005 Author Report Share Posted January 30, 2005 Holy crap, IT WORKS!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! I downloaded and installed alsa-oss and then recomplied MPLayer and IT WORKS!!!!!!!!!!!!!!!!!!!!!!!!!!! Holy crap, there IS a God!!!!!!!!!!!!!!!!!!!!!!!!!! Thanks!!!!! Quote Link to comment Share on other sites More sharing options...
bvc Posted January 30, 2005 Report Share Posted January 30, 2005 when you stop esd it is not really stopped....it's still holding on to the device. That's the reason for the first page of this thread. You have to killall esd b4 alsa can have the device. I can use mplayer with alsa. Quote Link to comment Share on other sites More sharing options...
devries Posted January 30, 2005 Report Share Posted January 30, 2005 Good :D The problem was I think that the alsa -ao option wasn't build for whatever reason and that mplayer and esd don't work nice together. So the solution is to use oss emulation. Thanks for the nice puzzle this weekend :D. Quote Link to comment Share on other sites More sharing options...
ctt1wbw Posted January 30, 2005 Author Report Share Posted January 30, 2005 You're quite welcome. :) Quote Link to comment Share on other sites More sharing options...
Artificial Intelligence Posted January 30, 2005 Report Share Posted January 30, 2005 Congrats! ctt1wbw This is not a bad place to come to solve problems! Quote Link to comment Share on other sites More sharing options...
ctt1wbw Posted January 31, 2005 Author Report Share Posted January 31, 2005 You got that right my friend!!! Thanks to you and all involved!! Quote Link to comment Share on other sites More sharing options...
Guest interman Posted February 10, 2005 Report Share Posted February 10, 2005 try this mplayer -ao oss dvd://1 its ets the audio-output device (default: /dev/dsp). Quote Link to comment Share on other sites More sharing options...
Guest settermj Posted April 23, 2005 Report Share Posted April 23, 2005 Try with disabling esd (google says there are problem with mplayer and esd): mplayer --disable-esd <moviename>. Or make sure you build it with esd support. <{POST_SNAPBACK}> I'm not a big audio nut, so I'm not sure why the --disable-esd worked, but I just want 2 say that it did an I'm very happy for the fact. Thanks kindly for your notes. Matt Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.