27 July 2023

FMP4 explicit output files naming convention

Added support of <init_extension /> parameter for advanced_dash and advanced_fmp4 output formats.

Added new <init_sub_path /> and <init_base_name /> parameters for fmp4_hls, advanced_dash, and advanced_fmp4 output formats.

<?xml version="1.0"?>
<query>
    <userid><<id>></userid> <!-- required-->
    <userkey><<key>></userkey> <!-- required-->
    <action>[Action]</action> <!-- required-->
    <source>[SourceFile]</source> <!-- required-->
    <format>
        <output>[fmp4_hls|advanced_dash|advanced_fmp4]</output>
        <destination>[DestFile]</destination> <!-- required-->
        <stream>
            <init_extension>[Extension]</init_extension>
            <init_sub_path>[SubPath]</init_sub_path>
            <init_base_name>[BaseName]</init_base_name>
            <!-- stream params -->
        </stream>
        <!-- format params -->
    </format>
</query>
{
    "query": {
        "userid": "<<id>>", // required
        "userkey": "<<key>>", // required
        "action": "[Action]", // required
        "source": "[SourceFile]", // required
        "format": {
            "output": "[fmp4_hls|advanced_dash|advanced_fmp4]", // required
            "destination": "[DestFile]", // required
            "stream": [
                {
                    "init_extension": "[Extension]",
                    "init_sub_path": "[SubPath]",
                    "init_base_name": "[BaseName]"
                    // stream params
                },
                {
                    // stream params
                }
            ],
            // format params
        }
    }
}
ParameterDescriptionAvailable ValuesDefault Value
init_extensionInitialization file's extensionstring (max length: 4 characters)mp4
init_sub_pathInitialization file's relative pathValid pathnone
init_base_nameInitialization file's nameValid filename (without extension)none

🚧

For init_extension, init_sub_path, and init_base_name

The <init_extension />, <init_sub_path />, and <init_base_name /> parameters are only available for advanced_dash, fmp4_hls, and advanced_fmp4 output formats.