[MPlayer-users] Re: Documentation bug re win32 codecs

Mr Allwyn Fernandes mhu at stobor.net
Sun Sep 26 00:18:50 CEST 2004


Hi Dominik,

I finally got some time, and thought to follow this up. Found your reply in 
the archives. See responses below. Please copy me in on any other feedback - 
I am not subscribed to this list. Thanks.

On Thu Sep 2 12:24:24 CEST 2004, Dominik 'Rathann' Mierzejewski wrote:
> On Thursday, 02 September 2004 at 06:09, Mr Allwyn Fernandes wrote:
>> Hi all,
>> 
>> I just grabbed MPlayer 1.0pre5, and was trying to install it from
>> source on
>> linux. I stumbled across a minor documentation bug trying to install the
>> Win32 codecs. (I've figured it out, so there's no need for help with
>> it, but
>> 
>> When I then run "configure --prefix=/usr/mplayer/1.0pre5"
>
>Why do you use such strange non-standard paths?

Simple: version flexibility.

I can try out /usr/mplayer/1.0pre5/bin/mplayer to see if it works, without 
deleting /usr/mplayer/0.99/bin/mplayer just to do so. New bugfix in CVS, but 
mencoder has not caught up, and is now broken? No probs - run 
/usr/mplayer/cvs/bin/mplayer but use /usr/mplayer/1.0pre5/bin/mencoder.
It may happen (it does with some pieces of software, tho this is my first play 
with mplayer) that features disappear/break between versions. When I'm 
comfortable with the new version, the old one can be removed without breaking 
anything.

To make life easy, /usr/mplayer/current is a symlink to /usr/mplayer/1.0pre5, 
and all /usr/*/current/bin are in my $PATH. Trying out something, but I don't 
want it in $PATH?  Just don't symlink it.

I started doing this because I do development myself, and switching between 
versions, even of your team's own code, can be a nightmare if everything 
chooses to write over the same folder.


Having said all that, the problem is the same regardless of which standard or 
non-standard path you choose, even /usr - only using the default /usr/local 
works as advertised.

>>   Failed to find a Win32 codecs directory! (default:
>>   /usr/local/lib/codecs/)
>>   Create it and copy the DLL files there! You can download the codecs
>>   from our
>>   homepage at http://www.mplayerhq.hu/MPlayer/releases/codecs/
>> 
>> So I get to this stage and I am wondering what's going on... Somewhat
>> surprisingly, "configure --prefix=/usr/mplayer/1.0pre5
>> --with-win32libdir=/usr/local/lib/codecs" seems to work - win32
>> codecs are
>> listed as enabled!
>> 
>> It turns out that the configure script, line 5003 looks for win32
>> codecs in
>> "$_libdir/codecs" "$_libdir/win32" /usr/local/lib/win32 /usr/lib/win32,
>> and not in /usr/local/lib/codecs as advertised.
>
>You're right. How about creating a patch and sending it to mplayer-dev-eng?
>
>R.
>
>-- 
>MPlayer RPMs maintainer: http://greysector.rangers.eu.org/mplayer/
>"I am Grey. I stand between the candle and the star. We are Grey.
> We stand between the darkness ... and the light."
>        -- Delenn in Grey Council in Babylon 5:"Babylon Squared"
>

Finally got some time - I'm submitting one shortly. 

Cheers, 

Allwyn.

-- 
Allwyn Fernandes
Director
Stobor Pty Ltd

Mobile: + 61 414 470 392
Email: af at stobor.net





More information about the MPlayer-users mailing list