Last active
June 29, 2021 21:18
-
-
Save melMass/65ea5c71afb0411c19c6292b3bbd7c52 to your computer and use it in GitHub Desktop.
My most used ffmpeg command combination
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
# Convert all mov in $PWD to png sequences in subfolders | |
for x in *.mov; do mkdir "${x%.*}" && ffmpeg -i $x "${x%.*}"/"${x%.*}_%04d.png"; done | |
# H264 Animation | |
ffmpeg -i input.mov -c:v libx264 -pix_fmt yuv420p -movflags +faststart -preset veryslow -tune animation out.mp4;done |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment