Created
July 8, 2017 02:38
-
-
Save nickcheng/825ce8168c6379b042a9e6cdd4d0d4df to your computer and use it in GitHub Desktop.
Convert gif to mp4 via ffmpeg.
This file contains hidden or 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
ffmpeg -r 30 -i input.gif -movflags faststart -pix_fmt yuv420p -vf "scale=trunc(iw/2)*2:trunc(ih/2)*2" output.mp4 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment