i’ve gotten tired of being told what i can and can’t do with computers and, to a
greater extent, life.
the promise of computing was that it would set you free from the tyranny of
pointless labor. it has, instead, increased our labor a thousand fold but i’ll
be elaborating on that in another post.
one’s life isn’t simply a sum of experiences but also a sum of what how those
experiences were directed and, anymore, those experiences are directed in the
manner that directly manipulates people to be nothing more than one dimensional brands.
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:
(one at a time)
convert image.jpg -resize “200>” newimage.jpg
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.
(batch convert from raw to jpeg)
mogrify -format jpg *.CR2
##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
(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!