Skip to content

Instantly share code, notes, and snippets.

@elecnix
Created December 28, 2012 21:33
Show Gist options
  • Save elecnix/4402143 to your computer and use it in GitHub Desktop.
Save elecnix/4402143 to your computer and use it in GitHub Desktop.
Convert many jpg to a movie
# Convert many jpg to a movie
mencoder "mf://*.jpg" -mf fps=12:type=jpg -ovc lavc -lavcopts vcodec=mpeg4 -o movie.avi
# Convert a movie to an animated GIF
mplayer movie.avi -vf scale=320:240 -vo gif89a:fps=12:output=movie.gif -nosound
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment