[MPlayer-users] Converting jpeg to mpeg, interlace problem appears

Corey Hickey bugfood-ml at fatooh.org
Tue Jul 25 06:45:59 CEST 2006


PFudd wrote:
> On Mon, 2006-07-24 at 17:26 -0700, Corey Hickey wrote:
> 
>> Hmm. I'll admit I didn't look too closely at your command line, but I 
>> don't think there's anything in there that causes interlacing. Try this:
>>
>> mencoder mf://*.jpg -mf type=jpg:fps=8 -ovc copy -o output.avi
>>
>> If that doesn't work, then please provide enough of your source jpeg 
>> files to reproduce the problem. Make a tar file of them and upload it to:
>> ftp://ftp.mplayerhq.hu/MPlayer/incoming/
>> Then send the filename as a reply to this message.
> 
> Actually, that *did* solve the problem!
> 
> If you want to tinker with it anyway, the files are at 
>   ftp://ftp.mplayerhq.hu/MPlayer/incoming/cat-table.tar.gz
> and the old command line was
>    mencoder mf://*.jpg -mf type=jpg:w=800:h=600:fps=8 -ovc copy -oac
> copy -o output.avi

Ah. I suspected as much. Your input files are 320x240, but your
w=800:h=600 tells mencoder they're 800x600. mencoder believes you, and
the output gets mixed up. I don't know exactly why, but instead of six
frames at 320x240, you end up with three frames at 320x480, and each
pair of original pictures is interleaved to make the double-height
frames. Don't worry about figuring out what is happening, though;
forcing the wrong dimensions is bound to cause some screwiness.

Your original line can safely be reduced to:
mencoder mf://*.jpg -mf fps=8 -ovc copy -o output.avi

type=jpg isn't needed--mencoder figures it out
w=800:h=600 is incorrect; mencoder figures out the dimensions anyway
-oac copy doesn't do anything because there's no audio to begin with

I'm going to remove the file you uploaded, since it's not needed anymore.

-Corey



More information about the MPlayer-users mailing list