Skip to content

Instantly share code, notes, and snippets.

@osolmaz
Created June 17, 2019 14:25
Show Gist options
  • Save osolmaz/3a9b954bd6a3133f1cf01f8ad4045714 to your computer and use it in GitHub Desktop.
Save osolmaz/3a9b954bd6a3133f1cf01f8ad4045714 to your computer and use it in GitHub Desktop.
Compress MP4's from GoPro w/ Metadata
for i in *.MP4; do ffmpeg -i $i -c:v libx264 -crf 23 -preset medium -c:a aac -b:a 128k -movflags +faststart -vf scale=-2:720,format=yuv420p -map_metadata 0 out/$i; done
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment