Split a video into multiple segments
| Field | Type | Required | Description |
|---|---|---|---|
| asset_id | string | Yes | The video asset ID to split |
| Parameter | Type | Description |
|---|---|---|
| code | string | Response code indicating the result status |
| msg | string | Response message describing the operation result |
| data | object | Response data object containing task information |
| data.task_id | string | Unique identifier of the video split task |
| success | boolean | Indicates whether the operation was successful |
| failed | boolean | Indicates whether the operation failed |
| Parameter | Type | Description |
|---|---|---|
| code | string | Response code (“0000” indicates success) |
| message | string | Status message (e.g., “SUCCESS”) |
| data | object | Response data object containing the split video segments |
| data.splits | array | Array of video segment objects created from the original video |
| data.splits[].asset_id | string | Unique asset ID for this video segment |
| data.splits[].create_time | string | Creation timestamp in milliseconds |
| data.splits[].extension | string | File extension of the video segment (e.g., “mp4”) |
| data.splits[].file_size | integer | Size of the video segment in bytes |
| data.splits[].modify_time | string | Last modification timestamp in milliseconds |
| data.splits[].original_filename | string | Generated filename for the segment (format: segment_video__) |
| data.splits[].upload_status | string | Upload status of the segment (e.g., “SUCCESS”) |
| task_id | string | The task ID associated with this video split request |
callback_response.data.splitscallback_response.data.splits.lengthcallback_response.data.splits[0].asset_idcallback_response.data.splits[0].file_sizecallback_response.data.splits[0].original_filenamecallback_response.task_idsegment_video_{id}_{index}, where:
segment_video_ is the prefix for split video segments{id} is a unique identifier for this split operation{index} is the sequential segment number (0-indexed)The video asset ID to split
"re_657739295220518912"
Video split initiated successfully
Response code indicating the result status
"0000"
Response message describing the operation result
"success"
Response data object containing task information
Indicates whether the operation was successful
true
Indicates whether the operation failed
false