Created
August 8, 2022 16:17
-
-
Save cameroncowden/a24edf69b83e1c6683a9498f7ac9a437 to your computer and use it in GitHub Desktop.
use ffmpeg to optimize a mov file for a shopify site (accepts mp4 only). Note: usings the downloadable executable ffmpeg, hence the ./
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 -y -i input.mov -c:v libx264 -crf 30 -profile:v high -pix_fmt yuv420p -color_primaries 1 -color_trc 1 -colorspace 1 -movflags +faststart -an output.mp4 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment