[MEncoder-users] png to avi problem

javier garcia rn001 at cebas.csic.es
Thu Mar 17 20:02:17 CET 2005


> 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.
>
> _______________________________________________
> MEncoder-users mailing list
> MEncoder-users at mplayerhq.hu
> http://mplayerhq.hu/mailman/listinfo/mencoder-users

Rich, thanks for your answers, the problem doesn't solves, perhaps I'm doing 
something wrong.

I send you the answer I obtain, just in case you think it is easy to solve it. 
If not, anyway, thanks a lot for your help.

Best regards,

Javier
--------------
[javier at HP-JAVIER Ks]$ mencoder "mf://*.png" -mf fps=1 -vf scale=416:640 -ovc 
lavc -lavcopts vcodec=mpeg4 -oac copy -o Ks.av

MEncoder 1.0pre6-3.0.4 (C) 2000-2004 MPlayer Team
CPU: Intel Celeron 2/Pentium III Tualatin (Family: 6, Stepping: 1)
Detected cache-line size is 32 bytes
CPUflags: Type: 6 MMX: 1 MMX2: 1 3DNow: 0 3DNow2: 0 SSE: 1 SSE2: 0
Compiled for x86 CPU with extensions: MMX MMX2 SSE

File not found: 'frameno.avi'
Failed to open frameno.avi
success: format: 16  data: 0x0 - 0x0
[demuxer] mf support.
[demux_mf] file type was not set! trying 'type=png'...
[mf] search expr: *.png
[mf] number of files: 31 (124)
VIDEO:  [MPNG]  0x0  24bpp  1,000 fps    0,0 kbps ( 0,0 kbyte/s)
[V] filefmt:16  fourcc:0x474E504D  size:0x0  fps: 1,00  ftime:=1,0000
Opening video filter: [expand osd=1]
Expand: -1 x -1, -1 ; -1  (-1=autodetect) osd: 1
Opening video filter: [scale w=416 h=640]
==========================================================================
Opening video decoder: [mpng] PNG Images decoder
Selected video codec: [mpng] vfm:mpng (PNG images decoder)
==========================================================================
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)
The selected video_out device is incompatible with this codec.
mp_image: Unknown out_fmt: 0x0ps Trem:   0min   0mb  A-V:0,000 [0:0]
Violación de segmento





More information about the MEncoder-users mailing list