Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
compress mp4 format video
for f in *.mp4;
do
ffmpeg -i "$f" -vcodec libx264 -crf 28 cpmmp4/"${f%.mp4}".mp4
done
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment