DemuxerMetadata#
- class torchcodec.decoders.DemuxerMetadata(duration_seconds_from_header: float | None, bit_rate_from_header: float | None, best_video_stream_index: int | None, best_audio_stream_index: int | None)[source]#
Container-level metadata, as reported by the header.
This is what a
Demuxercan say about the container itself.Examples using
DemuxerMetadata:- best_audio_stream_index: int | None#
Index of the best stream of audio type (int or None).
- best_video_stream_index: int | None#
Index of the best stream of video type (int or None).