metasyn-icon
pastel rainbow stripes

spellbook

Notes for things I find myself searching for over and over. I know they’re faster to find here than somewhere else.

ffmpeg

ffmpeg -framerate 30 -i name%4d.webp -c:v libvpx-vp9 -pix_fmt yuva420p -lossless 1 out.webm
ffmpeg -i input.webm -vf reverse reverse.webm
> cat input.txt
file 'one.webm'
file 'two.webm'

ffmpeg -f concat -i input.txt -c copy output.webm

imagemagick

convert INPUT_FILE -rotate "+90" OUTPUT_FILE
convert INPUT_FILE -resize 70% OUTPUT_FILE
convert INPUT_FILE -resize 640x480 OUTPUT_FILE

use mogrify for processing multiple files at once generally

convert INPUT -channel RGB -negate OUTPUT
convert INPUT -transparent white OUTPUT

last updated:

2023.01.16