Created
November 1, 2023 08:25
-
-
Save 607011/18f36d461f746112f06c16d5055ee549 to your computer and use it in GitHub Desktop.
Convert video to a format that can be played with macOS's Quicktime Player
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
ffmpeg -i input.mov \ | |
-y \ | |
-vcodec libx264 \ | |
-pix_fmt yuv420p \ | |
output.mp4 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-pix_fmt yuv420p
sets the chroma subsampling scheme to Y'CrCb 4:2:0 needed by QT Player