programmatic video rendering framework that is actually fast
#![allow(unsafe_op_in_unsafe_fn)]
mod audio;
mod error;
mod font;
mod images;
mod raw_file;
pub mod subtitles;
mod subtitles_data;
mod video_types;
pub use audio::*;
pub use bytemuck;
pub use error::*;
pub use font::*;
pub use images::*;
pub use raw_file::*;
pub use subtitles::*;
pub use video_types::*;
#[cfg(target_arch = "wasm32")]
thread_local! {
pub static IS_PREVIEW_RENDERING: std::sync::atomic::AtomicBool = std::sync::atomic::AtomicBool::new(false);
}
#[cfg(not(target_arch = "wasm32"))]
mod audio_decoder;
#[cfg(not(target_arch = "wasm32"))]
mod video_decoder;
#[cfg(not(target_arch = "wasm32"))]
pub use ffmpeg_sys_fframes;
#[cfg(not(target_arch = "wasm32"))]
pub use video_decoder::*;
// For fframes shaders and wgpu layers, not public API.
#[cfg(not(target_arch = "wasm32"))]
#[doc(hidden)]
pub mod markers;
#[cfg(all(feature = "wgpu", not(target_arch = "wasm32")))]
pub use wgpu;
#[cfg(all(feature = "wgpu", not(target_arch = "wasm32")))]
pub mod wgpu_layer;
#[cfg(feature = "exif")]
pub use exif;