Module export_ui

Source
Expand description

Export window (non-blocking egui::Window “Export”): resolution (Project / 720p / 1080p / 1440p / 4K / Custom W×H, keeping the project aspect unless unlocked), scaler for up/downscaling (Nearest, Bilinear, Bicubic, Lanczos, Area, Spline → ffmpeg flags), encoder (auto + detected), quality CRF, preset, an “audio only” hint by extension, and the Fast Lossless Cut option when export::lossless_segments applies (with the keyframe-accuracy note). “Export…” opens the save dialog and returns the options; the window stays usable while an export runs (progress + cancel are shown by the app). Settings remember the last scaler/resolution. Returns Some(options) when the user confirmed an export this frame.

Structs§

ExportChoice
ExportUi

Constants§

RES_PRESETS 🔒
SCALERS
ffmpeg scale flags offered anywhere an export resizes (also used by the Export Frame window).

Functions§

init_from_settings 🔒
pick_and_build 🔒
Save dialog (same filters as the app’s Export) → ExportChoice.
preset_size 🔒
Output size for a resolution preset: None = project size. Height presets derive the width from the project aspect (rounded to even).
show