Skip to main content

ffmpeg

Common Use Case

Compress all images under a directory

mkdir backup
for file in *.png; do ffmpeg -i "$file" -compression_level 100 -y "backup/${file}_compressed.png"; done