[MEncoder-users] 5s video from one picture (jpg)
gebu at seznam.cz
Thu Mar 9 19:54:12 CET 2006
Thank You very much.
I will use it on Linux and MS Windows and I wanted to use only mplayer
because it is difficult to transfer Linux scripts to MS Windows. But on
irc channel #mplayer they said me that it is not possible. I must use 2
scripts :-( .
I tried it on WinXP and my script is: FOR /L %%G IN (1,1,124) DO copy
Thanks for Your script.
I arranged conference about Linux and I have many videos. These videos
have 25 fps. I want to add preamble with title and logo and conclusion.
I will repeat it by many times - it is good to prepare script :-) .
I think there will be problem if preamble and conclusion have different
fps than video.
This work fine: mencoder -ovc copy -oac copy -o output.avi preable.avi
> If you're on Unix (or anywhere with a Unix-like shell), it's very easy
> to make a pile of symlinks to (or, at worst, copies of) the original file.
> For example:
> mkdir d
> cd d
> for i in $(seq -w 1 125) ; do
> ln -s ../image.jpg $i.jpg
> mencoder mf://*.jpg -mf fps=25 -ovc lavc -o ../out.avi \
> -lavcopts vcodec=mpeg4:vqscale=1
> cd ..
> rm -r d
> Now, that's assuming that you need to have 25 fps for some reason. You
> might be able to get away with making fewer images and lowering the fps,
> depending on what you need this for. If that's the case, then I'm sure
> you can make five copies by hand. ;)
More information about the MEncoder-users