Slow motion - Multipart
POST {{video-api-server}}/slow-motion/upload?start_time=00:00:05&end_time=00:00:15
This endpoint allows the user to upload a video and specify the start and end time for creating a slow-motion effect.
Request Params
Key | Datatype | Required | Description |
---|---|---|---|
start_time | string | Time from the input video where the slow motion effect should start, specified as <code>HH:MM:SS.MS</code>. | |
end_time | string | Time from the input video where the slow motion effect should end, specified as <code>HH:MM:SS.MS</code>. | |
crop | string | width,height,x,y |
-
width, height: Sides in pixels of the cropped window
-
x, y: Top-left coordinates to align the crop window's top-left corner (optional, default = 0, 0) | |
resize
| string | | width,height -
Target size of the converted video. If only one value is specified, it is interpreted as height and the aspect ratio is kept. | |
rotate
| number | | Degrees to rotate to: -
Positive values rotate clockwise
-
Negative - counterclockwise |
Request Body
[{"name"=>"file", "value"=>nil, "datatype"=>"null"}]
HEADERS
Key | Datatype | Required | Description |
---|---|---|---|
Filerobot-Token | string | Filerobot project identifier, aka token | |
Filerobot-Key | string | Filerobot API key |
RESPONSES
status: OK
{"status":"ok","version":2.14,"result":[{"uuid":"ec475bda-888a-4ed4-bd82-52265e46c415","file":"big_buck_bunny","slow_motion":"https://fbmjmuoeb.filerobot.com/https://filerobot.s3.eu-west-3.amazonaws.com/fbmjmuoeb/slow_motion_videos/xYlQV_big_buck_bunny/big_buck_bunny_slow_motion.mp4","sha1":"0181d7880acf0c443a57cd2510a5b81447fa577e","progress":"https://api.filerobot.com/fbmjmuoeb/v4/video-status/ZXUtb3YtNzA2LWdyYTIuZWxhc3RpYy11cGxvYWRlci5haXJzdG9yZS5zY2FsM2ZsM3guY29tOjg3MzI__ec475bda-888a-4ed4-bd82-52265e46c415"}]}