Add the prober: run ffprobe on a presigned URL and classify the result #4
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "probing"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Adds
Prober, which runsffprobe -show_format -show_streamson a presigned URL and returns aMediaProbeSubmission, or throwsProbeErrorfor a transient failure. The loop that calls it comes in the next PR.moovatom). Other "Invalid data" and unusable JSON are permanent. Anything not recognised is transient. Error messages have the URL stripped, because it carries the presigning signature.PROBE_TIMEOUT_SECONDS(default 120). ffprobe is killed when it runs out, and that counts as transient.moovatom at the end. No-probesizeneeded.hdrisnullrather thanfalsewhen no colour transfer is tagged.Tests run real ffprobe on clips generated with ffmpeg (skipped without it), including one probe over an in-process Range server. The Dockerfile's
teststage now installs ffmpeg so they also run on Linux.🤖 Generated with Claude Code