Kenny Gow wrote: > C.Beamer wrote: > >> Kenny Gow wrote: >> I had no success installing the codecs packages from livna when I >> tried. However, I *did* get the w32codec package from atrpms and that >> didn't help any. I tried downloading the package from the xine site. >> This was older than the atrpms package that I got, but I removed the >> newer package and installed the older package, just in case it would >> work. No luck. >> >> So I'm still at square 1 1/2. But thanks for trying! :-) >> >> > I'm not giving up that easily. What I did to figure out what codec > the CNN videos wanted was copy down that URL you see when you get the > audio but no video, and run it from a command line like this, > > mplayer > mms://wmscnn.stream.aol.com/cnn/nitn/2005/07/08/nitn.edition.12.cnn.ws.wmv > > > If you run that command (it's one line) in a terminal, it will show > you what codec it's trying to use and whether it finds it. Could you > try running that and posting the output? > > Also, what's in your /usr/lib/win32 directory? From all you've > described with the codecs, it ought to have the right codecs. Okay, here we go: #1 I ran your command from above with the appropriate substitution for the url. I did this as 'root' and the output is as displayed below. I also ran it as user "colleen", but the output was a bunch of garbage - it said that mplayer couldn't be found and mplayer (the executable is definitely in my path. Anyway, the output as 'root': mplayer mms://wmscnn.stream.aol.com/cnn/world/2005/07/09/obrien.italy.show.of.support.reut.ws.wmv MPlayer 1.0pre7-4.0.0 (C) 2000-2005 MPlayer Team CPU: Intel Pentium 4/Xeon/Celeron Foster (Family: 8, Stepping: 9) Detected cache-line size is 64 bytes CPUflags: MMX: 1 MMX2: 1 3DNow: 0 3DNow2: 0 SSE: 1 SSE2: 1 Creating config file: /root/.mplayer/config Opening joystick device /dev/input/js0 Setting up LIRC support... mplayer: could not connect to socket mplayer: No such file or directory Failed to open LIRC support. You will not be able to use your remote control. Playing mms://wmscnn.stream.aol.com/cnn/world/2005/07/09/obrien.italy.show.of.support.reut.ws.wmv. Resolving wmscnn.stream.aol.com for AF_INET6... Couldn't resolve name for AF_INET6: wmscnn.stream.aol.com Resolving wmscnn.stream.aol.com for AF_INET... Connecting to server wmscnn.stream.aol.com[64.236.99.4]:1755 ... connected unknown object file object, packet length = 5000 (5000) unknown object unknown object unknown object stream object, stream id: 1 stream object, stream id: 2 unknown object data object mmst packet_length = 5000 Cache size set to 8192 KBytes Connected to server: wmscnn.stream.aol.com Cache fill: 19.92% (1671168 bytes) ASF file format detected. VIDEO: [WMV3] 464x260 24bpp 1000.000 fps 0.0 kbps ( 0.0 kbyte/s) Clip info: name: obrien.italy.show.of.support.reut author: CNN copyright: Copyright (c) 2005 Cable News Network LP, LLLP comments: ========================================================================== Opening audio decoder: [ffmpeg] FFmpeg/libavcodec audio decoders AUDIO: 44100 Hz, 1 ch, s16le, 32.0 kbit/4.54% (ratio: 4003->88200) Selected audio codec: [ffwmav2] afm:ffmpeg (DivX audio v2 (FFmpeg)) ========================================================================== vo: X11 running at 1280x1024 with depth 24 and 32 bpp (":0.0" => local display) Xv: could not grab port 69 Could not find free Xvideo port - maybe another process is already using it. Close all video applications, and try again. If that does not help, see 'mplayer -vo help' for other (non-xv) video out drivers. ========================================================================== Opening video decoder: [dmo] DMO video codecs Win32 LoadLibrary failed to load: wmv9dmod.dll, /usr/lib/win32/wmv9dmod.dll, /usr/local/lib/win32/wmv9dmod.dll IMediaObject ERROR: 0x84ec5c9 could not open DMO DLL (0x0 : 0) Failed to create DMO filter ERROR: Could not open required DirectShow codec wmv9dmod.dll. You need to upgrade/install the binary codecs package. Go to http://mplayerhq.hu/homepage/dload.html VDecoder init failed :( Opening video decoder: [dmo] DMO video codecs Win32 LoadLibrary failed to load: wmvdmod.dll, /usr/lib/win32/wmvdmod.dll, /usr/local/lib/win32/wmvdmod.dll IMediaObject ERROR: 0x84ec5c9 could not open DMO DLL (0x0 : 0) Failed to create DMO filter ERROR: Could not open required DirectShow codec wmvdmod.dll. You need to upgrade/install the binary codecs package. Go to http://mplayerhq.hu/homepage/dload.html VDecoder init failed :( Cannot find codec matching selected -vo and video format 0x33564D57. Read DOCS/HTML/en/codecs.html! ========================================================================== Checking audio filter chain for 44100Hz/1ch/s16le -> 44100Hz/2ch/s16le... AF_pre: 44100Hz/1ch/s16le [AO OSS] audio_setup: Can't open audio device /dev/dsp: Device or resource busy alsa-init: 1 soundcard found, using: default alsa: 44100 Hz/2 channels/4 bpf/60208 bytes buffer/Signed 16 bit Little Endian AO: [alsa] 44100Hz 2ch s16le (2 bps) Building audio filter chain for 44100Hz/1ch/s16le -> 44100Hz/2ch/s16le... Video: no video Starting playback... everything done. Thank you for downloading a media file containing proprietary and patentend technology. A: 95.0 (01:34.9) 0.6% 0% alsa-uninit: pcm closed Exiting... (End of file) #2 A bit of further information. Like I said, if I open a wmv file from within media player, it works. However, the only way it works is with the following settings: audio: aRts video: X11, gl, gl2 Any of the above settings for video work, if I use any other setting for video from within Mplayer, I get sound, but no video. However, even when I do get video to display (i.e. my video setting is gl2, for example, the video plays in Mplayer, but this message displays: "ERROR: Could not open required DirectShow codec " In response to your final question, /usr/lib/win32 contains the sym link as follows: codecs -> /usr/local/lib/codecs And there *is* a 'wmvdmod.dll' and a 'wmv9dmod.dll' file in /usr/local/lib/codecs. Regards, Colleen