diff options
Diffstat (limited to 'dot/local/bin/vseg')
-rwxr-xr-x | dot/local/bin/vseg | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/dot/local/bin/vseg b/dot/local/bin/vseg new file mode 100755 index 0000000..f1c3326 --- /dev/null +++ b/dot/local/bin/vseg | |||
@@ -0,0 +1,8 @@ | |||
1 | #!/bin/sh | ||
2 | input_file=$1 | ||
3 | output_file=$2 | ||
4 | start_time=$3 | ||
5 | end_time=$4 | ||
6 | |||
7 | exec ffmpeg -ss "$start_time" -i "$input_file" -to "$end_time" -c copy -copyts "$output_file" | ||
8 | |||