Last active
January 25, 2023 12:46
-
-
Save jdvivar/e0cfb867eca5fd5fc818dcf5dc12ea35 to your computer and use it in GitHub Desktop.
Simple ffmpeg one liner
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
# With a specific codec | |
-i input | |
-codec:v video codec to use, most modern is libx265 | |
# libx265 is slower but provides a smaller file size output, by default is usually | |
# libx264 which is the most compatible, faster than x265 but with a bigger file output | |
$ ffmpeg -i video.mov -codec:v libx265 video.mp4 | |
# Simplest version | |
$ ffmpeg -i video.mov video.mp4 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment