ctt1wbw Posted January 29, 2005 Author Report Share Posted January 29, 2005 Okay, I downloaded MPlayer and the newest codecs. Compiled and installed. STILL no audio... Quote Link to comment Share on other sites More sharing options...
Gowator Posted January 29, 2005 Report Share Posted January 29, 2005 which audio output? why not just urmpi gmplayer and the mplayer-alsa or mplayer-arts ? Quote Link to comment Share on other sites More sharing options...
ctt1wbw Posted January 29, 2005 Author Report Share Posted January 29, 2005 I'm using Ubuntu right now. I tried the apt-get mplayer, but's not in the repositories. But after I reinstalled, I get the esd option under the audio tab in the prefs menu... I didn't have that before. Now that I have that option, what audio codec family do I chose? Quote Link to comment Share on other sites More sharing options...
devries Posted January 29, 2005 Report Share Posted January 29, 2005 Esd is not a codec but a sound deamon (software mixer). Just do -ao esd. That should do it. Don't worry about the codecs, you can always download them from the mplayer site. edit: and stay away from gmplayer till everything works. You need the console output to find the errors :) Quote Link to comment Share on other sites More sharing options...
Artificial Intelligence Posted January 29, 2005 Report Share Posted January 29, 2005 You can get mplayer through apt-get. Did you follow the howto ubuntuguide on how to setup the repo.? You could try it and see if iti solved your problem. http://ubuntuguide.org/#extrarepositories http://ubuntuguide.org/ Quote Link to comment Share on other sites More sharing options...
Gowator Posted January 29, 2005 Report Share Posted January 29, 2005 #marillat deb ftp://ftp.nerim.net/debian-marillat/ testing main Quote Link to comment Share on other sites More sharing options...
ctt1wbw Posted January 29, 2005 Author Report Share Posted January 29, 2005 (edited) You can get mplayer through apt-get. Did you follow the howto ubuntuguide on how to setup the repo.? You could try it and see if iti solved your problem. http://ubuntuguide.org/#extrarepositories http://ubuntuguide.org/ <{POST_SNAPBACK}> Let me try that and see what happens. Edited January 29, 2005 by ctt1wbw Quote Link to comment Share on other sites More sharing options...
ctt1wbw Posted January 29, 2005 Author Report Share Posted January 29, 2005 What in the name of all that's holy is going on with MPlayer. I still don't have audio. I managed to get it via apt-get and nothing. I'm going to erase it and start all over again. Quote Link to comment Share on other sites More sharing options...
devries Posted January 29, 2005 Report Share Posted January 29, 2005 Mplayer can play sound in different ways. You can set this with -ao (audio out). Mplayer -ao help tells you what ways are available. This has all nothing to do with codecs. If you compile mplayer you can tell which options (ways) you want build with mplayer. Default most are. Now linux and sound: oss and alsa are the basic building blocks.,, the sound architecture. Oss is old and alsa is new and you need only one. You are using alsa, it works, so don't touch it. It's working fine. Mixing: if your soundcard doesn't do hardware mixing only one application at a time can play sound. That's why software mixers like esd (and arts, dmix) are needed. Mplayer should automatically discover your sound setup (alsa or oss). If that doesn work for whatever reason you can tell t to use alsa to give it the -ao alsa option. If that doesn't work chances are that some other app is keeping the soundcard occupied. That means you should use a mixer (-ao esd). That's it. There is nothing more that you should know to get things working. Just make sure mplayer has these options (-ao help). Got to go now. Good luck. Quote Link to comment Share on other sites More sharing options...
ctt1wbw Posted January 29, 2005 Author Report Share Posted January 29, 2005 Well, I download and installed esd and this made my system sounds activate now. I am understanding what you're trying to tell me, I just can't figure out how to make MPLayer produce audio. Quote Link to comment Share on other sites More sharing options...
ctt1wbw Posted January 29, 2005 Author Report Share Posted January 29, 2005 Oh. My. God. I think I'm on to something. If I launch MPlayer from a custom launcher that I made, MPlayer and the external dock shows up, I get no audio. This is where I've been for the past two weeks. Now for some reason, I can right-click on a show and select play with mplayer, mplayer launches but the external dock doesn't show up, and i get audio. What in the world is going on? Quote Link to comment Share on other sites More sharing options...
Artificial Intelligence Posted January 29, 2005 Report Share Posted January 29, 2005 What does it say if you enter 'gmplayer' in the terminal? Quote Link to comment Share on other sites More sharing options...
ctt1wbw Posted January 29, 2005 Author Report Share Posted January 29, 2005 Same thing, the external MPlayer dock shows up and I get no audio... vewwy vewwy stwange... Quote Link to comment Share on other sites More sharing options...
devries Posted January 30, 2005 Report Share Posted January 30, 2005 It's better to start mplayer from the command line. The errors you get there are quite usefull :). Ok if mplayer gets you sound but no video that is a codec problem. But just to be sure, open a console, type: mplayer -ao alsa (or esd, whatever works) <path to file and name of movie>. Do you hear sound? If yes, go to the mplayer site, download all the codecs and put them in /usr/lib/win32. If you don't have a folder win32 just make one and put the codecs in it. Then try again. Good luck. Quote Link to comment Share on other sites More sharing options...
ctt1wbw Posted January 30, 2005 Author Report Share Posted January 30, 2005 I just downloaded the codecs package all-20050115 and essential-20050115 and put both in the /usr/lib/win32 folder. Still no audio. The only way I can get audio with mplayer is to right click on a file and chose Open With MPlayer. I think the external dock is the culprit. I even went to the command line and typed: root@WaynesWorld:/home/ctt1wbw # cd /home/ctt1wbw/Videos root@WaynesWorld:/home/ctt1wbw/Videos # mplayer -ao esd 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 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 ESD] esd_open_sound failed: Success Could not open/initialize audio device -> no sound. Audio: no sound 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 # mplayer -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 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) Could not open/initialize audio device -> no sound. Audio: no sound 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 # mplayer -ao oss 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 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 Could not open/initialize audio device -> no sound. Audio: no sound 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 # As you can see, I got no audio, even though the external dock did not appear. Should I let MPLayer's site know about this or what? 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.