Concatenation

Combine multiple source videos into a single video.

With this feature, you can combine multiple source video files into one file. To use this feature via the User Interface, you can add multiple video sources in the “Add Media” section and they will automatically combine into one file (in sequential order) during the encoding process.

To utilize this concatenation feature via the API, you should use several elements in your XML request which will be added sequentially during the encoding process. In addition, you can use different source video URLs / locations (HTTP, FTP, S3, CloudFiles) along with different media properties for each source video (format, frame size, bitrate, codec, etc.).

Check out this article on how to combine multiple videos into a single file for more detailed information.

<?xml version="1.0"?>
<query>
    <userid>[UserID]</userid>
    <userkey>[UserKey]</userkey>
    <action>[Action]</action>
    <mediaid>[MediaID]</mediaid>
 
    <source>[SourceFile]</source>
    <source>[SourceFile1]</source> <!-- if multiple SourceFile added, they will be concatenated -->
    <!-- Source fields -->
    <source>[SourceFileN]</source>
 
    <!-- Format fields -->
</query>
{
    "query": {
        "userid": "[UserID]",
        "userkey": "[UserKey]",
        "action": "[Action]",
        "mediaid": "[MediaID]",
        "source": [
            "[SourceFile]",
            "[SourceFile1]",
            "[SourceFileN]"
        ]
    }
}