19 May 2022
over 2 years ago by Encoding.com Product Team #2
Chrominance sampling setting for mainconcept_avc codec
Added option to select chrominance sampling for mainconcept_avc 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>
<chroma_format>[420|422]</chroma_format>
<!-- 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": {
"chroma_format": "[420|422]"
// 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>
<chroma_format>[420|422]</chroma_format>
<!-- 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": {
"chroma_format": "[420|422]"
// video_codec_parameters
}
// stream params
},
{
// stream params
}
]
// format params
}
}
}
Parameter | Description | Allowed Values | Default Value |
---|---|---|---|
chroma_format | Chrominance sampling | •420 – 4:2:0 colour sampling •422 – 4:2:2 colour sampling | none |