imagemagick and ffmpeg cheat sheet

Make a sprite from photos

magick.exe  *.jpg +append sprites_P0100.jpg

Resize all images in place

magick.exe mogrify -resize 380 *.jpg

Crop images in place

magick.exe mogrify -crop 3200x3200+400+400 *.jpg

Make and scale video from images

ffmpeg  -i DSC_%04d.jpg -c:v libx264 -vf fps=25 scale=800:800  alpin_400.mp4

By mgorecki

Leave a comment

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.