video-channel/decrypt-video-channel-opus
Description
- The downloaded videos are encrypted. This interface is provided for decryption purposes."
Request URL
http://127.0.0.1:8888/api/
Request Method
Parameters
Parameter Name | Required | Parameter Type | Description |
---|
type | Yes | int | API ID |
inputFile | Yes | string | Absolute path of the downloaded encrypted video |
outputFile | Yes | string | Absolute path to save the decrypted video, including the file name |
decodeKey | Yes | int | Field returned by Retrieve-Opus-Comment-List |
encLength | Yes | int | Length of the video encrypted, included in the header during video download |
Request Example
{
"type": 10060,
"inputFile": "C:\\xxx.data",
"outputFile": "C:\\xxx.mp4",
"decodeKey": 1234567890,
"encLength": 0x20000
}
Return Example
{
"data": {
"status": 0,
"desc": "",
"data": []
}
}
Return Parameter Description
Parameter Name | Parameter Type | Description |
---|
error_code | int | Error code |
description | string | Error Description |
data | json | Business data |