StillManager#
- class pybmd.toolkits.StillManager(project: Project, timeline_framerate=24)[source]
Bases:
object
all about stills from timeline markers
Methods
__init__
(project[, timeline_framerate])export_stills
(export_base_path[, ...])export stills to given path
grab_still_from_timeline_markers
([timeline, ...])grab stills from timeline markers.
rename_still
(still_file_path[, clean_drx, ...])Attributes
- Parameters:
project (Project)
- grab_still_from_timeline_markers(timeline: Timeline = None, grab_sleep_time: float = 0.5) List[MarkerStill] [source]
grab stills from timeline markers.
- Parameters:
timeline (Timeline, optional) – timeline to grab stills. Defaults to None.
grab_sleep_time (float, optional) – time to sleep between grab. Defaults to 0.5.
- Returns:
_description_
- Return type:
List[MarkerStill]
- export_stills(export_base_path: str, file_name_format: str = '$file_name$_$clip_frame_tc$', format: StillFormat = StillFormat.TIF, clean_drx: bool = True, use_subfolder: bool = False, subfolder: str = '')[source]
export stills to given path
- Parameters:
export_path (str) – stills export path
file_name_format (str, optional) – file name format. accept $file_name$,$reel_name$,$reel_number$,$frames$,$clip_frame_tc$ and all clip property keys show at Davinci Resolve GUI as wildcard. Defaults to “$file_name$_$clip_frame_tc$”.
format (StillFormat, optional) – exported stills format. Defaults to StillFormat.TIF.
clean_drx (bool, optional) – clean drx files after stills exported. Defaults to True.
use_subfolder (bool, optional) – use subfolder to export stills. Defaults to False.
subfolder (str, optional) – subfolder name to export stills. Defaults to “”.
export_base_path (str)