Last active
March 7, 2019 23:31
-
-
Save gregkepler/b74f2af84ee9e9696783039411e28fb0 to your computer and use it in GitHub Desktop.
ffmpeg trim
This file contains hidden or 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
// -ss: start time | |
// -t: duration | |
ffmpeg -i in.mp4 -ss 00:00:50 -t 00:00:20 -async 1 out.mp4 | |
// cropping https://www.bogotobogo.com/FFMpeg/ffmpeg_cropdetect_ffplay.php | |
ffmpeg -i in.mp4 -vf crop=1920:800:0:140 -ss 00:00:50 -t 00:00:30 -async 1 -crf out.mp4 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment