[MPlayer-users] mencoder to convert PNGs to flv

Blaine DaRonco blainedaronco at me.com
Tue Oct 13 14:37:13 CEST 2009


I'm trying to convert a directory of PNGs into a flash video.  I'm  
using the following command which I think should work:

mencoder -mf type=png:fps=5 mf://*.png -forceidx -of lavf -oac mp3lame  
-lameopts abr:br=56 -srate 22050 -ovc lavc -lavcopts  
vcodec=flv:vbitrate=250:mbd=2:mv0:trell:v4mv:cbp:last_pred=3 -o  
video.flv

But I'm getting the output below when I run it on a server.  I've  
tried with and without the mp3 options.  I don't really know what to  
make of the error I'm getting.  Is there possibly something wrong with  
the configuration on the server I'm running on?  Any help would be  
greatly appreciated.

Mencoder output:
---------------------------------
MEncoder SVN-r29756-4.1.2 (C) 2000-2009 MPlayer Team
success: format: 16  data: 0x0 - 0x0
MF file format detected.
[mf] search expr: *.png
[mf] number of files: 50 (400)
VIDEO:  [MPNG]  0x0  24bpp  5.000 fps    0.0 kbps ( 0.0 kbyte/s)
[V] filefmt:16  fourcc:0x474E504D  size:0x0  fps:5.000  ftime:=0.2000
** MUXER_LAVF  
*****************************************************************
REMEMBER: MEncoder's libavformat muxing is presently broken and can  
generate
INCORRECT files in the presence of B-frames. Moreover, due to bugs  
MPlayer
will play these INCORRECT files as if nothing were wrong!
*** 
*** 
*** 
**********************************************************************
OK, exit.
Opening video filter: [expand osd=1]
Expand: -1 x -1, -1 ; -1, osd: 1, aspect: 0.000000, round: 0
=== 
=======================================================================
Opening video decoder: [ffmpeg] FFmpeg's libavcodec codec family
[png @ 0x1dce7e80]Internal error, IDCT permutation not set
Unsupported PixelFormat -1
Selected video codec: [ffpng] vfm: ffmpeg (FFmpeg PNG)
=== 
=======================================================================
Could not find matching colorspace - retrying with -vf scale...
Opening video filter: [scale]
Movie-Aspect is undefined - no prescaling applied.
[swscaler @ 0x1dced7a0]BICUBIC scaler, from rgb24 to yuv420p using MMX2
videocodec: libavcodec (300x400 fourcc=31564c46 [FLV1])
[VE_LAVC] High quality encoding selected (non-realtime)!
[flv @ 0x1dce7590]Internal error, IDCT permutation not set
Segmentation fault



- Blaine



More information about the MPlayer-users mailing list