7c5329c2

By: Michael Lynch <git@mtlynch.io>

Derive video duration during processable video construction

NewProcessableVideo now accepts a function that derives duration from the video path. This keeps duration validation inside ProcessableVideo construction while letting callers provide the probing implementation.

Suite timing

Time to Start Worker time Duration Time to finish
Config 2s 5s 5s 7s
Eval 6s 1m40s 1m40s 1m47s
Build 11s 8m46s 2m25s 2m36s
Suite 2s 10m32s 2m34s 2m36s

Timeline

0s10s20s30s40s50s1m1m10s1m20s1m30s1m40s2m20s2m30s