This note is for using ffmpeg on a linux machine (bash). See full script below:
LOGLEVEL="panic" #info, warning, panic OUTDIR="output" for FNAME in materials/*.mp4; do FNAME2=$(basename "$FNAME") echo ${FNAME2%.mp4} # crop the useful part of the video ffmpeg -nostdin -i "$FNAME" -loglevel $LOGLEVEL -filter:v "crop=1488:837:10:50" -c:a copy -an -y "buf1.
Last updated on
2020 Feb 1 Sat
1 min read