Downloading results: when it is present in an API response, actionResultsDownloadURLs contains the authenticated URLs for downloading each generated result file.

MXPROCESS

API : 从 MP4 视频中提取 MP3 或 WAV 音频。

    This API is simple to use. You just have to follow these steps

  • Create a free account
  • Click on the link you receive by email to confirm your address
  • Generate a token with credentials

You can use any language to make this CURL call. (Python, PHP, Java, JavaScript...) Need help ?



If your credentials are correct, our server will provide you with a token as a response :
YOUR_TOKEN is valid for one hour, its duration can be extended using YOUR_REFRESH_TOKEN

  • Use the token to start the process
  • Action parameters

    Send parameters as a JSON object. Required fields are marked with required.

    • interval — time_range; required.
    • to — enum:mp3,m4a,wav,flac.

    In this example we extract the first 10 seconds of the video (from 00:00:00 to 00:00:10) as MP3. Replace the two values in interval with the time range you want and change to to mp3, m4a, wav or flac

    If your file is accessible by URL, you can ignore the "file=@.." field and directly use the URL of your file in the "fileUrl" field

    The API sends a JSON response to confirm that the process is finished. Download the generated files with the authenticated URLs in actionResultsDownloadURLs.

    This documentation is not clear? (Python, PHP, Java, JavaScript...) Need help ?



    Contact us This API is also available in asynchronous mode : Developer API : ExtractAudio