Skip to main content

FFramesLogger

Trait FFramesLogger 

Source
pub trait FFramesLogger: Sync + Send {
Show 13 methods // Required method fn success(&self, output_path: &Path, temp_files_dir: Option<&PathBuf>); // Provided methods fn init_media_processing( &self, media_count: usize, ) -> FFramesRendererResult<()> { ... } fn log_processed_media(&self, path: &Path) { ... } fn log_unprocessed_media_file(&self, filename: &str) { ... } fn log_media_processing_start(&self, filename: &str, path: &Path) { ... } fn init_frames_rendering( &self, duration_in_frames: usize, ) -> FFramesRendererResult<()> { ... } fn log_frame(&self, index: usize, thread_number: usize) { ... } fn init_audio_encoding( &self, frames_count: usize, ) -> FFramesRendererResult<()> { ... } fn log_audio_frame(&self) { ... } fn finish_audio_encoding(&self) { ... } fn get_libav_log_level(&self) -> c_int { ... } fn should_dump_format_info(&self) -> bool { ... } fn warn(&self, message: &str) { ... }
}

Required Methods§

Source

fn success(&self, output_path: &Path, temp_files_dir: Option<&PathBuf>)

Provided Methods§

Source

fn init_media_processing(&self, media_count: usize) -> FFramesRendererResult<()>

Source

fn log_processed_media(&self, path: &Path)

Source

fn log_unprocessed_media_file(&self, filename: &str)

Source

fn log_media_processing_start(&self, filename: &str, path: &Path)

Source

fn init_frames_rendering( &self, duration_in_frames: usize, ) -> FFramesRendererResult<()>

Source

fn log_frame(&self, index: usize, thread_number: usize)

Source

fn init_audio_encoding(&self, frames_count: usize) -> FFramesRendererResult<()>

Called once before audio encoding starts with the number of audio frames that will be reported through log_audio_frame.

Source

fn log_audio_frame(&self)

Source

fn finish_audio_encoding(&self)

Source

fn get_libav_log_level(&self) -> c_int

Source

fn should_dump_format_info(&self) -> bool

Source

fn warn(&self, message: &str)

A problem that did not stop the render, e.g. media that render_frame asked for but the media provider does not have.

Trait Implementations§

Source§

impl Debug for dyn FFramesLogger

Source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more

Dyn Compatibility§

This trait is dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety".

Implementors§