Created
February 8, 2020 19:16
-
-
Save stesee/adb44e3e222465d820f7fc3ea6aef267 to your computer and use it in GitHub Desktop.
Converts gif to mp4 using ffmpeg
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
ffmpeg -i source.gif -movflags faststart -pix_fmt yuv420p -vf "scale=trunc(iw/2)*2:trunc(ih/2)*2" destination.mp4 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment