24 February 2022

Removed support of Access DRM protection of advanced multi-bitrate formats

Now we don't support of Access DRM protection for stream manifests of advanced_hls, fmp4_hls, and advanced_fmp4 output formats.

Reorder audio packets in advanced HLS stream

Added option that allows reorder audio packets inside TS segment in advanced_hls stream.

<?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|fmp4_hls]</output> <!-- required-->
        <destination>[DestinationURL]</destination> <!-- required-->
        <stream>
            <reorder_audio_packets>[yes|no]</reorder_audio_packets>
            <!-- stream params -->
        </stream>
        <!-- Multiple stream params may be included in advanced_hls output format -->
        <!-- Maximum number of available streams is 15 -->
        <stream>
            <!-- stream params -->
        </stream>
        <!-- format params -->
    </format>
</query>
{
    "query": {
        "userid": "<<id>>", // required
        "userkey": "<<key>>", // required
        "action": "[Action]", // required
        "source": "[SourceFile]", // required
        "format": {
            "output": "advanced_hls", // required
            "destination": "[DestinationURL]", // required
            "stream": [
                {
                    "reorder_audio_packets": "[yes|no]"
                    // stream params
                },
                {
                    // stream params
                }
            ]
            // format params
        }
    }
}

Parameter

Description

Allowed Values

Default Value

reorder_audio_packets

Make audio packets reorder the way that in TS segment, the smallest audio PTS of a segment is greater than or equal to the smallest video PTS of the segment

yes, no

no

🚧

For reorder_audio_packets

The <reorder_audio_packets /> feature is available only for advanced_hls output format.

Mainconcept AVC video codec for advanced multi-bitrate formats and AFD support

Added support of mainconcept_avc video codec for advanced multi-bitrate output formats.
Added support of Active Format Descriptor for mainconcept_avc video codec.

<?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> <!-- required-->
        <video_codec>mainconcept_avc</video_codec>
        <!-- common format parameters -->
        <video_codec_parameters>
            <afd>[AFD]</afd>
            <!-- video_codec parameters-->
        </video_codec_parameters>
    </format>
</query>
{
    "query": {
        "userid": "<<id>>", // required
        "userkey": "<<id>>", // required
        "action": "AddMedia",
        "source": "[SourceFile]", // required
        "format": { // required
            "output": "cablelabs_mpegts", // required
            "video_codec": "mainconcept_avc",
            "video_codec_parameters": {
                "afd": "[AFD]"
                // video_codec parameters
            }
        }
    }
}
<?xml version="1.0"?>
<query>
    <userid><<id>></userid> <!-- required-->
    <userkey><<key>></userkey> <!-- required-->
    <action>AddMedia</action>
    <source>[SourceFile]</source> <!-- required-->
    <format> <!-- required -->
        <output>[advanced_hls|fmp4_hls|advanced_dash|advanced_fmp4]</output> <!-- required-->
        <destination>[DestinationURL]</destination> <!-- required-->
        <stream>
            <video_codec>mainconcept_avc</video_codec>
            <video_codec_parameters>
                <afd>[AFD]</afd>
                <!-- video_codec parameters-->
            </video_codec_parameters>
           <!-- stream params -->
        </stream>
        <stream>
           <!-- stream params -->
        </stream>
    </format>
</query>
{
    "query": {
        "userid": "<<id>>", // required
        "userkey": "<<key>>", // required
        "action": "[Action]", // required
        "source": "[SourceFile]", // required
        "format": {
            "output": "[advanced_hls|fmp4_hls|advanced_dash|advanced_fmp4]", // required
            "destination": "[DestinationURL]", // required
            "stream": [
                {
                    "video_codec": "mainconcept_avc",
                    "video_codec_parameters": {
                        "afd": "[AFD]"
                        // video_codec parameters
                    }
                    // stream params
                },
                {
                    // stream params
                }
            ]
            // format params
        }
    }
}

Parameter

Description

Allowed Values

Default Value

video_codec

Defines the codec used for your output.

advanced_hls: libx264, beamr4avc, mainconcept_avc
fmp4_hls: libx264, hevc, beamr4avc, beamr5hevc, mainconcept_avc
advanced_dash: libx264, libvpx-vp9, hevc, beamr4avc, beamr5hevc, libaom-av1, libsvtav1, mainconcept_avc
advanced_fmp4: libx264, hevc, beamr4avc, beamr5hevc, libaom-av1, libsvtav1, mainconcept_avc

advanced_hls, fmp4_hls, advanced_dash, advanced_fmp4: libx264
cablelabs_mpegts: libx264

Video Codec Parameters

afd

Active Format Descriptor

none – none
16x9_top – 16:9 top aligned
14x9_top – 14:9 top aligned
gt_16x9 – Wider than 16:9 active picture
coded_frame – Full Frame image
4x3_centre – 4:3 Image
16x9_centre – 16:9 Image
14x9_centre – 14:9 Image
4x3_as_14x9 – 4:3 with shoot and protect 14:9 centre
16x9_as_14x9 – 16:9 with shoot and protect 14:9 centre
16x9_as_4x3 – 16:9 with shoot and protect 4:3 centre

none