Repository navigation
v2026.4.0
API
Changes for DaVinci Resolve 21.1.1 / 21.1.2
DaVinci Resolve 21.1.1 made TranscribeAudio, AnalyzeForSlate, CreateSubtitlesFromAudio,
DetectSceneCuts, SmartReframe and RenderWithQuickExport non-blocking: the wrappers now return
as soon as the job starts. Poll the new Project.get_*_status() methods for progress.
New classes
- Add
PhotoAlbum(pybmd.photo_album) - Timeline-like photo album: name, unique id, photo list, current item,delete_photos(), node graph, media pool item,grab_still()/grab_all_stills()(DR 21.1.2) - Add
PhotoAlbumItem(pybmd.photo_album_item) - TimelineItem-like photo: Fusion compositions, flags, clip color, ratings, remote color versions,set_cdl(), node graph,export_lut(), color group, burn-in preset, effects,export_frame(),get_properties()/set_properties()(DR 21.1.2) - Add
Effect(pybmd.effect) - An effect applied to a timeline item or photo:get_info(),get_is_enabled()/set_is_enabled(),get_index()/set_index()for ordering,get_fusion_comp()(DR 21.1.2)
Resolve
- Add
get_effects_list()- Returns the effects available for "video", "photo" or "audio" asEffectInfomodels (DR 21.1.2) - Add
is_studio()- Returns whether this is DaVinci Resolve Studio (in the DR 21.1.2 API reference; introducing version undocumented, so no version check) - Add
set_high_priority()- Sets the script execution priority (in the DR 21.1.2 API reference; introducing version undocumented, so no version check)
ProjectManager
- Add
get_current_folder()- Returns the name of the current project folder - Add
get_project_last_modified_time()- Returns a project's last modified time as an epoch timestamp (in the DR 21.1.2 API reference; returnedNonefor every project in testing)
Project
- Add
get_render_with_quick_export_status(),get_transcribe_audio_status(),get_analyze_for_slate_status(),get_smart_reframe_status(),get_detect_scene_cuts_status(),get_create_subtitles_from_audio_status()- Progress of the now non-blocking jobs, as status models (DR 21.1.1) - Add
get_photo_album_count(),get_photo_album_by_index(),get_current_photo_album(),set_current_photo_album()(DR 21.1.2) - Add
get_photo_quick_export_render_presets()andrender_photos_with_quick_export()- Quick Export for the current photo album usingPhotoQuickExportRenderSettings. It does not run while the Deliver page is open (DR 21.1.2) - Add
set_photo_render_settings()- Deliver page settings for photo albums usingPhotoRenderSettings. In DR 21.1.2 it switches the UI to the Deliver page and returned False for every setting tested (DR 21.1.2)
MediaPool
- Add
create_empty_photo_album(),create_photo_album_from_photos(),delete_photo_albums(),add_to_photo_album()(DR 21.1.2)
MediaPoolItem
- Add
get_photo_album()- The photo album a photo album clip represents,Noneotherwise (DR 21.1.2) - Add
get_parent_folder()- The folder containing the item (DR 21.1.2) - Add
export_frame()- Exports a frame to a file or a base64 string, returnsExportFrameResult(DR 21.1.2) - Add
set_transcription()- Replaces the transcription from aTranscriptionmodel or dict (Studio) (DR 21.1.2) - Add
clear_flags() - Update
transcribe_audio()- Newtranscribe_as_nested_clipargument, only sent when True
Folder
- Add
get_parent_folder()- The parent folder,Nonefor the root folder (DR 21.1.2) - Update
transcribe_audio()- Newtranscribe_as_nested_clipargument, only sent when True
Timeline
- Add
get_is_enabled()/set_is_enabled()(DR 21.1.2). In DR 21.1.2, after re-enabling the current timeline, edits on it fail untilProject.set_current_timeline()is called again - Add
export_frame()(DR 21.1.2) - Add
delete_gaps()- Ripple-deletes every gap (DR 21.1.2) - Add
move_items()- Moves timeline items as a group usingTimelineItemPosition(DR 21.1.2) - Update
create_subtitles_from_audio()-auto_caption_settingsis now optional
TimelineItem
- Add
set_left_offset()/set_right_offset()- Trim edit points to leave a given number of media frames available (DR 21.1.2) - Add
get_position()/set_position()- Absolute position asTimelineItemPosition(DR 21.1.2) - Add
add_effect(),get_effects(),delete_effects()- Fusion, OFX and audio effects asEffectobjects (DR 21.1.2) - Add
export_frame()(DR 21.1.2) - Add
analyze_audio_levels()- True peak and integrated loudness asAudioLevelsInfo(DR 21.1.2) - Add
copy_attributes()- Edit page "Paste Attributes" usingCopyAttributesOptions(DR 21.1.2) - Add
ripple_delete_silence()- UsingRemoveSilenceOptions(DR 21.1.2) - Add
update_marker_custom_data() - Transition properties
TransitionType,TransitionCategory,TransitionDurationandTransitionAlignmentare available throughget_properties()/set_properties()(DR 21.1.2)
Graph
- Add
set_node_label(),get_node_color(),set_node_color()(DR 21.1.2) - Update
apply_grade_from_drx()- Newapply_to_all_layers(DR 21.1.1) andkeyframe_mode(DR 21.1.2) arguments. Each is only sent when used, and raisesAPIVersionErroron a Resolve version that predates it
ColorGroup
- Add
get_photos_in_photo_album()- Photos of a photo album (the current one by default) in this group (DR 21.1.2)
settings module
- Add write models:
ExportFrameOptions,TimelineItemPosition,CopyAttributesOptions,RemoveSilenceOptions,PhotoRenderSettings,PhotoQuickExportRenderSettings,PhotoAlbumItemProperties - Add read models:
ExportFrameResult(withdecode_data()returning the image bytes),AudioLevelsInfo,EffectInfo,QuickExportRenderStatus,TranscribeAudioStatus,SlateAnalysisStatus,SmartReframeStatus,DetectSceneCutsStatus,CreateSubtitlesFromAudioStatus - Add enums:
KeyframeTiming,PhotoExportFormat,PhotoAutoQuality,PhotoTiffCompressionType,PhotoScaleMode,PhotoResolutionUnit,PhotoImageOrientation,PhotoCropRatio,PhotoLookType - Add
TimelineItemPropertiesfieldsTransitionType/TransitionCategory(read only, excluded frommodel_dump()so a model filled fromget_properties()can be passed back) andTransitionDuration/TransitionAlignment - Add
AutoCaptionSettings.subtitle_extended_language_supportandAutoCaptionSettingsIndex.EXTENDED_LANGUAGE_SUPPORT(DR 21.1.2) - Add 45
LanguageIDmembers: 10 built-in languages pybmd had not listed (Finnish, Hindi, Indonesian, Malay, Polish, Romanian, Turkish, Vietnamese, Tamil, Thai) and 35 extended languages that needsubtitle_extended_language_support(DR 21.1.2) - Add
AudioSyncMode.AUDIO_SYNC_IN/AUDIO_SYNC_OUT/AUDIO_SYNC_MARKER - Update
BaseIndexSettingserialization to skip fields left atNone, so optional keys added in newer Resolve versions are never sent to older ones - Add the DR 21.1.2 constants to the
ResolveObjectprotocol in_resolve_types.py
decorators
- Add
require_resolve_version_for_argument()- RaisesAPIVersionErrorwhen an optional argument is used on a Resolve version that predates it
Fixes
- Fix
TimelineItem.set_cdl()callingSetCdl. The API isSetCDL, so the method raised'NoneType' object is not callable. It now also accepts a dict - Fix
Timeline.delete_marker_by_color()andTimelineItem.delete_marker_by_color()callingDeleteMarkerByColor. The API isDeleteMarkersByColor; both raised'NoneType' object is not callable - Fix
MediaPoolItem.clear_flag_color()calling the nonexistentClearFlagColor; it now callsClearFlags - Fix
ColorGroup.get_clips_in_timeline()raisingNameError:TimelineItemwas only imported for type checking - Fix
LineBreakTypes.LINE_DOUBLEreading the misspeltAUPTO_CAPTION_LINE_DOUBLE, which DaVinci Resolve does not define, so its value wasNone. It now readsAUTO_CAPTION_LINE_DOUBLE
Notes
- DR 21.1.2 still only accepts the
ImportClipInfo/ dict form ofMediaPool.import_media()for image sequences; single files still need the (deprecated) list-of-paths form TimelineItem.get_node_label()stays blocked as removed in 19.0.0 - useget_node_graph().get_node_label()