Created
February 26, 2018 23:35
-
-
Save teeparham/f6854fc698413c923d7581e6d31b830c to your computer and use it in GitHub Desktop.
ffmpeg video conversion for browsers
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# -movflags +faststart | |
# combine series of pngs into a mp4 movie | |
# frame-0001.png | |
# frame-0002.png | |
ffmpeg -framerate 0.3 -i frame-%04d.png -vf scale=752:424 -vcodec h264 -pix_fmt yuv420p -an -crf 15 -r 24 -y out.mp4 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment