Forrest logo
back to the for tool

for:ai:4ba58

fedora convert multiple mov files to mp4
$ for i in *.mov; do ffmpeg -i $i -c:v libx264 -crf 23 -preset medium -c:a aac -b:a 128k ${i%.*}.mp4; done
try on your machine

Converts all .mov files in the current directory to .mp4 using ffmpeg with libx264 video codec, aac audio codec, and specified quality settings.

This explanation was created by an AI. In most cases those are correct. But please always be careful and never run a command you are not sure if it is safe.

Questions that are answered by this command:

  • fedora convert multiple mov files to mp4?
back to the for tool