26 January 2023
almost 2 years ago by Encoding.com Product Team #2
CableLabs MPEGTS muxer selection
Added ability to select muxer version 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> <!-- required-->
<muxer>[v1|v2]</muxer>
<!-- format params -->
</format>
</query>
{
"query": {
"userid": "<<id>>", // required
"userkey": "<<id>>", // required
"action": "AddMedia",
"source": "[SourceFile]", // required
"format": { // required
"output": "cablelabs_mpegts", // required
"muxer": "[v1|v2]"
// format params
}
}
}
Parameter | Description | Allowed Values | Default Value |
---|---|---|---|
muxer | Muxer version | v1 – Default old muxer v2 – Advanced muxer | none |
Audio channel input and output Program ID
Added ability to choose input channel Program ID and set Program ID of output <audio_stream />.
<?xml version="1.0"?>
<query>
<userid><<id>></userid> <!-- required-->
<userkey><<key>></userkey> <!-- required-->
<action>[Action]</action> <!-- required-->
<source>[SourceFile]</source> <!-- required -->
<format>
<output>[OutputFormat]</output> <!-- required -->
<audio_stream>
<channel>
<in>
<program_id>[ProgramID]</program_id>
<!-- input channel params -->
</in>
<in>
<!-- input channel params -->
</in>
<!-- audio channel params -->
</channel>
<channel>
<!-- audio channel params -->
</channel>
<program_id>[ProgramID]</program_id>
<!-- audio_stream params -->
</audio_stream>
<!-- multiple audio_streams -->
<audio_stream>
<!-- audio_stream params -->
</audio_stream>
<!-- format params -->
</format>
</query>
{
"query": {
"userid": "<<id>>", // required
"userkey": "<<key>>", // required
"action": "[Action]", // required
"source": "[SourceFile]", // required
"format": {
"output": "[OutputFormat]", // required
"audio_stream": [
{
"channel": [
{
"in": [
{
"program_id": "[ProgramID]"
// input channel params
},
{
// input channel params
}
]
// audio channel params
},
{
// audio channel params
}
],
"program_id": "[ProgramID]"
// audio_stream params
},
{
// audio_stream params
}
]
// format params
}
}
}
Parameter | Description | Allowed Valies | Default Value |
---|---|---|---|
Audio Stresm Parameters | |||
program_id | Output stream program id | Non-negative integer number | none |
Input Audio Channel Parameters | |||
program_id | Input channel program id | Non-negative integer number | none |