[MPlayer-users] png to AVI help

John Brown johnbrown105 at hotmail.com
Tue Mar 4 19:59:05 CET 2008

Rob Redmon wrote:

> I'm trying to create a jpg-based AVI directly from a bunch of png
> images. In section *13.8. Encoding from multiple input image files
> (JPEG, PNG, TGA, etc.)*, it's stated that "You can mix different types
> of images, regardless of the method you use...".


> If I first convert PNG to JPG and run:
> mencoder mf://*.jpg -mf fps=4:type=jpg -ovc lavc -lavcopts
> vcodec=mpeg4:mbd=2:trell -oac copy -o movie_4fps.avi
> Then I get a movie which plays in mplayer.
> When I try to go directly from PNG to JPG with something like:
> mencoder mf://*.png -mf fps=1:type=png -ovc lavc -lavcopts
> vcodec=mpeg4:mbd=2:trell -oac copy -o output.avi
> Then I get this stack trace:


> VDec: vo config request - 4720 x 2368 (preferred colorspace: Planar Y800)
> Could not find matching colorspace - retrying with -vf scale...

I'm just guessing, but maybe your PNGs are too large? Are your JPEGs also
4720 X 2368? Try adding -vf scale=x:y with suitable x and y (640:480, 
for example).

Helping your favorite cause is as easy as instant messaging. You IM, we give.

More information about the MPlayer-users mailing list