Created
February 13, 2020 07:31
-
-
Save nickcheng/46d045fa78570e3499e8b59407f740f4 to your computer and use it in GitHub Desktop.
Convert iPhone video to smaller size
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
# For horizontal video | |
ffmpeg -i input_file_name -c:v libx264 -c:a copy -r 25 -b 3.5M -s 768x432 output_file_name | |
# For portrait video | |
ffmpeg -i input_file_name -c:v libx264 -c:a copy -r 25 -b 3.5M -s 432x768 output_file_name |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment