pub enum StreamType {
Show 36 variants Iso11172Video, H262, Iso11172Audio, Iso138183Audio, H2220PrivateSections, H2220PesPrivateData, Mheg, H2220DsmCc, H2221, Iso138186MultiprotocolEncapsulation, DsmccUnMessages, DsmccStreamDescriptors, DsmccSections, H2220Auxiliary, Adts, Iso144962Visual, Latm, FlexMuxPes, FlexMuxIso14496Sections, SynchronizedDownloadProtocol, MetadataInPes, MetadataInMetadataSections, DsmccDataCarouselMetadata, DsmccObjectCarouselMetadata, SynchronizedDownloadProtocolMetadata, Ipmp, H264, AudioWithoutTransportSyntax, Iso1449617text, H265, ChineseVideoStandard, AtscDolbyDigitalAudio, AtscDsmccNetworkResourcesTable, AtscDsmccSynchronousData, Private(u8), Reserved(u8),
}
Expand description

The types of Elementary Stream specified in ISO/IEC 13818-1.

As returned by StreamInfo::stream_type().

Variants§

§

Iso11172Video

ISO/IEC 11172 Video

§

H262

ITU-T Rec. H.262 | ISO/IEC 13818-2 Video or ISO/IEC 11172-2 constrained parameter video stream

§

Iso11172Audio

ISO/IEC 11172 Audio

§

Iso138183Audio

ISO/IEC 13818-3 Audio

§

H2220PrivateSections

ITU-T Rec. H.222.0 | ISO/IEC 13818-1 private_sections

§

H2220PesPrivateData

ITU-T Rec. H.222.0 | ISO/IEC 13818-1 PES packets containing private data

§

Mheg

ISO/IEC 13522 MHEG

§

H2220DsmCc

ITU-T Rec. H.222.0 | ISO/IEC 13818-1 Annex A DSM-CC

§

H2221

ITU-T Rec. H.222.1

§

Iso138186MultiprotocolEncapsulation

ISO/IEC 13818-6 DSM CC multiprotocol encapsulation

§

DsmccUnMessages

ISO/IEC 13818-6 DSM CC U-N messages

§

DsmccStreamDescriptors

ISO/IEC 13818-6 DSM CC stream descriptors

§

DsmccSections

ISO/IEC 13818-6 DSM CC tabled data

§

H2220Auxiliary

ITU-T Rec. H.222.0 | ISO/IEC 13818-1 auxiliary

§

Adts

ISO/IEC 13818-7 Audio with ADTS transport syntax

§

Iso144962Visual

ISO/IEC 14496-2 Visual

§

Latm

ISO/IEC 14496-3 Audio with the LATM transport syntax as defined in ISO/IEC 14496-3 / AMD 1

§

FlexMuxPes

ISO/IEC 14496-1 SL-packetized stream or FlexMux stream carried in PES packets

§

FlexMuxIso14496Sections

ISO/IEC 14496-1 SL-packetized stream or FlexMux stream carried in ISO/IEC14496_sections.

§

SynchronizedDownloadProtocol

ISO/IEC 13818-6 Synchronized Download Protocol

§

MetadataInPes

Metadata carried in PES packets

§

MetadataInMetadataSections

Metadata carried in metadata_sections

§

DsmccDataCarouselMetadata

Metadata carried in ISO/IEC 13818-6 Data Carousel

§

DsmccObjectCarouselMetadata

Metadata carried in ISO/IEC 13818-6 Object Carousel

§

SynchronizedDownloadProtocolMetadata

Metadata carried in ISO/IEC 13818-6 Synchronized Download Protocol

§

Ipmp

IPMP stream (defined in ISO/IEC 13818-11, MPEG-2 IPMP)

§

H264

AVC video stream as defined in ITU-T Rec. H.264 | ISO/IEC 14496-10 Video

§

AudioWithoutTransportSyntax

ISO/IEC 14496-3 Audio, without using any additional transport syntax, such as DST, ALS and SLS

§

Iso1449617text

ISO/IEC 14496-17 Text

§

H265

ITU-T Rec. H.265 and ISO/IEC 23008-2

§

ChineseVideoStandard

Chinese Video Standard

§

AtscDolbyDigitalAudio

Dolby Digital (AC-3) audio for ATSC

§

AtscDsmccNetworkResourcesTable

ATSC Data Service Table, Network Resources Table

§

AtscDsmccSynchronousData

PES packets containing ATSC streaming synchronous data

§

Private(u8)

0xc3-0xff privately defined,

§

Reserved(u8)

Reserved for use in future standards

Implementations§

source§

impl StreamType

source

pub fn is_pes(self) -> bool

true if packets of a stream with this stream_type will carry data in Packetized Elementary Stream format.

Trait Implementations§

source§

impl Clone for StreamType

source§

fn clone(&self) -> StreamType

Returns a copy of the value. Read more
1.0.0 · source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
source§

impl Debug for StreamType

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl From<StreamType> for u8

source§

fn from(val: StreamType) -> Self

Converts to this type from the input type.
source§

impl From<u8> for StreamType

source§

fn from(val: u8) -> Self

Converts to this type from the input type.
source§

impl Hash for StreamType

source§

fn hash<__H: Hasher>(&self, state: &mut __H)

Feeds this value into the given Hasher. Read more
1.3.0 · source§

fn hash_slice<H>(data: &[Self], state: &mut H)
where H: Hasher, Self: Sized,

Feeds a slice of this type into the given Hasher. Read more
source§

impl PartialEq for StreamType

source§

fn eq(&self, other: &StreamType) -> bool

This method tests for self and other values to be equal, and is used by ==.
1.0.0 · source§

fn ne(&self, other: &Rhs) -> bool

This method tests for !=. The default implementation is almost always sufficient, and should not be overridden without very good reason.
source§

impl Copy for StreamType

source§

impl Eq for StreamType

source§

impl StructuralPartialEq for StreamType

Auto Trait Implementations§

Blanket Implementations§

source§

impl<T> Any for T
where T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
source§

impl<T> Borrow<T> for T
where T: ?Sized,

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for T
where T: ?Sized,

source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
source§

impl<T> From<T> for T

source§

fn from(t: T) -> T

Returns the argument unchanged.

source§

impl<T, U> Into<U> for T
where U: From<T>,

source§

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

source§

impl<T> ToOwned for T
where T: Clone,

§

type Owned = T

The resulting type after obtaining ownership.
source§

fn to_owned(&self) -> T

Creates owned data from borrowed data, usually by cloning. Read more
source§

fn clone_into(&self, target: &mut T)

Uses borrowed data to replace owned data, usually by cloning. Read more
source§

impl<T, U> TryFrom<U> for T
where U: Into<T>,

§

type Error = Infallible

The type returned in the event of a conversion error.
source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
source§

impl<T, U> TryInto<U> for T
where U: TryFrom<T>,

§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.