Swap timestamp and input order to prevent keyframe freeze at video start.
This commit is contained in:
parent
ea44a161a4
commit
051e4fbf9a
|
@ -1,7 +1,7 @@
|
||||||
# Copies a section from a video using ffmpeg.
|
# Copies a section from a video using ffmpeg.
|
||||||
# extract-clip <input file> <start timestamp> <end timestamp> <output file>
|
# extract-clip <input file> <start timestamp> <end timestamp> <output file>
|
||||||
extract-clip () {
|
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.
|
# Creates a new signed, annotated git tag.
|
||||||
|
|
Loading…
Reference in New Issue