Skip to content

Instantly share code, notes, and snippets.

@bepcyc
Created February 14, 2014 08:58
Show Gist options
  • Save bepcyc/8997909 to your computer and use it in GitHub Desktop.
Save bepcyc/8997909 to your computer and use it in GitHub Desktop.
convert jpg files into h.264 video
#you'll need mencoder and x264 packages installed
#just add a video name like output.mp4 at the end
alias jpgtoh264="mencoder mf://*.jpg -nosound -of lavf -lavfopts format=mp4 -ovc x264 -x264encopts pass=1:bitrate=2000:crf=24 -mf type=jpg:fps=30 -o"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment