Last active
October 15, 2019 11:26
-
-
Save NISH1001/f1b3f682219a2d11d482bb9a785f21fc to your computer and use it in GitHub Desktop.
crop video using ffmpeg
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
# WIDTH:HEIGHT:Xstart:Ystart | |
ffmpeg -i output.mp4 -filter:v "crop=700:1170:0:50" cropped.mp4 | |
# cut video | |
ffmpeg -ss 00:03:00.8 -i test.mp4 -c copy -t 00:00:02.2 output.mp4 -y | |
# embed subtitle | |
ffmpeg -i inp.mp4 -vf ass=subtitles.ass out.mp4 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment