Monday, March 27, 2017

ffmpeg cut video script

#!/bin/bash
echo " "
START="$3"
DURATION="$4"
INPUT="$1"
OUTPUT="$2"
shift 4
ffmpeg -ss "$START" -i "$INPUT" "$@" -acodec copy -vcodec copy -t "$DURATION" "$OUTPUT"

No comments: