Audio Codec

Validate the correct audio codec.

❗️

Note

This test is ignored for video-only streams in multibitrate formats.

<?xml version="1.0"?>
<query>
    <userid><<id>></userid> <!-- required-->
    <userkey><<key>></userkey> <!-- required-->
    <action>AddMedia</action> <!-- required-->
    <source>[SourceFile|SourcePlaylist]</source><!-- required -->
    <format>
        <output>[qc_check|advanced_hls|advanced_dash|advanced_fmp4|fmp4_hls|mp4]</output><!-- required -->
        <qc> 
            <qc_audio_codec>
                <value>[CodecName]</value>
                <severity>[fatal|warning]</severity>
            </qc_audio_codec>
        </qc>
        <!-- format params -->
    </format>
</query>
{
    "query": {
        "userid": "<<id>>", // required
        "userkey": "<<key>>", // required
        "action": "AddMedia", // required
        "source": "[SourceFile|SourcePlaylist]", // required
        "format": {
            "output": "[qc_check|advanced_hls|advanced_dash|advanced_fmp4|fmp4_hls|mp4]", // required
            "qc": {
                "qc_audio_codec": {
                    "value": "[CodecName]",
                    "severity": "[fatal|warning]"
                }
            }
            // format params
        }
    }
}

Multi-Bitrate Formats

<?xml version="1.0"?>
<query>
    <userid><<id>></userid> <!-- required-->
    <userkey><<key>></userkey> <!-- required-->
    <action>AddMedia</action> <!-- required-->
    <source>[SourceFile|SourcePlaylist]</source><!-- required -->
    <format>
        <output>[qc_check|advanced_hls|advanced_dash|advanced_fmp4|fmp4_hls]</output><!-- required -->
        <stream>
            <qc> 
                <qc_audio_codec>
                    <value>[CodecName]</value>
                    <severity>[fatal|warning]</severity>
                </qc_audio_codec>
            </qc>
        </stream>
        <!-- format params -->
    </format>
</query>
{
    "query": {
        "userid": "<<id>>", // required
        "userkey": "<<key>>", // required
        "action": "AddMedia", // required
        "source": "[SourceFile|SourcePlaylist]", // required
        "format": {
            "output": "[qc_check|advanced_hls|advanced_dash|advanced_fmp4|fmp4_hls]", // required
            "stream": [
                {
                    "qc": {
                        "qc_audio_codec": {
                            "value": "[CodecName]",
                            "severity": "[fatal|warning]"
                        }
                    }
                    // stream params
                },
                {
                    // stream params
                },
              
            ]
            // format params
        }
    }
}

Single-Bitrate Formats With Multiple Audio Streams

<?xml version="1.0"?>
<query>
    <userid><<id>></userid> <!-- required-->
    <userkey><<key>></userkey> <!-- required-->
    <action>AddMedia</action> <!-- required-->
    <source>[SourceFile|SourcePlaylist]</source><!-- required -->
    <format>
        <output>[qc_check|mp4]</output><!-- required -->
        <qc> 
            <qc_audio_codec>
                <stream>
                    <index>[AudioStreamIndex]</index>
                    <value>[CodecName]</value>
                </stream>
                <stream>
                    <!-- stream params -->
                </stream>
                <severity>[fatal|warning]</severity>
            </qc_audio_codec>
        </qc>
        <!-- format params -->
    </format>
</query>
{
    "query": {
        "userid": "<<id>>", // required
        "userkey": "<<key>>", // required
        "action": "AddMedia", // required
        "source": "[SourceFile|SourcePlaylist]", // required
        "format": {
            "output": "[qc_check|mp4]", // required
            "qc": {
                "qc_audio_codec": {
                    "stream": [
                        {
                            "index": "[AudioStreamIndex]",
                            "value": "[CodecName]"
                        },
                        {
                            // stream params
                        }
                    ],
                    "severity": "[fatal|warning]"
                }
            }
            // format params
        }
    }
}

Parameter

Description

Allowed Values

Default Value

value

Specify the audio codec name.

Valid codec name.

None

severity

Specify the QC severity.

warning, fatal

warning