set duration when converting jpeg to video
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.?/ /Thanks for your help Peter
On 2/5/06, Peter Falk <p.falk@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). n0dalus.
On Sat, 04 Feb 2006 22:14:37 +0100 Peter Falk <p.falk@gmx.net> wrote:
/But the duration ist only 0,040 sec. How can I set a duration of e.g. 15 sec.?/
-mf fps=0.066 -ofps 25
Peter Falk <p.falk <at> gmx.net> writes:
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.?/
/Thanks for your help
Peter
by using this command u can play the jpg file some certain duration ,harddup is used to add some duplicate frames with dv video codec format ,or u can select someother video formats mencoder mf://Test.jpg -mf fps=.11:type=jpg -vop expand=720:576,harddup -oac pcm -ovc libdv -ofps 30 -o test.avi Thanks Regards Bens
participants (4)
-
Bensly Shanmugam -
n0dalus -
Peter Falk -
RC