[MPlayer-dev-eng] [PATCH] win32 codec path

Diego Biurrun diego at biurrun.de
Mon Aug 11 01:20:52 CEST 2003


Sascha Sommer schrieb:
> What about the attached patch?
> Like on linux real dlls only get loaded from WIN32_PATH.

Still does not work for me on W2K, though it apparently works for you on 
Win98..

This is a part of -v output on Cygwin:

==========================================================================
Forced video codec: rv30win
Opening video decoder: [realvid] RealVideo decoder
realvideo codec id: 0x30202002  sub-id: 0x010A9030
opening win32 dll 'drv33260.dll'
win32 real codec handle=0x0
Error loading dll
ERROR: Could not open required DirectShow codec drv33260.dll.
Read the RealVideo section of the DOCS!
VDecoder init failed :(
get_path('codecs.conf') -> '/home/diego/.mplayer/codecs.conf'
*** Try to upgrade /home/diego/.mplayer/codecs.conf from etc/codecs.conf
*** If it still does not work, read DOCS/en/codecs.html!
Cannot find codec matching selected -vo and video format 0x30335652.
==========================================================================

MinGW does not work also, tmppath gets set to

c:\Programme\cygwin\home\diego\mingw\/mingw/lib/codecs

which obviously cannot work.  When I recompile with 
--with-codecsdir=codecs, Windows starts complaining about pncrt.dll.  I 
got the DLL and put it in the codecs directory and lo and behold, it works!

And with pncrt.dll it also works under Cygwin.  Oh happy day.

So now all we need to do is fix the absolute path on MinGW..

Hooray!

Diego




More information about the MPlayer-dev-eng mailing list