[MEncoder-users] set duration when converting jpeg to video

n0dalus n0dalus at gmail.com
Sun Feb 5 01:12:27 CET 2006

On 2/5/06, Peter Falk <p.falk at gmx.net> wrote:
> Hello,
> I try to convert a single JPEG file to a video with the following command:
> mencoder mf://xy.jpg -mf w=800:h=600:fps=25:type=jpg -ovc lavc -lavcopts
> vcodec=mpeg4 -oac copy -o output.avi/
> /But the duration ist only 0,040 sec. How can I set a duration of e.g.
> 15 sec.?/

Use fps=1/15 in the -mf options.

You may also want to use -ofps 25 which should make it 25fps again (by
duplicating the frame).


More information about the MEncoder-users mailing list