pub struct SceneDetectConfig {
pub threshold: f32,
pub min_scene_duration: f64,
pub method: SceneDetectMethod,
}Expand description
Configuration for scene boundary detection.
Fields§
§threshold: f32Scene change threshold (0.0–1.0). Lower values detect more scene changes. Default: 0.3.
min_scene_duration: f64Minimum duration in seconds between detected scenes.
method: SceneDetectMethodDetection algorithm to use.
Trait Implementations§
Source§impl Clone for SceneDetectConfig
impl Clone for SceneDetectConfig
Source§fn clone(&self) -> SceneDetectConfig
fn clone(&self) -> SceneDetectConfig
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for SceneDetectConfig
impl Debug for SceneDetectConfig
Source§impl Default for SceneDetectConfig
impl Default for SceneDetectConfig
Source§impl<'de> Deserialize<'de> for SceneDetectConfig
impl<'de> Deserialize<'de> for SceneDetectConfig
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Auto Trait Implementations§
impl Freeze for SceneDetectConfig
impl RefUnwindSafe for SceneDetectConfig
impl Send for SceneDetectConfig
impl Sync for SceneDetectConfig
impl Unpin for SceneDetectConfig
impl UnsafeUnpin for SceneDetectConfig
impl UnwindSafe for SceneDetectConfig
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