y5gfunc.source.wobbly.types¶
types
¶
Advanced type definitions for Wobbly parser.
Classes:
| Name | Description |
|---|---|
FieldMatchOrder |
Field match order enumeration |
ProcessPosition |
Processing position enumeration |
VideoFormat |
Video format types |
ResizeFilterType |
Resize filter type |
FrameProperties |
Frame property dictionary type |
ProjectKey |
Project key constants |
VFMParametersKey |
VFM parameters key constants |
SectionsKey |
Sections key constants |
PresetsKey |
Presets key constants |
CustomListsKey |
Custom lists key constants |
ResizeKey |
Resize key constants |
CropKey |
Crop key constants |
DepthKey |
Depth key constants |
InterlacedFadesKey |
Interlaced fades key constants |
WobblyKeys |
Key constant collection for Wobbly project JSON structure |
InterlacedFade |
Interlaced fade information |
CropSettings |
Crop settings |
ResizeSettings |
Resize settings |
DepthSettings |
Depth settings |
SectionInfo |
Section information |
PresetInfo |
Preset information |
CustomListInfo |
Custom list information |
FrozenFrameInfo |
Frozen frame information |
DecimationRange |
Decimation range |
OrphanFieldInfo |
Orphan field information |
TimecodeVersion |
|
VideoResult |
Video processing result protocol |
Result |
Operation result container |
Attributes:
FieldMatchOrder
¶
ProcessPosition
¶
Bases: Enum
Processing position enumeration
Attributes:
| Name | Type | Description |
|---|---|---|
POST_SOURCE |
|
|
POST_FIELD_MATCH |
|
|
POST_DECIMATE |
|
VideoFormat
¶
ResizeFilterType
¶
FrameProperties
¶
Bases: TypedDict
Frame property dictionary type
Attributes:
ProjectKey
dataclass
¶
ProjectKey(wobbly_version: str = 'wobbly version', project_format_version: str = 'project format version', input_file: str = 'input file', input_frame_rate: str = 'input frame rate', input_resolution: str = 'input resolution', trim: str = 'trim', source_filter: str = 'source filter', user_interface: str = 'user interface', vfm_parameters: str = 'vfm parameters', matches: str = 'matches', original_matches: str = 'original matches', sections: str = 'sections', presets: str = 'presets', frozen_frames: str = 'frozen frames', combed_frames: str = 'combed frames', interlaced_fades: str = 'interlaced fades', decimated_frames: str = 'decimated frames', custom_lists: str = 'custom lists', resize: str = 'resize', crop: str = 'crop', depth: str = 'depth')
Project key constants
Attributes:
SectionsKey
dataclass
¶
PresetsKey
dataclass
¶
CustomListsKey
dataclass
¶
CustomListsKey(name: str = 'name', preset: str = 'preset', position: str = 'position', frames: str = 'frames')
ResizeKey
dataclass
¶
ResizeKey(width: str = 'width', height: str = 'height', filter: str = 'filter', enabled: str = 'enabled')
CropKey
dataclass
¶
CropKey(early: str = 'early', left: str = 'left', top: str = 'top', right: str = 'right', bottom: str = 'bottom', enabled: str = 'enabled')
DepthKey
dataclass
¶
DepthKey(bits: str = 'bits', float_samples: str = 'float samples', dither: str = 'dither', enabled: str = 'enabled')
InterlacedFadesKey
dataclass
¶
WobblyKeys
dataclass
¶
WobblyKeys(project: ProjectKey = ProjectKey(), vfm_parameters: VFMParametersKey = VFMParametersKey(), sections: SectionsKey = SectionsKey(), presets: PresetsKey = PresetsKey(), custom_lists: CustomListsKey = CustomListsKey(), resize: ResizeKey = ResizeKey(), crop: CropKey = CropKey(), depth: DepthKey = DepthKey(), interlaced_fades: InterlacedFadesKey = InterlacedFadesKey())
Key constant collection for Wobbly project JSON structure
Attributes:
project
class-attribute
instance-attribute
¶
project: ProjectKey = field(default_factory=ProjectKey)
vfm_parameters
class-attribute
instance-attribute
¶
vfm_parameters: VFMParametersKey = field(default_factory=VFMParametersKey)
sections
class-attribute
instance-attribute
¶
sections: SectionsKey = field(default_factory=SectionsKey)
presets
class-attribute
instance-attribute
¶
presets: PresetsKey = field(default_factory=PresetsKey)
custom_lists
class-attribute
instance-attribute
¶
custom_lists: CustomListsKey = field(default_factory=CustomListsKey)
interlaced_fades
class-attribute
instance-attribute
¶
interlaced_fades: InterlacedFadesKey = field(default_factory=InterlacedFadesKey)
InterlacedFade
dataclass
¶
CropSettings
dataclass
¶
CropSettings(enabled: bool = False, early: bool = False, left: int = 0, top: int = 0, right: int = 0, bottom: int = 0)
ResizeSettings
dataclass
¶
ResizeSettings(enabled: bool = False, width: int = 0, height: int = 0, filter: ResizeFilterType = BICUBIC)
DepthSettings
dataclass
¶
SectionInfo
dataclass
¶
PresetInfo
dataclass
¶
CustomListInfo
dataclass
¶
CustomListInfo(name: str, preset: str, position: ProcessPosition, frames: list[tuple[int, int]] = list())
FrozenFrameInfo
dataclass
¶
DecimationRange
dataclass
¶
OrphanFieldInfo
dataclass
¶
VideoResult
¶
Bases: Protocol
Video processing result protocol
Attributes:
| Name | Type | Description |
|---|---|---|
clip |
VideoNode
|
|
frame_props |
FramePropertyMap
|
|
frame_mapping |
FrameMap
|
|