295510a5

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>

Suite timing

Time to Start Worker time Duration Time to finish
Config 2s 7s 7s 9s
Eval 6s 48s 48s 55s
Build 12s 8m16s 1m22s 1m35s
Suite 2s 9m12s 1m33s 1m35s

Timeline

0s10s20s30s40s50s1m1m10s1m20s1m30s