Skip to main content

Crate dioxuscut_renderer

Crate dioxuscut_renderer 

Source
Expand description

§dioxuscut-renderer

Video encoding and web server management for Dioxuscut.

Equivalent to @remotion/renderer.

§Architecture

  1. EncodeConfig — defines video output settings (resolution, FPS, codec, CRF)
  2. encode_frames — stitches frame PNGs into an MP4 video file via FFmpeg
  3. spawn_server — embedded web server for web assets and compositions

Re-exports§

pub use encode::build_ffmpeg_args;
pub use encode::cleanup_frames;
pub use encode::encode_frames;
pub use encode::encode_mp4;
pub use encode::EncodeConfig;
pub use render_frames::RenderConfig;
pub use render_frames::RenderError;
pub use server::spawn_server;
pub use server::spawn_server_with_config;
pub use server::ServeMode;
pub use server::ServerConfig;
pub use server::ServerError;
pub use server::ServerHandle;

Modules§

encode
Video encoding — stitches rendered frame PNGs into a video file via FFmpeg.
render_frames
Frame rendering configuration and error types.
server
Automated Web Server Lifecycle for Dioxuscut.