Skip to main content

Track_selector

NameTypeDescription
idintegerThe ID of the audio track to be analyzed.
pidintegerThe PID of the audio track to be analyzed.
indexintegerThe index (0-based) of the audio track to be analyzed.
is_optionalbooleanIf set to true, the analyzer will not fail if this media type did not exist in the source.

Example track_selector

{
"uid": "analyze_task",
"kind": "analyze",
"payload": {
"general_properties": {
"enabled": true
},
"deep_properties": {
"audio": [
{
"track_selector": {
"pid": 381
},
"volume": {
"enabled": true
},
"levels": {
"enabled": true
}
}
],
"video": {
"black": {
"duration_sec": 5,
"enabled": true
}
}
}
}
}