Created
November 6, 2016 11:20
-
-
Save mushtaq/c5d6b846eff509789e4f062922c86851 to your computer and use it in GitHub Desktop.
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
#!/bin/bash | |
file=$1 | |
ffmpeg -ss 00:00:00 -t 02:00:00 -i $file -c copy "${file%.*}_part1.mp4" | |
ffmpeg -ss 02:00:00 -t 04:00:00 -i $file -c copy "${file%.*}_part2.mp4" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment