List of Commands

Sometimes it’s just easier to work in the command line and run batch operations without having to worry about opening photoshop, making actions, etc.

You can do this stuff on Windows, however, since I run both systems on several computers I favor batch operations in linux. More will come but here’s my current jam:

#Imagemagick

##make thumbnails: (one at a time) convert image.jpg -resize “200>” newimage.jpg

(batch) mogrify -resize “200>” -path thumbs *.jpg

##make smaller file: mogrify -resize “1500>” -path thumbs *.jpg

*the 200> and 1500> tells it to make the largest side that size in pixels.

##convert formats: (batch convert from raw to jpeg) mogrify -format jpg *.CR2


#FFMPEG

##video from stills:

(default framerate = 30 fps) ffmpeg -i INPUTNAME%06d.jpg OUTPUT.mp4

(adjusted framerate to 1 fps) ffmpeg -framerate 1 -i INPUTNAME%06d.jpg OUTPUT.avi

*the %06d in the above input names designates the frame order with digits so it’d normally look like: INPUTNAME000001.jpg, INPUTNAME000002.jpg,…,INPUTNAME999999.jpg

##adding cluts:

(preview clut before making video) ffplay -i INPUTVIDEO.mp4 -vf “movie=CLUTFILE.png, [in] haldclut”

(make video with chosen clut) ffmpeg -i INPUTVIDEO.mp4 -vf “movie=CLUTFILE.jpg, [in] haldclut” OUTPUTVIDEO.mp4

(add boxblur for good measure):

ffmpeg -i INPUTVIDEO.mp4 -vf “movie=resizedClutsPNG/433-clut.png, [in] haldclut, boxblur=2:1” OUTPUTVIDEO.mp4

*for a little more detail on ffmpeg filters here’s their docs: filters!