[MEncoder-users] creating movie from .png images

Tom Poe tompoe at fngi.net
Tue Feb 20 08:31:41 CET 2007


I want to create a 1:15 minute video using .png images and soundtrack.  
I created 4 images, then duplicated them into sets of 22 each, and then 
set frame per second to 1 fps.  I then ran:
$ mencoder mf://*.png -mf w=320:h=240:fps=1:type=png -ovc copy 
-audiofile Open_Studios_theme.ogg -oac copy -o done1.avi
This created done1.avi and it plays in my MPlayer.
then,
$ mencoder done1.avi -o VCD.mpg -ofps 25 -vf scale=352:288,harddup -of 
lavf -lavfopts 
format=mpg:i_certify_that_my_video_stream_does_not_use_b_frames -oac 
lavc -lavcopts acodec=mp2:abitrate=224 -ovc lavc -lavcopts 
vcodec=mpeg1video:vrc_buf_size=327:keyint=15:vrc_maxrate=1152:vbitrate=1152:vmax_b_frames=0
This created VCD.mpg and it plays in my MPlayer. 

If I set the frame per second to 1, instead of 25, it causes fatal 
error, as the codec doesn't support 1/1 second frames.  Ideally, I would 
like to know how I might use 4 images, and stretch each image over 22 
seconds, thus creating an .avi movie that runs at 25 frames per second.
Any help appreciated.
Tom



More information about the MEncoder-users mailing list