Crate naviz_video¶
- crate naviz_video¶
Enums
- enum VideoProgress¶
Video progress update event
- Render(f32, f32)¶
Render-update (
current time,duration)
- Encode(f32, f32)¶
Encode-update (
current time,duration)
- Done(ExitStatus)¶
Finished export (with
ffmpegexit status; may not always be successful)
Structs and Unions
- struct VideoExport¶
Struct to export a video from an Animator
Implementations
- impl VideoExport¶
Functions
- fn export_video(&mut self, target: &Path, progress: Sender<VideoProgress>)¶
Exports a video the the specified
target-path using system-installedffmpeg
- async fn new(animator: Animator, screen_resolution: (u32, u32), fps: u32) -> Self¶
Creates a new VideoExport from the passed Animator and with the passed
screen_resolutionandfps