Timeline.get_track_count#

Timeline.get_track_count(track_type: TrackType) int[source]#

Returns the number of tracks for the given trackType (“audio”, “video” or “subtitle”).

Parameters:

track_type (TrackType)

Return type:

int