[][src]Struct mp4::Mp4Track

pub struct Mp4Track {
    pub trak: TrakBox,
}

Fields

trak: TrakBox

Implementations

impl Mp4Track[src]

pub fn track_id(&self) -> u32[src]

pub fn track_type(&self) -> Result<TrackType>[src]

pub fn media_type(&self) -> Result<MediaType>[src]

pub fn box_type(&self) -> Result<FourCC>[src]

pub fn width(&self) -> u16[src]

pub fn height(&self) -> u16[src]

pub fn frame_rate(&self) -> Ratio<u64>[src]

pub fn frame_rate_f64(&self) -> f64[src]

pub fn sample_freq_index(&self) -> Result<SampleFreqIndex>[src]

pub fn channel_config(&self) -> Result<ChannelConfig>[src]

pub fn language(&self) -> &str[src]

pub fn timescale(&self) -> u32[src]

pub fn duration(&self) -> Duration[src]

pub fn bitrate(&self) -> u32[src]

pub fn sample_count(&self) -> u32[src]

pub fn video_profile(&self) -> Result<AvcProfile>[src]

pub fn sequence_parameter_set(&self) -> Result<&[u8]>[src]

pub fn picture_parameter_set(&self) -> Result<&[u8]>[src]

pub fn audio_profile(&self) -> Result<AudioObjectType>[src]

Trait Implementations

impl Debug for Mp4Track[src]

Auto Trait Implementations

Blanket Implementations

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

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

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

impl<T> From<T> for T[src]

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

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

type Error = Infallible

The type returned in the event of a conversion error.

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

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

The type returned in the event of a conversion error.