mirror of
https://github.com/storytold/effectcraft.git
synced 2026-10-23 12:13:04 -05:00
#154: renderQueue.add (and render.addOutputModule) applied `format`, then dropped it before applying the output path, so `--format hevc --out x.mp4` saw the .mp4 extension and switched the module back to H.264 (and ProRes / VP9 for .mov / .webm). An explicit format now wins and a mismatched extension follows it (x.webm → x.mp4 for AV1), as choosing a format in the Output Module renames Output To; an extension that agrees with the format keeps the name as given. The format error lists hevc and av1 everywhere (one FORMATS string). #155: a `comp` that names no composition (name or id) failed with "no active composition". comp_id now reports it as `no composition "Nope"` (EngineError::NoSuchComp), and comp_for_queue passes that on instead of collapsing it. Tests: an_explicit_format_wins_over_the_output_extension and an_unknown_comp_is_named_in_the_error (engine). Checked with the CLI: the files are hevc/hvc1 and av1/av01 and decode cleanly with ffmpeg. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>