In case anyone need to bulk re-encode the outputs so it could play on MacOS/iPhone natively

#5
by Norod78 - opened

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