1
Fork 0

Swap timestamp and input order to prevent keyframe freeze at video start.

This commit is contained in:
Bauke 2023-01-21 13:09:33 +01:00
parent ea44a161a4
commit 051e4fbf9a
Signed by: Bauke
GPG Key ID: C1C0F29952BCF558
1 changed files with 1 additions and 1 deletions

View File

@ -1,7 +1,7 @@
# Copies a section from a video using ffmpeg.
# extract-clip <input file> <start timestamp> <end timestamp> <output file>
extract-clip () {
ffmpeg -i "$1" -ss "$2" -to "$3" -c copy "$4"
ffmpeg -ss "$2" -i "$1" -to "$3" -c copy "$4"
}
# Creates a new signed, annotated git tag.