I finally decided to rewrite vidmod, my helper script for ffmpeg to do simple video edits, and made it modular using plugins.
Also created something similar for images with the new imgmod using ImageMagick 7.
Both vidmod v2 and imgmod are available in remutils as well as via my Homebrew cask homebrew-remino.
imgmod 1.4.1
USAGE: imgmod <command> [<options>] [<args>]
Image modification helpers.
COMMANDS:
chain Run multiple imgmod plugins in sequence.
completion Shell completion data.
newplugin Create a new imgmod plugin.
optim Optimize an image directly with image_optim.
png8 Convert an image to PNG8.
scale4x Scale an image 4x without smoothing.
socshare Crop and resize an image to 1200x630 for social sharing.
vidframe Extract one frame from a video as an image.
OPTIONS:
-h Show this help screen.
-n Create a new plugin. Names create XDG plugins; paths create files exactly there.
-o Optimize plugin image outputs with image_optim.
-v Show script name and version number.
Plugins are executable files found in XDG data directories under imgmod/plugins,
or in the bundled plugins directory next to this script.
vidmod 2.4.2
USAGE: vidmod <command> [<options>] [<args>]
Video modification helpers.
COMMANDS:
169 Set display aspect ratio to 16:9.
43 Set display aspect ratio to 4:3.
60fps Change frame rate to 60 fps.
audio Extract audio without video.
butter Smooth motion with butterflow.
chain Run multiple vidmod plugins in sequence.
completion Shell completion data.
crop219 Crop video to 21:9.
crossfade Create a crossfade with vidcrossfade.
fit1080 Fit video into a centered 1920x1080 black frame.
hevc Encode video as HEVC/H.265.
loop Duplicate the video once into a looped file.
mono Convert audio to mono.
mp4 Convert video to MP4.
mute Remove audio.
newplugin Create a new vidmod plugin.
qt Make a QuickTime-friendly copy.
reverse Reverse video and audio.
rotate90 Rotate video 90 degrees clockwise.
rotate180 Rotate video 180 degrees.
rotate270 Rotate video 270 degrees clockwise.
slowdown Slow video and audio to 80% speed.
twitter Encode video for Twitter/X upload.
OPTIONS:
-h Show this help screen.
-n Create a new plugin. Names create XDG plugins; paths create files exactly there.
-v Show script name and version number.
Plugins are executable files found in XDG data directories under vidmod/plugins,
or in the bundled plugins directory next to this script.