usage: riteg [-h] [-o <path>] [-s <w>:<h>] [-f <fps>] [-c <count>] <pipeline> [paths...]
options:
-h : print this message and exit
-o <path> : specify output path. FFmpeg path formatting works.
-s <w>:<h> : specify rendering frame size.
-f <fps> : specify fixed framerate (frametime = 1 / FPS).
-c <count> : specify maximum amount of frames to export.
riteg json/vhs.v5.json
riteg json/vhs.v5.json media/vhs43-05.png
NOTE: it displays an error message because FFmpeg has a hard time comprehending the fact that it is being abused into per-single-image processing.
riteg -o test.png json/vhs.v5.json media/vhs43-05.png
mkdir -p dist
riteg -o dist/%04d.png -f30 -c300 json/vhs.v5.json media/vhs43-05.png
riteg -o dist.mp4 -f30 -c300 json/vhs.v5.json media/vhs43-05.png
riteg -o amengus.mp4 -s 1280:960 json/vhs.v5.json media/ffmpeg43-amengus.mp4
The library (as of now) uses FFmpeg libraries to read and write image data. Paths with image sequences can be formatted using %d
subset of sprintf
format specification.