pub struct MuxerEncoder<T: Send + Sync> { /* private fields */ }
Implementations§
Source§impl<T: Send + Sync> MuxerEncoder<T>
impl<T: Send + Sync> MuxerEncoder<T>
pub fn new( codec: EncoderCodec, output: Output<T>, incoming_time_base: AVRational, outgoing_time_base: AVRational, settings: impl Into<EncoderSettings>, muxer_settings: MuxerSettings, ) -> Result<Self, FfmpegError>
pub fn send_eof(&mut self) -> Result<(), FfmpegError>
pub fn send_frame(&mut self, frame: &Frame) -> Result<(), FfmpegError>
pub fn handle_packets(&mut self) -> Result<(), FfmpegError>
pub fn stream_index(&self) -> i32
pub fn incoming_time_base(&self) -> AVRational
pub fn outgoing_time_base(&self) -> AVRational
pub fn into_inner(self) -> Output<T>
Methods from Deref<Target = Encoder>§
pub fn send_eof(&mut self) -> Result<(), FfmpegError>
pub fn send_frame(&mut self, frame: &Frame) -> Result<(), FfmpegError>
pub fn receive_packet(&mut self) -> Result<Option<Packet>, FfmpegError>
pub fn stream_index(&self) -> i32
pub fn incoming_time_base(&self) -> AVRational
pub fn outgoing_time_base(&self) -> AVRational
Trait Implementations§
Auto Trait Implementations§
impl<T> Freeze for MuxerEncoder<T>
impl<T> RefUnwindSafe for MuxerEncoder<T>where
T: RefUnwindSafe,
impl<T> Send for MuxerEncoder<T>
impl<T> !Sync for MuxerEncoder<T>
impl<T> Unpin for MuxerEncoder<T>
impl<T> UnwindSafe for MuxerEncoder<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