跳到主要内容

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