Skip to content

Instantly share code, notes, and snippets.

@607011
Created November 1, 2023 08:25
Show Gist options
  • Save 607011/18f36d461f746112f06c16d5055ee549 to your computer and use it in GitHub Desktop.
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
ffmpeg -i input.mov \
-y \
-vcodec libx264 \
-pix_fmt yuv420p \
output.mp4
@607011
Copy link
Author

607011 commented Nov 1, 2023

-pix_fmt yuv420p sets the chroma subsampling scheme to Y'CrCb 4:2:0 needed by QT Player

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment