summaryrefslogtreecommitdiff
path: root/dot/local/bin/vseg
diff options
context:
space:
mode:
Diffstat (limited to 'dot/local/bin/vseg')
-rwxr-xr-xdot/local/bin/vseg8
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
2input_file=$1
3output_file=$2
4start_time=$3
5end_time=$4
6
7exec ffmpeg -ss "$start_time" -i "$input_file" -to "$end_time" -c copy -copyts "$output_file"
8