pub struct Scene {
pub fps: f64,
pub canvas: Option<(u32, u32)>,
pub lavfi_overlay: Option<String>,
pub video_tracks: Vec<SceneVideoTrack>,
pub audio_tracks: Vec<SceneAudioTrack>,
}Expand description
A whole timeline’s worth of playback work, described without the editing model.
Fields§
§fps: f64Presentation frame rate. Clamped to at least 1.0 by the runner.
canvas: Option<(u32, u32)>Explicit output canvas (width, height), or None to size from the base track.
lavfi_overlay: Option<String>Optional timeline-global lavfi filtergraph string (e.g.
color=s=1920x1080:c=black@0.0,drawtext=text='Title') generated and composited
as the topmost video layer, matching the export path. None = no overlay.
video_tracks: Vec<SceneVideoTrack>Video tracks, composited bottom-up: index 0 is the V1 base, 1.. are overlays.
audio_tracks: Vec<SceneAudioTrack>Dedicated audio-only tracks (A1, A2, …).
Trait Implementations§
Auto Trait Implementations§
impl Freeze for Scene
impl RefUnwindSafe for Scene
impl Send for Scene
impl Sync for Scene
impl Unpin for Scene
impl UnsafeUnpin for Scene
impl UnwindSafe for Scene
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more