[MPlayer-users] A problem with mencoder or mplayer?

Hans Meine hans_meine at gmx.net
Thu Jun 12 14:30:30 CEST 2003


On Thursday 12 June 2003 14:06, Hans Meine wrote:
> I advise you to try again with current CVS version. It's the fifth CVS
> version I tried in the last three months, and something has happend.. It
> finally works for me! (-mf png with paletted images)
>
> I found a patch on mplayer-dev-eng, too:
>
> http://www.MPlayerHQ.hu/pipermail/mplayer-dev-eng/2003-March/017240.html
>
> This patch could fix your problem, too, but
> - it is no clean solution (too many internal conversion in many cases)
> - it seems to be fixed in a cleaner way between versions
> dev-CVS-030523-16:59-3.2.2 and dev-CVS-030610-21:04-3.2.2!

Oops, I overlooked that I am working with a partially-applied patch now, 
namely this etc/codecs.conf change:

Index: etc/codecs.conf
===================================================================
RCS file: /cvsroot/mplayer/main/etc/codecs.conf,v
retrieving revision 1.282
diff -u -3 -p -d -r1.282 codecs.conf
--- etc/codecs.conf     9 Jun 2003 02:30:40 -0000       1.282
+++ etc/codecs.conf     12 Jun 2003 12:25:25 -0000
@@ -67,7 +67,7 @@ videocodec mpng
   fourcc mpng,MPNG
   dll "libpng"
   driver mpng
-  out BGR32,BGR24
+  out BGR24

 videocodec mtga
   info "TGA images decoder"

As the above mail says, this prevents mplayer/mencoder from misinterpreting 
-mf png input as BGR32 when it is really BGR24.. However, I am not sure 
anymore if the bug was actually fixed, since there was no commit to 
libmpcodecs/vd_mpng.c this year.

-- 
Ciao, /  /
     /--/
    /  / ANS



More information about the MPlayer-users mailing list