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

Hans Meine hans_meine at gmx.net
Thu Jun 5 12:23:48 CEST 2003


Hi everybody!

On Thursday 05 June 2003 10:29, lzha022 at ec.auckland.ac.nz wrote:
> I type the following code:
>
> mencoder \*.png -mf on:w=550:h=600:fps=15:type=png -ovc copy -o out.avi
>
> I can generate out.avi, but when i played it using mplayer, it gave me a
> quick flash then disappeared. If i remove w and h value like this
>
> mencoder \*.png -mf on:fps=15:type=png -ovc copy -o out.avi
>
> The out.avi can be played but both the color and the shape changed a lot.

Not long ago, I also wrote a mail concerning the PNG import:
   http://article.gmane.org/gmane.comp.video.mplayer.user/17180/

I was a little bit disappointed to get no answer, though. (After all, I 
already posted some answers myself in contrast to the many NHRTFM-questions* 
getting to this list..)

I had the impression that the PNG import messed some 
colorspace-meta-information up, or that that happened further down in the 
processing stack; as I already described in the mentioned mail, the results 
had vertical stripes, suggesting to me that the BGR data was interpreted as 
YUV or something?! To make it even more easy to understand, I uploaded an 
example:
http://kogs-www.informatik.uni-hamburg.de/~meine/from_pngs.avi

I used the following command:
   mencoder -mf type=png:fps=5 mf://"Labeled-10*png" -ovc lavc -nosound -v 
-lavcopts vcodec=mpeg4:vhq:vmax_b_frames=2:vb_strategy=1:vbitrate=600 -frames 
20 -ss 3

As I wrote in the last mail, the PNGs are paletted, see the link I gave for an 
attached example.

I hope someone can clear this up,
   Hans

* Not-having-read-... :-)
-- 
Ciao, /  /
     /--/
    /  / ANS



More information about the MPlayer-users mailing list