[MPlayer-users] Problems compiling DirectShow support for MPlayer / WMV problems

Patrick C b00zy at filespanker.com
Tue Dec 4 03:48:08 CET 2001


OS: Mandrake 8.1
Kernel: 2.4.16
libc: 2.2.4
gcc: 3.0.2
X: 4.1.0
binutils: 2.11.90.0.8
Video Card: Voodoo3 PCI 2000

Here are the requested logs: 
ftp://www.mplayerhq.hu/MPlayer/incoming/b00zy.tar.bz2

When compiling I get this error:

/usr/include/wchar.h: In function `long long int wcstoq(const wchar_t*,
   wchar_t**, int)':
/usr/include/wchar.h:514: cannot convert `const wchar_t* __restrict' to `const
   __gwchar_t*' for argument `1' to `long long int __wcstoll_internal(const
   __gwchar_t*, __gwchar_t**, int, int)'
/usr/include/wchar.h: In function `long long unsigned int wcstouq(const
   wchar_t*, wchar_t**, int)':
/usr/include/wchar.h:520: cannot convert `const wchar_t* __restrict' to `const
   __gwchar_t*' for argument `1' to `long long unsigned int
   __wcstoull_internal(const __gwchar_t*, __gwchar_t**, int, int)'
make[1]: *** [DS_AudioDec.o] Error 1
make[1]: Leaving directory `/usr/src/MPlayer-20011203/loader/DirectShow'
make: *** [loader/DirectShow/libDS_Filter.a] Error 

This error, I'm guessing, is also the cause of my other problem. I can play 
WMV files, but only the audio plays while the screen remains blank. You say 
in the FAQ and on some mailing-list threads to "update" -- I'm not quite sure 
what you mean by that, but I am using the latest CVS (MPlayer-20011203) -- 
the codecs.conf file, which shouldn't be a problem since I'm using the CVS 
from today, right? I've tried `mplayer -vc wmv7` and `mplayer -vc wmv8`, but 
those comands did not work either. The codecs.conf file is included in the 
tarball I uploaded to the FTP. Here is the WMV portion of codecs.conf:

videocodec wmv7
  info "Windows Media Video 7"
  status working
  fourcc WMV1
  driver dshow
  dll "wmvds32.ax"
  guid 0x4facbba1, 0xffd8, 0x4cd7, 0x82, 0x28, 0x61, 0xe2, 0xf6, 0x5c, 0xb1, 
0xae
;  out I420
  out YUY2
  out BGR32,BGR24,BGR16,BGR15

videocodec wmv8
  info "Windows Media Video 8"
  status working
  fourcc WMV2
  driver dshow
  dll "wmv8ds32.ax"
  guid 0x521fb373, 0x7654, 0x49f2, 0xbd, 0xb1, 0x0c, 0x6e, 0x66, 0x60, 0x71, 
0x4f
  out YUY2
  out BGR32,BGR24,BGR16,BGR15

If this is related to the fact that Directshow requires C++, I have made sure 
to install every one of the latest Mandrake Cooker gcc RPMs, even though I 
already had the only required ones -- gcc3.0 and gcc3.0-c++ -- installed. 
MPlayer does install fine when --disable-dshow, although I can't play WMV 
format.



More information about the MPlayer-users mailing list