23 December 2021

Alternate Source From External Manifest

Add ability to use data from external previously packaged manifests for alternate sources of * advanced multi-bitrate 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>[advanced_hls|advanced_dash|advanced_mss|fmp4_hls|advanced_fmp4]</output> <!-- required-->
        <destination>[DestFile]</destination> <!-- required-->
        <alternate_source>
            <source>[FileURL]</source>
            <type>[video_audio|video|audio]</type>
            <video_name>[Name]</video_name>
            <audio_name>[Name]</audio_name>
            <use_stream_id>[CommaSeparatedList]</use_stream_id>
            <language>[Language]</language>
            <auto>[yes|no]</auto>
            <dvs>[yes|no]</dvs>
            <characteristics>[Characteristics]</characteristics>
            <accessibility_scheme>[Scheme]</accessibility_scheme>
            <accessibility_value>[Value]</accessibility_value>
            <natural_order>[yes|no]</natural_order>
            <sub_path>[SubPath]</sub_path>
            <get_from_manifest>[yes|no]</get_from_manifest>
        </alternate_source>
        <alternate_source>
            <!-- alternate_source params -->
        </alternate_source>
        <!-- format params -->
    </format>
</query>
{
    "query": {
        "userid": "<<id>>", // required
        "userkey": "<<key>>", // required
        "action": "[Action]", // required
        "source": "[SourceFile]", // required
        "format": {
            "output": "[advanced_hls|advanced_dash|advanced_mss|fmp4_hls|advanced_fmp4]", // required
            "destination": "[DestFile]", // required
            "alternate_source": [
                {
                    "get_from_manifest": "[yes|no]"
                },
                {
                    // alternate_source params
                }
                // multiple alternate_sources may be included
            ]
            // format Params
        }
    }
}
ParameterDescriptionAllowed Va;uesDefault Value
get_from_manifestUse data from external manifestyes, nono

🚧

For get_from_manifest

The <get_from_manifest /> parameter available only if manifest <sources /> are specified.

Cablelabs Low Audio Bitrate

Allowed audio bitrate lower than 192k for cablelabs_mpegts output format.

<?xml version="1.0"?>
<query>
    <userid><<id>></userid> <!-- required-->
    <userkey><<key>></userkey> <!-- required-->
    <action>AddMedia</action>
    <source>[SourceFile]</source> <!-- required-->
    <format> <!-- required -->
        <output>cablelabs_mpegts</output>
        <audio_bitrate>[AudioBitrate]</audio_bitrate>
        <!-- common format parameters -->
    </format>
</query>
{
    "query": {
        "userid": "<<id>>", // required
        "userkey": "<<id>>", // required
        "action": "AddMedia",
        "source": "[SourceFile]", // required
        "format": { // required
            "output": "cablelabs_mpegts",
            "audio_bitrate": "[AudioBitrate]"
            // common format parameters
        }
    }
}
ParameterDescriptionAllowed ValuesDefault Value
audio_bitrateSpecify the audio bitrate.Nk – where N is any non-zero integer.192k