Operations
Video Operations
Video processing operations — transcode, trim, stream, and more
Documentation Index
Fetch the complete documentation index at: /llms.txt
Use this file to discover all available pages before exploring further.
Video processing operations — transcode, trim, stream, and more
{ "type": "video_transcode", "params": { "format": "mp4", "codec": "h264", "resolution": "720p" } }
| Param | Type | Description |
|---|---|---|
| format | string | Output format: mp4, webm, mkv, avi |
| codec | string | Video codec: h264, h265, vp9, av1 |
| resolution | string | Target resolution: 480p, 720p, 1080p, 4k |
| bitrate | string | Target bitrate (e.g., “2M”) |
| crf | integer | Constant rate factor (0-51, lower = better quality) |
{ "type": "video_trim", "params": { "start": "00:00:10", "end": "00:00:30" } }
{ "type": "video_thumbnail", "params": { "time": "00:00:05", "width": 640 } }
{ "type": "video_gif", "params": { "start": "00:00:00", "duration": 5, "width": 480, "fps": 15 } }
{ "type": "video_hls", "params": { "segment_time": 6 } }
{ "type": "video_dash", "params": { "segment_time": 4 } }
{ "type": "video_speed", "params": { "factor": 2.0 } }
{ "type": "video_rotate", "params": { "angle": 90 } }
{ "type": "video_aspect-ratio", "params": { "ratio": "16:9", "mode": "pad" } }
{ "type": "video_framerate", "params": { "fps": 30 } }
{
"input": ["https://example.com/part1.mp4", "https://example.com/part2.mp4"],
"operations": [{ "type": "video_concat" }]
}
{ "type": "video_burn-subtitles", "params": { "subtitle_url": "https://example.com/subs.srt" } }
{ "type": "video_subtitle-extract" }
{ "type": "video_overlay-text", "params": { "text": "Hello World", "x": 10, "y": 10, "fontsize": 24 } }
{ "type": "video_preview-clip", "params": { "duration": 15 } }
{ "type": "video_thumbnail-strip", "params": { "count": 10, "width": 160 } }
{ "type": "video_probe" }
{ "type": "video_silence-detect", "params": { "threshold": -30, "duration": 1.0 } }
{ "type": "video_scene-detect", "params": { "threshold": 0.3 } }
{ "type": "video_black-detect", "params": { "threshold": 0.1, "duration": 0.5 } }