Compress videos using the Shotstack cloud based video compressor API. Use the cloud based API to seamlessly transcode and compress media.
Get StartedShotstack is the most user friendly, powerful and reliable infrastructure solution to automatically compress video.
{
"timeline": {
"background": "#000000",
"tracks": [
{
"clips": [
{
"asset": {
"type": "video",
"src": "https://shotstack-ingest-api-v1-au.s3.ap-southeast-2.amazonaws.com/62hne3bb81/zzyb59hr-40pm-1t1j-xkqm-1uooql4lmrbi/source.m4v",
"trim": 2
},
"start": 0,
"offset": {
"x": 0,
"y": 0
},
"position": "center",
"length": 6
}
]
}
]
},
"output": {
"size": {
"width": 1280,
"height": 720
},
"format": "mp4",
"quality": "low"
}
}Learn how to automatically compress video via API
Unlimited developer sandbox
No credit card required