[][src]Enum mpeg2ts_reader::StreamType

pub enum StreamType {
    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),
}

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

Methods

impl StreamType[src]

pub fn is_pes(&self) -> bool[src]

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

Trait Implementations

impl Copy for StreamType[src]

impl PartialEq<StreamType> for StreamType[src]

impl Eq for StreamType[src]

impl Clone for StreamType[src]

default fn clone_from(&mut self, source: &Self)
1.0.0
[src]

Performs copy-assignment from source. Read more

impl From<u8> for StreamType[src]

impl From<StreamType> for u8[src]

impl Hash for StreamType[src]

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

Feeds a slice of this type into the given [Hasher]. Read more

impl Debug for StreamType[src]

Auto Trait Implementations

impl Send for StreamType

impl Sync for StreamType

Blanket Implementations

impl<T> From for T[src]

impl<T, U> Into for T where
    U: From<T>, 
[src]

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

impl<T, U> TryFrom for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T> Borrow for T where
    T: ?Sized
[src]

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> BorrowMut for T where
    T: ?Sized
[src]

impl<T, U> TryInto for T where
    U: TryFrom<T>, 
[src]

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

The type returned in the event of a conversion error.