Skip to main content

Track_selector

NameTypeDescription
idintegerTrack selector by stream ID.
pidintegerTrack selector by stream PID (transport streams only).
indexintegerTrack selector by stream index.
is_optionalbooleanIf set to true, the analyzer will not fail if this media type does not exist in the source.

Example track_selector

{
"uid": "analyze_task",
"kind": "analyze",
"payload": {
"general_properties": {
"enabled": true
},
"deep_properties": {
"video": {
"track_selector": {
"pid": 380
},
"black": {
"duration_sec": 5,
"enabled": true
}
}
}
}
}