convert_media
Convert video and image files to the output path's format with selectable Moviola grey telecinema presets; each run is logged to SQLite with before/after bytes and dimensions for auditing.
Instructions
Convert any video/image file to the output path's format.
The preset shapes the pixels (standard = NTSC-J 8-bit grey 8 colours, intersect = 1-bit overcalc grey, torch = intersect at 5 fps and 360p/480p, canine = Canine Logic Moviola Tessersect 90 fps 120p-cell 4x4 collage, passthrough = no Moviola filter, which for gif to mp4 reproduces the OpenCode plugin transcode). The output extension chooses the container: gif, mp4, webm, webp, png, jpg and anything else ffmpeg muxes. Resolution may be chosen in lines (height, the p metric) or in DPI at a named reference width (pixels = dpi * inches), never both. Every conversion is recorded in moviola.db; the result carries before/after bytes and the ratio.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| crf | No | ||
| dpi | No | ||
| fps | No | ||
| height | No | ||
| output | Yes | ||
| preset | No | standard | |
| source | Yes | ||
| db_path | No | ||
| verbose | No | ||
| ffmpeg_dir | No | ||
| timeout_seconds | No | ||
| reference_width_inches | No |