[][src]Struct ffmpeg_next::format::context::input::Input

pub struct Input { /* fields omitted */ }

Implementations

impl Input[src]

pub unsafe fn wrap(ptr: *mut AVFormatContext) -> Self[src]

pub unsafe fn as_ptr(&self) -> *const AVFormatContext[src]

pub unsafe fn as_mut_ptr(&mut self) -> *mut AVFormatContext[src]

impl Input[src]

pub fn format(&self) -> Input[src]

pub fn video_codec(&self) -> Option<Codec>[src]

pub fn audio_codec(&self) -> Option<Codec>[src]

pub fn subtitle_codec(&self) -> Option<Codec>[src]

pub fn data_codec(&self) -> Option<Codec>[src]

pub fn probe_score(&self) -> i32[src]

pub fn packets(&mut self) -> PacketIter

Important traits for PacketIter<'a>

impl<'a> Iterator for PacketIter<'a> type Item = (Stream<'a>, Packet);
[src]

pub fn pause(&mut self) -> Result<(), Error>[src]

pub fn play(&mut self) -> Result<(), Error>[src]

pub fn seek<R: Range<i64>>(&mut self, ts: i64, range: R) -> Result<(), Error>[src]

Trait Implementations

impl Deref for Input[src]

type Target = Context

The resulting type after dereferencing.

impl DerefMut for Input[src]

impl Send for Input[src]

Auto Trait Implementations

impl !RefUnwindSafe for Input

impl !Sync for Input

impl Unpin for Input

impl UnwindSafe for Input

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.