Timeline.get_track_sub_type#

Timeline.get_track_sub_type(track_index: int, track_type: str = 'audio') str[source]#

_summary_

Parameters:
  • track_index (int) – 1 < = track_index < = GetTrackCount(trackType)

  • track_type (str, optional) – Defaults to “audio”.

Returns:

audio track’s format,value is one of {“mono”, “stereo”, “5.1”, “5.1film”, “7.1”, “7.1film”, “adaptive1”, … , “adaptive24”}

Return type:

str