[MPlayer-dev-eng] Working on wmv9

Gianluigi Tiesi sherpya at netfarm.it
Sun Sep 8 21:07:18 CEST 2002


I'm still trying to make work wmv9

I've the dlls, but they are windows media object

I've made a codecs.conf to support it,
wmv dll is wmvdmod.dll, imports a function from OLEAUT32.dl (I've added oleaut32 in win32.c)
the function imported is RegisterClipboardFormatA (in wine sources is in user32 ...)

It's a dummy fun I don't think is very usefull at least for loading ...

The problem is different:
yer CVS-020908-02:38-2.95.4 (C) 2000-2002 Arpad Gereoffy (see DOCS!)

CPU: Advanced Micro Devices Athlon TB Thunderbird (Family: 6, Stepping: 2)
CPUflags:  MMX: 1 MMX2: 1 3DNow: 1 3DNow2: 1 SSE: 0 SSE2: 0
Compiled for x86 CPU with extensions: MMX MMX2 3DNow 3DNowEx

/etc/mplayer/mplayer.conf(3): option: vo
/etc/mplayer/mplayer.conf(3): parameter: xv
Reading /root/.mplayer/codecs.conf: 38 audio & 106 video codecs
CommandLine: '-v' '/mnt/disk/halo2.wmv'
init_freetype
Using MMX (with tiny bit MMX2) Optimized OnScreenDisplay
Using Linux's hardware RTC timing (1024Hz)
get_path('input.conf') -> '/root/.mplayer/input.conf'
Can't open input config file /root/.mplayer/input.conf : No such file or directory
Can't open input config file /etc/mplayer/input.conf : No such file or directory
Falling back on default (hardcoded) input config

Playing /mnt/disk/halo2.wmv
Not an URL!
File size is 33184878 bytes
Checking for YUV4MPEG2
DEMUXER: freeing demuxer at 0x8417eb0
Detected ASF file format!
ASF: packets: 3029  flags: 2  max_packet_size: 10954  min_packet_size: 10954  max_bitrate: 2644619  preroll: 5000
stream type: guid_audio_stream
stream concealment: guid_audio_conceal_interleave
type: 36 bytes,  stream: 8 bytes  ID: 1
unk1: 0  unk2: E5F6B8
FILEPOS=0x9F3
==> Found audio stream: 1
======= WAVE Format =======
Format Tag: 354 (0x162)
Channels: 6
Samplerate: 48000
avg byte/sec: 31809
Block align: 10923
bits/sample: 24
cbSize: 18
Unknown extra header dump: [3f] [0] [0] [0] [0] [0] [0] [0] [0] [0] [0] [0] [e0] [0] [0] [0] [39] [0]
ASF: audio scrambling: 1 x 1 x 10923
stream type: guid_video_stream
stream concealment: unknown guid 0057fb20-555b-cf11-a8fd00805f5c442b
type: 55 bytes,  stream: 0 bytes  ID: 2
unk1: 0  unk2: 115D5F8
FILEPOS=0xA6D
==> Found video stream: 2
======= VIDEO Format ======
  biSize 44
  biWidth 640
  biHeight 384
  biPlanes 1
  biBitCount 24
  biCompression 861293911='WMV3'
  biSizeImage 0
===========================
============ ASF Stream group == START ===
 object size = 38
 stream count=[0x2][2]
   stream id=[0x1][1]
   max bitrate=[0x4cab4][314036]
   stream id=[0x2][2]
   max bitrate=[0x238fd7][2330583]
============ ASF Stream group == END ===
Found movie at 0xAFC - 0x1FA530E
ASF: 1 audio and 1 video streams found
Auto-selected ASF video ID = 2
Auto-selected ASF audio ID = 1
VIDEO:  [WMV3]  640x384  24bpp
ASF: Searching for audio stream (id:1)
[V] filefmt:6  fourcc:0x33564D57  size:640x384  fps:1000.00  ftime:=0.0010
get_path('sub/') -> '/root/.mplayer/sub/'
==========================================================================
Can't find codec for audio format 0x162 !
get_path('codecs.conf') -> '/root/.mplayer/codecs.conf'
*** Try to upgrade /root/.mplayer/codecs.conf from etc/codecs.conf
*** If it's still not OK, then read DOCS/codecs.html!
X11 opening display: :0.0
vo: X11 color mask:  FFFFFF  (R:FF0000 G:FF00 B:FF)
vo: X11 running at 1280x960 with depth 24 and 32 bpp (":0.0" => local display)
[x11] Detected wm is of class NetWM.
==========================================================================
Opening video decoder: [dshow] DirectShow video codecs
Loading DLL: 'wmvdmod.dll'
External func OLEAUT32.dll:8
Warning: DS_Filter() no such class object.  (DLL=wmvdmod.dll)
Failed to create DirectShow filter
ERROR: Couldn't open required DirectShow codec: wmvdmod.dll
Maybe you forget to upgrade your win32 codecs?? It's time to download the new
package from:  ftp://mplayerhq.hu/MPlayer/releases/w32codec.zip  !
VDecoder init failed :(
Can't find codec matching selected -vo and video format 0x33564D57 !
get_path('codecs.conf') -> '/root/.mplayer/codecs.conf'
*** Try to upgrade /root/.mplayer/codecs.conf from etc/codecs.conf
*** If it's still not OK, then read DOCS/codecs.html!
==========================================================================

DEMUXER: freeing demuxer at 0x8417eb0
DEMUXER: freeing sh_audio at 0x83fa190
DEMUXER: freeing sh_video at 0x83fba10
vo: uninit ...


----
Window media objects are not ds filters... then they need new arch for loading, I think also
micro$oft has made a sort of "protection" for these objects...


-P.S: I still have problem with the ml (I've upped ftp://ftp.mplayerhq.hu/MPlayer/incoming/Biosphere_Lounge.txt/wma for wma bug report)
-Now I'm using my email, I was made a mailbox for the ml but I can't post 

Bye
Sherpya



More information about the MPlayer-dev-eng mailing list