049696ae

Author: Michael Lynch <git@mtlynch.io>

Committer: Michael Lynch <mtlynch@noreply.codeberg.org>

Preserve GIF timing in Tinybeans AVIF imports (#66)

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.

Reviewed-on: https://codeberg.org/mtlynch/little-moments/pulls/66
Co-authored-by: Michael Lynch <git@mtlynch.io>
Co-committed-by: Michael Lynch <git@mtlynch.io>

Suite timing

Time to Start Worker time Duration Time to finish
Config 1s 1s 1s 3s
Eval 3s 33s 33s 36s
Build 4s 43s 16s 20s
Test - - - -
Deploy - - - -
Suite 1s 1m17s 34s 36s

Timeline

0s10s20s30s