Proxy worker: failed jobs for odd-dimension images and truncated ProRes captures #13
Loading…
Reference in a new issue
No description provided.
Delete branch "%!s()"
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?
Resolved (SVG side) in commit
508e978.The original IMAGE_CODECS set in
services/worker/src/workers/proxy.jscovered raster formats (png,mjpeg,jpeg,webp,gif,tiff,bmp,jpegls) but notsvg. An uploaded SVG was correctly taggedmedia_type='image'in the DB, but ffprobe reported codecsvg, which fell through to the video branch, founddurationMs===null, and died withEmpty or truncated source: codec=svg, resolution=0x0.Two changes:
'svg'to IMAGE_CODECS.media_type === 'image', even if ffprobe returns an unknown codec name (so AVIF/HEIF/JPEG-XL will Just Work in future).Truncated-ProRes side: the existing 4-KB lower-bound check + the new clear-error wording (
Source is empty or truncated (N bytes)…) is what's exposed to the operator now. Bigger structural fixes for odd-dimension videos and ProRes prober quirks aren't in scope here; if those show up again, please file a fresh issue with the specific input.Closing.