Transcode Media Via API

Build automated image and video editing workflows and applications with Shotstack.

GET STARTED FOR FREE Example

The internet's most advanced image and video editing API

Shotstack is the most user friendly, powerful and reliable infrastructure solution to programmatically transcode media.

GET STARTED FOR FREE

The only thing you need is some JSON

{
"timeline": {
"background": "#000000",
"tracks": [
{
"clips": [
{
"asset": {
"type": "video",
"src": "https://shotstack-ingest-api-v1-au.s3.ap-southeast-2.amazonaws.com/62hne3bb81/zzyb4whq-4wqd-f54j-emu3-32akqm3bytth/source.avi"
},
"start": 0,
"length": 7,
"transition": {
"out": "fade"
}
}
]
}
]
},
"output": {
"format": "mp4",
"size": {
"width": 640,
"height": 360
}
}
}

Tutorials & Resources

Learn how to programmatically transcode media via API

Demo's & Code Examples

Programmatically Transcode media by using demo code

Pexels Video Maker
Pexels Video Maker

Search the Pexels stock footage video library and the Shotstack API will automatically compile an edit with music and a title

Go to demo

Compress Video
Compress Video

Video file compressor reduces the file size of a video by reducing it's resolution, frames-per-second (fps) and compression settings

Go to demo

Trim Video
Trim Video

Upload a video and trim the start and end to create a shortened clip using the Shotstack video editing API

Go to demo