3fa747fb

By: Michael Lynch <git@mtlynch.io>

Preserve GIF timing in Tinybeans AVIF imports

The previous ffmpeg invocation hard-coded libaom-av1 and let ffmpeg
resample GIF frame delays. On current ffmpeg builds that either failed or
flattened the original GIF timing into a synthetic constant rate.

Select the available AV1 encoder up front, centralize the ffmpeg argument
construction, and pass through the GIF centisecond time base so imported
animated AVIFs play at the intended speed.

Suite timing

Time to Start Worker time Duration Time to finish
Config 0s 1s 1s 1s
Eval 1s 41s 41s 42s
Build 3s 2m45s 59s 1m03s
Test - - - -
Deploy - - - -
Suite 0s 3m27s 1m02s 1m03s

Timeline

0s10s20s30s40s50s1m