By: Michael Lynch <git@mtlynch.io>
Test convert orchestration without invoking ffmpeg The AVIF tests shelled out to a real ffmpeg binary, which is slow, environment-dependent, and silently skipped when ffmpeg was absent. They also only verified ffmpeg's own encoding output rather than logic this repo owns. Export WriteConvertedFile and AnimatedAVIFFmpegArgs (mirroring the already-exported VideoFileToWebM) so external tests can exercise the real orchestration with a fake convert func: stream-vs-file source path, source-file preservation, destination temp lifecycle, and error propagation. A pure-function test asserts the ffmpeg arg list. No test invokes a real encoder. Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>