Skip to main content

Crate aether_renderer_core

Crate aether_renderer_core 

Source

Re-exports§

pub use config::RenderConfig;
pub use report::RenderProgress;
pub use report::RenderReport;

Modules§

config
ffmpeg
input
report
utils

Constants§

STDIN_INPUT
The input that means “read a PNG stream from stdin” (--input -).

Functions§

is_stdin_input
Is input the stdin marker -?
preview_frame
Extract a single frame from an input folder or ZIP archive
render
Orchestrate rendering from a parsed configuration
render_from_config
Load configuration from file then render
render_stream
Render a PNG stream: PNG files back to back, as written by aether-renderer-capture --stdout or ffmpeg -f image2pipe -c:v png -. No temp files: the bytes go straight to ffmpeg’s stdin. args.input is ignored.
render_with_progress
Like render, but calls on_progress while ffmpeg works: once with frame 0 when encoding starts, then about twice a second, and with 100% at the end. Use it to drive a progress bar in a GUI or another tool.