[MEncoder-users] png to avi problem

D Richard Felker III dalias at aerifal.cx
Thu Mar 17 19:42:19 CET 2005


On Thu, Mar 17, 2005 at 07:36:31PM +0100, javier garcia wrote:
> Rich,
> I've used then the following sintax:
> 
> mencoder "mf://*.png" -mf fps=1 -ovc lavc -lavcopts vcodec=mpeg4 -oac copy -o 
> output.avi
> 
> but the problem is even worse. Now the answer is like before plus a segment 
> violation:
> 
> ----------------------------
> Writing AVI header...
> ODML: Aspect information not (yet?) available or unspecified, not writing vprp 
> header.
> VDec: Codec did not set sh->disp_w and sh->disp_h, trying workaround.
> VDec: vo config request - 426 x 649 (preferred csp: BGR 8-bit)
> Could not find matching colorspace - retrying with -vf scale...
> Opening video filter: [scale]
> The selected video_out device is incompatible with this codec.
> ODML: Aspect information not (yet?) available or unspecified, not writing vprp 
> header.
> mp_image: Unknown out_fmt: 0x0ps Trem:   0min   0mb  A-V:0,000 [0:0]
> mp_image: Unknown out_fmt: 0x0
> Violación de segmento
> -----------------------------------
> 
> Please could you indicate a correct whole sintax? or this could be a problem 
> of my installed program?

The size of your files is invalid. At the very least width and height
need to be even numbers, and encoding efficiency will be maximized if
they're both multiples of 16. If you don't want to regenerate your
files at a different size, you can have mencoder scale them by adding
something like:

-vf scale=416:640

to the command line.

Rich

P.S. Please don't top-post on mailing lists.




More information about the MEncoder-users mailing list