Video filter 300 s source cap: trim a long clip first, then filter
Sume video filter rejects sources over 300 seconds while trim and detach take 1800. The output_duration_exceeded error, and a trim then filter order that fits.

Sume video filter works on clips up to 300 seconds. A longer source fails in the worker with output_duration_exceeded. Video trim and audio detach are more generous: both accept sources up to 1800 seconds, with a 900-second output cap. The caps come from the contract, as the video filter docs and video trim docs quote them, read 2026-10-05.
The 300 second ceiling is described as the compose clip ceiling, one shot rather than a show. If you have a 12-minute recording and want it dimmed or cropped, trim a part out first.
Trim, then filter
Because every step reads a media.sume.com file and returns a new artifact, you can chain them: the trim result video_url goes straight into the filter request.
- Submit
video-trimwithstartanddurationof 300 or less. Useprecision: "exact"if the next step is a filter. - Poll
GET /v1/jobs/:id/result, and readvideo_urlfrom the trim result. - Submit
video-filterwith that URL and yourops.
Cost of the chain
| Step | Rate | Source cap |
|---|---|---|
| Video trim | $0.02 per job | 1800 s |
| Video filter | $0.02 per encode | 300 s |
| Filter check | Free | n/a |
Two jobs cost $0.04 in total, and the intermediate trim file is a normal artifact you can reuse. Neither job calls a model, since both run only worker ffmpeg. For the live prices, GET /v1/catalog is the source of truth.
Sources
Related posts
More in Media tools
- Dry-run a Sume video crop with video-filter check before a batch
POST /v1/video-filter/check validates a crop program without a job, credits or an encode. Run it first, then crop a batch of ad clips for new ratios.
- Video filter hdr_source_unsupported: what to do with an HDR clip
A Sume video filter job fails with hdr_source_unsupported on PQ or HLG clips. Why the filter refuses them, and three ways to get a usable result.
- video_filter_ops_empty 400: run video-filter/check before paying $0.02
video_filter_ops_empty means no ops[] and no filtergraph. Send one dim or crop op, or a filtergraph, and call the free /v1/video-filter/check first.
- Video filter unsupported_pixel_format: why a non-YUV source fails
Sume video filter only accepts sources with a YUV pixel format. What unsupported_pixel_format means, how to spot it with video inspect, and how to fix it.
Written by Sume