[−][src]Struct ffav::format::context::output::Output
Implementations
impl Output
[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 Output
[src]
pub fn format(&self) -> Output
[src]
pub fn write_header(&mut self) -> Result<(), Error>
[src]
pub fn write_header_with(
&mut self,
options: Dictionary<'_>
) -> Result<Dictionary<'_>, Error>
[src]
&mut self,
options: Dictionary<'_>
) -> Result<Dictionary<'_>, Error>
pub fn write_trailer(&mut self) -> Result<(), Error>
[src]
pub fn add_stream<E: Encoder>(
&mut self,
codec: E
) -> Result<StreamMut<'_>, Error>
[src]
&mut self,
codec: E
) -> Result<StreamMut<'_>, Error>
pub fn add_chapter<R: Into<Rational>, S: AsRef<str>>(
&mut self,
id: i32,
time_base: R,
start: i64,
end: i64,
title: S
) -> Result<ChapterMut<'_>, Error>
[src]
&mut self,
id: i32,
time_base: R,
start: i64,
end: i64,
title: S
) -> Result<ChapterMut<'_>, Error>
pub fn set_metadata(&mut self, dictionary: Dictionary<'_>)
[src]
Trait Implementations
impl Deref for Output
[src]
type Target = Context
The resulting type after dereferencing.
pub fn deref(&self) -> &Self::Target
[src]
impl DerefMut for Output
[src]
impl Send for Output
[src]
Auto Trait Implementations
impl !RefUnwindSafe for Output
[src]
impl !Sync for Output
[src]
impl Unpin for Output
[src]
impl UnwindSafe for Output
[src]
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
pub fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
pub fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,