summaryrefslogtreecommitdiff
path: root/dot/local/bin/vseg
blob: f1c33266e0cb06c9e431f44a66c5c53b444da5a8 (plain)
1
2
3
4
5
6
7
8
#!/bin/sh
input_file=$1
output_file=$2
start_time=$3
end_time=$4

exec ffmpeg -ss "$start_time" -i "$input_file" -to "$end_time" -c copy -copyts "$output_file"