Skip to content

Instantly share code, notes, and snippets.

@smhr
Last active February 15, 2019 12:49
Show Gist options
  • Save smhr/ee12babd28e7a96c2f79bc96d52962d8 to your computer and use it in GitHub Desktop.
Save smhr/ee12babd28e7a96c2f79bc96d52962d8 to your computer and use it in GitHub Desktop.
ffmpeg -framerate 5 -i ./splash_%04d.png -c:v libx264 -pix_fmt yuv420p -vf "scale=trunc(iw/2)*2:trunc(ih/2)*2" movie_name.mp4
mencoder "mf://*.png" -mf fps=5 -o output.avi -ovc lavc -lavcopts vcodec=msmpeg4v2:vhq:vbitrate=3000:mbd=1
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment