Created
April 30, 2019 13:52
-
-
Save tairov/35df86022e1de5520b7f8027e325ccd0 to your computer and use it in GitHub Desktop.
cut video with ffmpeg
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
#!/usr/bin/env bash | |
# INPUT_SRC=input.mp4 | |
INPUT_SRC=input.mp4 | |
START_TIME=00:39:51 | |
END_TIME=00:40:29 | |
echo Start processing | |
ffmpeg -ss $START_TIME -i $INPUT_SRC -acodec copy -vcodec copy -c copy -to $END_TIME output2.mp4 | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment