StreamType

Added in version 1.10.

class StreamType

StreamType describes a high level classification set for flows of data in Stream objects.

Note that this is a flag, and therefore users should not assume it will be a single value. Do not use the equality operator for checking whether a stream is of a certain type.

Methods

class StreamType
get_name(stype: StreamType) str

Get a descriptive string for a given StreamType

Added in version 1.10.

Parameters:

stype – a StreamType

Fields

class StreamType
AUDIO

The stream is of audio data

CONTAINER

The stream is a muxed container type

TEXT

The stream contains subtitle / subpicture data.

UNKNOWN

The stream is of unknown (unclassified) type.

VIDEO

The stream carries video data