Created
May 3, 2020 20:55
-
-
Save segrax/ad34d87292b30fb3ca1fb23b0c7c7d22 to your computer and use it in GitHub Desktop.
Useful FFMPEG commands
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
# Cut a video from 23 seconds in, for 7 seconds duration | |
ffmpeg -ss 00:00:23 -i videoplayback.mp4 -t 00:07 out.mp4 | |
#transpose | |
# 0 = 90CounterCLockwise and Vertical Flip (default) | |
# 1 = 90Clockwise | |
# 2 = 90CounterClockwise | |
# 3 = 90Clockwise and Vertical Fli | |
ffmpeg -r %framerate% -f concat -safe 0 -i images.txt -vf "transpose=2" -c:v libx264 -crf 16 -pix_fmt yuv420p video.mp4 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment