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() str#

Get a descriptive string for a given StreamType

Added in version 1.10.

Fields#

class StreamType
AUDIO#

The stream is of audio data

CONTAINER#

The stream is a muxed container type

METADATA#

The stream contains metadata.

Added in version 1.28.

TEXT#

The stream contains subtitle / subpicture data.

UNKNOWN#

The stream is of unknown (unclassified) type.

VIDEO#

The stream carries video data