Last active
October 6, 2021 19:47
-
-
Save seblavoie/5a6344eec32e17bcd97873b5b562985a to your computer and use it in GitHub Desktop.
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
# This shell function will convert a Quicktime file and convert it to a H.264 file using FFMPEG. | |
# Make sure you have FFMPEG installed. See https://superuser.com/questions/624561/install-ffmpeg-on-os-x for instructions. | |
mp4() { | |
ffmpeg -i "$1" -c:v libx264 -c:a aac -vf format=yuv420p -movflags +faststart "${1%.mov}.mp4" | |
open "${1%.mov}.mp4" | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment