I don't know why no one brought up MPlayer. Why not wolfi and Ben? :) Seriously, though. The MPlayer that comes with SuSE 8.1 is crap since it is not optimized for anything recent (remember, SuSE optimizes for i586) and doesn't support much. SHORT ANSWER: Download and install my RPMs of MPlayer and w32codecs from SF.net: https://sourceforge.net/project/showfiles.php?group_id=28610 semi-direct links: http://prdownloads.sourceforge.net/suserpm/MPlayer-0.90pre10-2.i686.rpm?down... http://prdownloads.sourceforge.net/suserpm/w32codecs-0.90-1.i686.rpm?downloa... Open up a file in gmplayer and you should be able to run just about any WMV file. LONG ANSWER: I wish you got more specific Thayer: what exact kind of WMV file? What MS video format? WMV7 or WMV8? What audio? MS WMV7 is just DivX 3.x, which plays fine with the stock MPlayer source (via ffmpeg). WMV8, however, has not been reverse-engineered. WMA v1, v2 decoding was actually put into ffmpeg (and thusly integrated into MPlayer) on October 29 [http://mplayerhq.hu/homepage/], and no workaround is needed. Hell, Sorenson v3 should playable within the next couple of releases. You'll finally be able to watch those Quicktime trailers natively in Linux! What about everything else? e.g., WMA8... what about when WMV9 comes out soon? The only way around that (reverse engineering would take too damn long) is to use the Win32 codecs found on a Windows installation. MPlayer does this, and that's why you need the second RPM. It contains codecs for everything that MPlayer cannot support natively (e.g., WMV8). Check this out:
mplayer my_file.asf Using GNU internationalization Original domain: messages Original dirname: /usr/share/locale Current domain: mplayer Current dirname: /usr/share/locale
MPlayer 0.90pre10-3.2 (C) 2000-2002 Arpad Gereoffy (see DOCS) CPU: Advanced Micro Devices Athlon 4 PM Palomino/Athlon MP Multiprocessor/Athlon XP eXtreme Performance (Family: 6, Stepping: 2) CPUflags: MMX: 1 MMX2: 1 3DNow: 1 3DNow2: 1 SSE: 1 SSE2: 0 Compiled for x86 CPU with extensions: MMX MMX2 3DNow 3DNowEx SSE Reading /home/noodlez/.mplayer/codecs.conf: can't open '/home/noodlez/.mplayer/codecs.conf': No such file or directory Reading /etc/codecs.conf: 44 audio & 110 video codecs init_freetype Using usleep() timing Can't open input config file /home/noodlez/.mplayer/input.conf : No such file or directory Can't open input config file /etc/input.conf : No such file or directory Falling back on default (hardcoded) input config Setting up lirc support... mplayer: could not connect to socket mplayer: Permission denied Failed opening lirc support! You won't be able to use your remote control Playing Tatu-what_we_were_doing_in_USA.asf Detected ASF file format! ============ ASF Stream group == START === object size = 50 stream count=[0x4][4] stream id=[0x1][1] max bitrate=[0x431f][17183] stream id=[0x2][2] max bitrate=[0x46fe][18174] stream id=[0x3][3] max bitrate=[0x13876][79990] stream id=[0x4][4] max bitrate=[0x3271e][206622] ============ ASF Stream group == END === VIDEO: [WMV1] 240x180 24bpp Clip info: name: Q&A_WhatWereDoingInUS author: T.A.T.U. copyright: ©2002 Interscope Records comments: ========================================================================== Opening audio decoder: [ffmpeg] FFmpeg/libavcodec audio decoders AUDIO: 22050 Hz, 1 ch, 16 bit (0x10), ratio: 2003->44100 (16.0 kbit) 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) ========================================================================== Opening video decoder: [ffmpeg] FFmpeg's libavcodec codec family Selected video codec: [ffwmv1] vfm:ffmpeg (FFmpeg M$ WMV1/WMV7) ========================================================================== alsa-init: testing and bugreports are welcome. alsa-init: requested format: 22050 Hz, 2 channels, Signed 16-bit (Little-Endian) alsa-init: 1 soundcard found, using: hw:0,0 alsa9: 22050 Hz/2 channels/4 bpf/16384 bytes buffer/Signed 16 bit Little Endian AO: [alsa9] 22050Hz 1ch Signed 16-bit (Little-Endian) Building audio filter chain for 22050Hz/1ch/16bit -> 22050Hz/2ch/16bit... Start playing... VDec: vo config request - 240 x 180 (preferred csp: Planar YV12) VDec: using Planar YV12 as output csp (no 0) Movie-Aspect is undefined - no prescaling applied. VO: [xv] 240x180 => 240x180 Planar YV12 A: 18.2 V: 18.3 A-V: -0.068 ct: -0.070 363/363 1% 0% 0.4% 0 0 0% MPlayer interrupted by signal 2 in module: sleep_usleep alsa-uninit: pcm closed
.... if you look at the output, this file is 100%, pure, home-bred Microsoft. WMAv7 audio and WMVv7 video. Plays fine... Damn this email is long... On Wednesday 13 November 2002 16:40, J. Scott Thayer, M.D. wrote:
Is there any app that plays .wmv files in LInux? TNX
--
Karol Pietrzak