Skip to content

Instantly share code, notes, and snippets.

@sumitasok
Last active October 19, 2020 08:06
Show Gist options
  • Save sumitasok/390ad70092fa7a22e99dd0b786a7dde1 to your computer and use it in GitHub Desktop.
Save sumitasok/390ad70092fa7a22e99dd0b786a7dde1 to your computer and use it in GitHub Desktop.
Convert mov files in a folder to mp4 using ffmpeg
# cd to the folder where you have your .mov video files.
find . -name \*.mov -print0 | xargs -0 -I{} ffmpeg -i {} -f mp4 -vcodec libx264 -preset fast -profile:v main -acodec aac -vf scale=1024:576 {}.mp4
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment