[MPlayer-users] mplayer and Windows Media DRM

Andrew Pimlott andrew at pimlott.net
Wed May 18 20:36:33 CEST 2005

This is a beginner question, but I can't find any clear answer anywhere.
I downloaded a Windows Media Video 9 file from movielink.com, which uses
some kind of Digital Restrictions Management.  Is there any way to make
mplayer play it?  If not, could mplayer pop up a message saying it can't
play it (and why), instead of displaying garbage?

Here's what I did:  I installed mplayer, using the mplayer-586 and
w32codecs Debian packages from ftp://ftp.nerim.net/debian-marillat/.  It
plays non-protected wmv files.  When I tried playing the DRM-ed movie, I
got the messages at the end.  Also, using strace, it appears that
/usr/lib/win32/wmv9dmod.dll was loaded.  The video window did not at all
resemble the actual video contents, but it wasn't static--there were
slighly coherent blotches of color moving around.  There was no sound.

The file is within its playable period.  I can open it directly with
Windows Media Player (ie, not using MovieLink's software) with no

Again, my question is very basic:  Is this the expected situation?  If
we can already use the video codecs from Windows, what else from Windows
is necessary for DRM?  Any hope for improvement in the near future?
Thanks for your help.


MPlayer 1.0pre7-3.3.5 (C) 2000-2005 MPlayer Team
CPU: Intel Pentium M Banias (Family: 6, Stepping: 5)
Detected cache-line size is 64 bytes
MMX2 supported but disabled
SSE2 supported but disabled
CPUflags:  MMX: 1 MMX2: 0 3DNow: 0 3DNow2: 0 SSE: 1 SSE2: 0
Compiled for x86 CPU with extensions: MMX SSE

Failed to open /dev/rtc: Permission denied (it should be readable by the user.)
Opening joystick device /dev/input/js0
Can't open joystick device /dev/input/js0 : Permission denied
Can't init input joystick
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 AsGoodAsItGets_1997.wmv.
Cache fill:  0.00% (0 bytes)    ASF file format detected.
VIDEO:  [WMV3]  448x336  24bpp  1000.000 fps    0.0 kbps ( 0.0 kbyte/s)
Clip info:
 name: As Good As It Gets
 author: Tri-Star Pictures
 copyright: ? 1997 TriStar Pictures, Inc.  All Rights Reserved.
 comments: This Academy Award?-winning (best actor Jack Nicholson, best actress Helen Hunt) offbeat comedy celebrates the unique bond between three very different characters. Also stars Greg Kinnear.
Trying to force audio codec driver family libmad...
Opening audio decoder: [ffmpeg] FFmpeg/libavcodec audio decoders
AUDIO: 48000 Hz, 2 ch, s16le, 64.0 kbit/4.17% (ratio: 8002->192000)
Selected audio codec: [ffwmav2] afm:ffmpeg (DivX audio v2 (FFmpeg))
vo: X11 running at 1024x768 with depth 24 and 32 bpp (":0.0" => local display)
Opening video decoder: [dmo] DMO video codecs
DMO dll supports VO Optimizations 0 1
DMO dll might use previous sample when requested
GetOutput r=0x0   size:451584  align:1
StreamCount r=0x0  1  1
Decoder supports the following YUV formats: YV12 YUY2 UYVY YVYU      
Decoder is capable of YUV output (flags 0x1b)
VDec: vo config request - 448 x 336 (preferred csp: Packed YUY2)
VDec: using BGRA as output csp (no 3)
Movie-Aspect is undefined - no prescaling applied.
VO: [x11] 448x336 => 448x336 BGRA 
SwScaler: using unscaled BGRA -> BGRA special converter
Selected video codec: [wmv9dmo] vfm:dmo (Windows Media Video 9 DMO)
Checking audio filter chain for 48000Hz/2ch/s16le -> 48000Hz/2ch/s16le...
AF_pre: 48000Hz/2ch/s16le
alsa-init: 1 soundcard found, using: default
alsa: 48000 Hz/2 channels/4 bpf/65536 bytes buffer/Signed 16 bit Little Endian
AO: [alsa] 48000Hz 2ch s16le (2 bps)
Building audio filter chain for 48000Hz/2ch/s16le -> 48000Hz/2ch/s16le...
Starting playback...
ProcessInputError  r:0x80004005=-2147467259 (keyframe: 1)
New_Face failed. Maybe the font path is wrong.
Please supply the text font file (~/.mplayer/subfont.ttf).
subtitle font: load_sub_face failed.
ProcessInputError  r:0x80004005=-2147467259 (keyframe: 1)??,?% 0 0 83%          
ProcessInputError  r:0x80004005=-2147467259 (keyframe: 1)??,?% 0 0 83%          
alsa-space: xrun of at least 2.940 msecs. resetting stream?,?% 0 0 45%          
ProcessInputError  r:0x80004005=-2147467259 (keyframe: 1)??,?% 0 0 45%          
alsa-space: xrun of at least 3.071 msecs. resetting stream?,?% 0 0 26%          
ProcessInputError  r:0x80004005=-2147467259 (keyframe: 1)??,?% 0 0 26%          
A: 111.4 V:   5.3 A-V:106.152 ct:  0.021   5/  5 ??% ??% ??,?% 0 0 45%          
Too many video packets in the buffer: (2585 in 8400494 bytes).
Maybe you are playing a non-interleaved stream/file or the codec failed?
For AVI files, try to force non-interleaved mode with the -ni option.
ProcessInputError  r:0x80004005=-2147467259 (keyframe: 1)??,?% 0 0 47%          

MPlayer interrupted by signal 2 in module: sleep_timer
alsa-uninit: pcm closed
zsh: exit 1     mplayer AsGoodAsItGets_1997.wmv

More information about the MPlayer-users mailing list