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

  • POST

Parameters

Parameter NameRequiredParameter TypeDescription
typeYesintAPI ID
inputFileYesstringAbsolute path of the downloaded encrypted video
outputFileYesstringAbsolute path to save the decrypted video, including the file name
decodeKeyYesintField returned by Retrieve-Opus-Comment-List
encLengthYesintLength 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 NameParameter TypeDescription
error_codeintError code
descriptionstringError Description
datajsonBusiness data

Remark