Transcode Video
GPU-accelerated video transcoding using NVENC hardware encoder — MP4, WebM, AVI, MKV with H.264, H.265, VP9, AV1 codecs.
GET
1 credit
/v1/video/transcode
curl "https://video.toolkitapi.io/v1/video/transcode?video_url=https://example.com/video.mp4&output_format=mp4&codec=h264&quality=medium"
import httpx
resp = httpx.get(
"https://video.toolkitapi.io/v1/video/transcode?video_url=https://example.com/video.mp4&output_format=mp4&codec=h264&quality=medium",
)
print(resp.json())
const resp = await fetch("https://video.toolkitapi.io/v1/video/transcode?video_url=https://example.com/video.mp4&output_format=mp4&codec=h264&quality=medium", {
});
const data = await resp.json();
console.log(data);
# See curl example
Response
200 OK
{
"status": "ok",
"output_url": "https://storage.example.com/video/output.mp4",
"format": "mp4",
"duration_seconds": 120.0,
"task_id": "abc123"
}
Try It Live
Live Demo
Response
Description
GPU-accelerated video transcoding using NVENC hardware encoder — MP4, WebM, AVI, MKV with H.264, H.265, VP9, AV1 codecs.
How to Use
1
1. Provide a publicly accessible video URL.
2
2. Choose an output format: `mp4`, `webm`, `avi`, or `mkv`.
3
3. Select a codec: `h264` (best compatibility), `h265` (better compression), `vp9`, or `av1`.
4
4. Set the quality preset: `low`, `medium`, `high`, or `lossless`.
About This Tool
GPU-accelerated video transcoding using NVENC hardware encoder. Convert videos between MP4, WebM, AVI, and MKV formats with H.264, H.265, VP9, or AV1 codecs.
Choose between low, medium, high, and lossless quality presets. NVENC encoding is 5-10× faster than software encoding.
Start using Transcode Video now
Get your free API key and make your first request in under a minute.