mplayer problem

I have this problem using a script that uses mplayer. This is the error messages.

INFO: Mplayer Log
LOG: MPlayer SVN-r1.0~rc3+svn20090426-4.4.3 (C) 2000-2009 MPlayer Team
LOG: mplayer: could not connect to socket
LOG: mplayer: No such file or directory
LOG: Failed to open LIRC support. You will not be able to use your remote control.
LOG: 
LOG: Playing /media/LaCie/folder/file.wmv.
LOG: ASF file format detected.
LOG: [asfheader] Audio stream found, -aid 1
LOG: [asfheader] Video stream found, -vid 2
LOG: VIDEO:  [WMV3]  1280x720  24bpp  1000.000 fps  2996.2 kbps (365.7 kbyte/s)
LOG: Clip info:
LOG:  name: 
LOG:  author: 
LOG:  copyright: 
LOG:  comments: 
LOG: jpeg: Parsing suboptions.
LOG: jpeg: Progressive JPEG disabled.
LOG: jpeg: Baseline JPEG enabled.
LOG: jpeg: Suboptions parsed OK.
LOG: Opening video filter: [pp=ac/lb]
LOG: Opening video filter: [scale]
LOG: ==========================================================================
LOG: Opening video decoder: [dmo] DMO video codecs
LOG: ERROR: Could not open required DirectShow codec wmv9dmod.dll.
LOG: Win32 LoadLibrary failed to load: wmv9dmod.dll, /usr/lib/codecs/wmv9dmod.dll, /usr/lib/win32/wmv9dmod.dll, /usr/local/lib/win32/wmv9dmod.dll
LOG: IMediaObject ERROR: 0x83eedf1  could not open DMO DLL (0x0 : 0)
LOG: Failed to create DMO filter
LOG: You need to upgrade/install the binary codecs package.
LOG: Go to http://www.mplayerhq.hu/dload.html
LOG: VDecoder init failed :(
LOG: Opening video decoder: [dmo] DMO video codecs
LOG: ERROR: Could not open required DirectShow codec wmvdmod.dll.
LOG: Win32 LoadLibrary failed to load: wmvdmod.dll, /usr/lib/codecs/wmvdmod.dll, /usr/lib/win32/wmvdmod.dll, /usr/local/lib/win32/wmvdmod.dll
LOG: IMediaObject ERROR: 0x83eedf1  could not open DMO DLL (0x0 : 0)
LOG: Failed to create DMO filter
LOG: You need to upgrade/install the binary codecs package.
LOG: Go to http://www.mplayerhq.hu/dload.html
LOG: VDecoder init failed :(
LOG: Opening video decoder: [ffmpeg] FFmpeg's libavcodec codec family
LOG: [wmv3 @ 0x1ac6c00]Extra data: 8 bits left, value: 0
LOG: Selected video codec: [ffwmv3] vfm: ffmpeg (FFmpeg WMV3/WMV9)
LOG: ==========================================================================
LOG: ==========================================================================
LOG: Opening audio decoder: [ffmpeg] FFmpeg/libavcodec audio decoders
LOG: AUDIO: 44100 Hz, 2 ch, s16le, 64.0 kbit/4.54% (ratio: 8005->176400)
LOG: Selected audio codec: [ffwmav2] afm: ffmpeg (DivX audio v2 (FFmpeg))
LOG: ==========================================================================
LOG: AO: [null] 44100Hz 2ch s16le (2 bytes per sample)
LOG: Starting playback...
Error while decoding frame!  0.240 ct:  0.022   1/  1 ??% ??% ??,?% 0 0 
VDec: vo config request - 1280 x 720 (preferred colorspace: Planar YV12)
LOG: [PP] Using external postprocessing filter, max q = 6.
LOG: VDec: using Planar YV12 as output csp (no 0)
LOG: Movie-Aspect is undefined - no prescaling applied.
LOG: [swscaler @ 0xa67900]No accelerated colorspace conversion found.
LOG: [swscaler @ 0xa67900]using unscaled yuv420p -> rgb24 special converter
LOG: VO: [jpeg] 1280x720 => 1280x720 RGB 24-bit 
LOG: jpeg: ./screenshots - Output directory successfully created.
LOG: A:  16.5 V:  16.2 A-V:  0.273 ct:  0.028   3/  3 ??% ??% ??,?% 0 0 
LOG: 
LOG: Exiting... (End of file)

It means what it says.

LOG: You need to upgrade/install the binary codecs package.