LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Software (https://www.linuxquestions.org/questions/linux-software-2/)
-   -   Playing WMV3 files in mplayer? (https://www.linuxquestions.org/questions/linux-software-2/playing-wmv3-files-in-mplayer-233232/)

garnser 09-21-2004 01:38 AM

Windows Media Video 9 VCM for linux (WMV3 in mplayer?)
 
It seems like mplayer think's that it is supposed to run with the ffmpeg codec for wmv3 though it acctually is supposed to run with the Windows Media Video 9 VCM codec, does anyone know if it is able to get this codec for linux?


AVI file format detected.
VIDEO: [WMV3] 640x480 24bpp 23.98 fps 1020.8 kbps (124.6 kbyte/s)
==========================================================================
Opening audio decoder: [mp3lib] MPEG layer-2, layer-3
MP3lib: init layer2&3 finished, tables done
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)
==========================================================================
open: Permission denied
vo_mga: Couldn't open /dev/mga_vid
open: Permission denied
vo_mga: Couldn't open /dev/mga_vid
vo: X11 running at 1280x1024 with depth 24 and 32 bpp (":0.0" => local display)
==========================================================================
Requested video codec family [wmv9dmo] (vfm=dmo) not available (enable it at compilation)
Requested video codec family [wmvdmo] (vfm=dmo) not available (enable it at compilation)
*** Try to upgrade /home/garnser/.mplayer/codecs.conf from etc/codecs.conf
*** If it still does not work, read DOCS/codecs.html!
Cannot find codec matching selected -vo and video format 0x33564D57.
==========================================================================
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] 48000Hz 2ch Signed 16-bit (Little-Endian) (2 bps)
Building audio filter chain for 48000Hz/2ch/16bit -> 48000Hz/2ch/16bit...
Video: no video
Starting playback...
:confused:

reddazz 09-21-2004 03:00 AM

Are you using the win32 codecs from MPlayers website? If not try using them. I had a problem playing some MS video files and installing the codecs from the MPlayer site solved my problem.

garnser 09-21-2004 03:51 AM

updated above

crab.cz 05-22-2006 05:27 PM

mplayer
 
Quote:

Originally Posted by Mplayer documentation
Win32 codecs: If you plan to use MPlayer on x86 architecture, you will possibly need them. Download a codec package from our codecs page and put the codecs in /usr/local/lib/codecs BEFORE compiling MPlayer, otherwise no Win32 support will be compiled!
Note

The avifile project has similar codecs package, but it differs from ours, so if you want to use all supported codecs, then use our package (do not worry, avifile works with it without problems).

Features:

* you need this if you want to play or encode for example movies recorded with various hardware compressors, like tuner cards, digital cameras (example: DV, ATI VCR, MJPEG)
* needed if you want to play WMV9/WMA9 movies.
* Not needed for old ASF's with MP41 or MP42 video (though VoxWare audio is frequent for these files - it's done by the Win32 codec), or WMV7. Also not needed for WMA (Windows Media Audio), libavcodec has open source decoder for that.

Note the bold "BEFORE". Try to recompile Mplayer, but putting the codecs in corresponding directory first.

(would have posted the codec url, but have to make some posts first :-))

drkstr 05-22-2006 05:57 PM

crab.cz, welcome to LQ. Giving good advice is a heck of a way to start here :)

crab.cz is right, you need to download the "all-codec" package from mplayer: all-20060501.tar.bz2 and extract to '/usr/local/lib/codecs' Once these are in the right place, compile and install.

regards,
...drkstr

**edit**
I think the codec package may extract to a sub-directory, you need to make sure all of the codec files are in the parent folder of '/usr/local/lib/codecs'
**edit**


All times are GMT -5. The time now is 07:48 PM.