Last active
June 1, 2018 03:35
-
-
Save amsul/c73cadf4b2d4b2a047f3b1a0bc15b994 to your computer and use it in GitHub Desktop.
Convert MOV files 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
# Simple | |
ffmpeg -i MY_FILE.mov -c copy NEW_FILE.mp4 | |
# Compressed | |
ffmpeg -i MY_FILE.mov -c copy -crf 20 NEW_FILE.mp4 | |
# Compressed (alternative) | |
ffmpeg -i MY_FILE.mp4 -acodec mp2 NEW_FILE.mp4 | |
# Compressed (alternative with audio) | |
ffmpeg -i MY_FILE.mp4 -acodec copy NEW_FILE.mp4 | |
# Compressed (by bitrate) | |
ffmpeg -i MY_FILE.mp4 -b 1500000 NEW_FILE.mp4 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment