Created
October 28, 2022 05:21
-
-
Save grantjenks/9bb0186765c9f6fce01503bb1daaa5c9 to your computer and use it in GitHub Desktop.
ffmpeg commands to convert video files
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
# Convert .m4v to .mp4 | |
$ ffmpeg -i input.m4v -c:v libx264 -c:a aac output.mp4 | |
# Convert .mp4 to .webm | |
$ ffmpeg -i input.mp4 -c:v libvpx-vp9 -crf 30 -b:v 0 -b:a 128k -c:a libopus output.webm |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment