The following bash script will use ffmpeg to re-encode. Re-encoded output will have -ff appended to the file name
for i in *.mp4; do name=`echo $i | cut -d'.' -f1`; echo $name; ffmpeg -i "$i" -c:v h264 "$name-ff".mp4 done
· Sign up or log in to comment