pub struct Output<T: Send + Sync> { /* private fields */ }
Implementations§
Source§impl<T: Write + Send + Sync> Output<T>
impl<T: Write + Send + Sync> Output<T>
pub fn new(input: T, options: OutputOptions<'_>) -> Result<Self, FfmpegError>
pub fn seekable(
input: T,
options: OutputOptions<'_>,
) -> Result<Self, FfmpegError>where
T: Seek,
Source§impl<T: Send + Sync> Output<T>
impl<T: Send + Sync> Output<T>
pub fn set_metadata(&mut self, metadata: Dictionary)
pub fn as_ptr(&self) -> *const AVFormatContext
pub fn as_mut_ptr(&mut self) -> *mut AVFormatContext
pub fn add_stream( &mut self, codec: Option<*const AVCodec>, ) -> Option<Stream<'_>>
pub fn copy_stream<'a>(&'a mut self, stream: &Stream<'_>) -> Option<Stream<'a>>
pub fn write_header(&mut self) -> Result<(), FfmpegError>
pub fn write_header_with_options( &mut self, options: &mut Dictionary, ) -> Result<(), FfmpegError>
pub fn write_trailer(&mut self) -> Result<(), FfmpegError>
pub fn write_interleaved_packet( &mut self, packet: Packet, ) -> Result<(), FfmpegError>
pub fn write_packet(&mut self, packet: &Packet) -> Result<(), FfmpegError>
pub fn flags(&self) -> i32
Trait Implementations§
Auto Trait Implementations§
impl<T> Freeze for Output<T>
impl<T> RefUnwindSafe for Output<T>where
T: RefUnwindSafe,
impl<T> !Sync for Output<T>
impl<T> Unpin for Output<T>
impl<T> UnwindSafe for Output<T>where
T: UnwindSafe,
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more