Image sequence to a video clip on Linux

using ffmpeg in an essential form:

ffmpeg -start_number n -i test_%d.jpg -vcodec mpeg4 test.avi

with more control:

ffmpeg -f image2 -framerate 25 -pattern_type sequence -start_number 1234 -r 3 -i img_%04d.jpg -s 720x480 test.avi

using mkmpeg4 script, which requires mplayer on Linux:

mkmpeg4 -o output.avi -f 30 `ls *.png`

references:
http://www.shawnlankton.com/2007/04/videos-in-matlab-and-linux/
http://geodynamics.org/svn/cig/seismo/3D/SPECFEM3D/trunk/utils/Visualization/GMT/grenoble_basin_GMT_movies/mkmpeg4.py
http://superuser.com/questions/624567/ffmpeg-create-a-video-from-images

Advertisements
Image sequence to a video clip on Linux

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s