Subtitles - URL
POST {{video-api-server}}/subtitles/url
Request Params
Key | Datatype | Required | Description |
---|---|---|---|
crop | string | width,height,x,y |
-
width, height: Size of the crop 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
{"0"=>{"url"=>"http://sample.li/temp/apple.mp4"}}
HEADERS
Key | Datatype | Required | Description |
---|---|---|---|
Content-Type | string | ||
Filerobot-Token | string | Filerobot project identifier, aka token | |
Filerobot-Key | string | Filerobot API key |
RESPONSES
status: OK
{"status":"ok","version":2.14,"result":[{"uuid":"56fb1a01-ff6a-4a08-b077-2912e758503d","url":"http://sample.li/temp/apple.mp4","subbed":"https://fbmjmuoeb.filerobot.com/https://filerobot.s3.eu-west-3.amazonaws.com/fbmjmuoeb/subbed_videos/kYFso_apple/apple_subbed.mp4","sha1":"985647ed77fc04b821dfc073e970846325a3ca4c","progress":"https://api.filerobot.com/fbmjmuoeb/v4/video-status/ZXUtb3YtNzA2LWdyYTIuZWxhc3RpYy11cGxvYWRlci5haXJzdG9yZS5zY2FsM2ZsM3guY29tOjg3MzI__56fb1a01-ff6a-4a08-b077-2912e758503d"}]}