← All tools
Convert video format
Videovideo.transcode
in: videoout: video
Re-encode a video to a different container/codec.
Pricing
- Price
- 6.25 cr / second
Prices in credits (1 credit = $0.01).
Convert Video Format
Re-encode a video file from one container/codec combination to another.
When to use
- Compress large videos for web delivery (MOV → MP4 H.264, lower bitrate).
- Transcode for compatibility (HEVC → H.264 for older browsers).
- Re-encode for streaming with target bitrate constraints.
Inputs & outputs
| Input modality | Video file (URL) |
| Output modality | Video file (GCS URL) |
| Max input duration | 30 min |
| Max input size | 5 GB |
Parameters
| Param | Required | Description |
|---|---|---|
format | yes | Output container — mp4, webm, mov |
codec | no | Video codec — h264, h265, vp9. Defaults to best for format. |
bitrate | no | Target bitrate as <int>[k|M], e.g. 2M, 500k |
Examples
Compress to web-friendly MP4
{
"type": "video.transcode",
"input": { "video_url": "gs://infery-prod-media/example/input.mov" },
"params": { "format": "mp4", "codec": "h264", "bitrate": "2M" }
}
Convert to WebM VP9
{
"type": "video.transcode",
"input": { "video_url": "gs://infery-prod-media/example/input.mov" },
"params": { "format": "webm", "codec": "vp9", "bitrate": "1M" }
}
Pricing
Billed per second of output video. See pricing dashboard for current rates.
Related capabilities
video.trim— extract a time range before transcodingvideo.scale— resize dimensionsvideo.pipeline— chain transcode with other ops in a single execution
Examples
MOV → MP4 H.264
{
"format": "mp4",
"codec": "h264",
"bitrate": "2M"
}Compress to WebM VP9
{
"format": "webm",
"codec": "vp9",
"bitrate": "1M"
}