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

MXPROCESS

API : Concatenar de 2 a 15 vídeos en un solo MP4.

    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 asynchronously
  • API Documentation, VideoConcat
    Downloading results: when it is present in an API response, actionResultsDownloadURLs contains the authenticated URLs for downloading each generated result file.

    MXPROCESS

    Asynchronous API: video concatenation

    Send 2 to 15 videos as file0 through file14, or send public URLs separated by | in fileUrl. Uploads and URLs may be combined. Each input is limited to 100 MB and 10 minutes; all inputs together are limited to 1 GB and 30 minutes.

    Endpoint: POST https://mxprocess.com/api/files/start-process
    Authentication: Bearer JWT
    Cost: 15 tokens, charged only after success.

    Upload files

    Public URLs

    Save the returned action ID and poll /api/actions/get-action-infos/{id} with the same JWT. When complete, actionResults contains one authenticated downloadable file named video-concat.mp4.

    Initial response

    Invalid cardinality, ownership, MIME/content, size or duration is rejected before processing with a stable VIDEO_CONCAT_* error.

    Contact us


    The API sends you a Json response to confirm that the process has started. take note of the "trackingUrl" field, it is the one that allows you to follow the process that you have launched. In this answer you also find the ID of your process, here in our example the ID is 643 :

  • So to follow the progress, you do a simple GET(you can make this http call every 10 seconds):


  • If the process is not yet completed, you will receive this type of response with "accomplished": false

    If the process is completed, you will receive this type of response with "accomplished": true. The actionResultsDownloadURLs field contains the authenticated URLs for downloading the generated results:

    Use each URL supplied in actionResultsDownloadURLs directly to download its corresponding result.


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



Contact us This API is also available in synchronous mode : Developer API : VideoConcat