Splitscreen with zoom

POST https://api.shotstack.io/{{ENV}}/render

A splitscreen effect where one half of the video is zoomed in larger than the other.

Splitscreen crop example

Example MP4

Request Body

{"timeline"=>{"soundtrack"=>{"src"=>"https://feeds.soundcloud.com/stream/824693758-unminus-majesty.mp3", "effect"=>"fadeOut"}, "background"=>"#000000", "tracks"=>[{"clips"=>[{"asset"=>{"type"=>"title", "text"=>"CROP ZOOM DEMO", "style"=>"future", "size"=>"x-small", "position"=>"bottomLeft"}, "start"=>0, "length"=>4, "transition"=>{"in"=>"fade", "out"=>"fade"}}]}, {"clips"=>[{"asset"=>{"type"=>"video", "src"=>"https://shotstack-assets.s3-ap-southeast-2.amazonaws.com/footage/surfers.mp4", "crop"=>{"left"=>0.25, "right"=>0.25}}, "start"=>0, "length"=>5, "offset"=>{"x"=>-0.25}}]}, {"clips"=>[{"asset"=>{"type"=>"video", "src"=>"https://shotstack-assets.s3-ap-southeast-2.amazonaws.com/footage/surfers.mp4", "crop"=>{"top"=>0.248, "bottom"=>0.25}}, "start"=>0, "length"=>5, "offset"=>{"x"=>0.25}, "scale"=>2}]}]}, "output"=>{"format"=>"mp4", "resolution"=>"sd"}}

HEADERS

KeyDatatypeRequiredDescription
cache-controlstring
content-typestring
postman-tokenstring
x-api-keystring