Skip to content

Instantly share code, notes, and snippets.

View eugeneniemand's full-sized avatar

Eugene Niemand eugeneniemand

  • M&S
  • Essex, United Kingdom
View GitHub Profile
@eugeneniemand
eugeneniemand / FreezeFrame.py
Last active October 30, 2024 00:42
Davinci Resolve Freeze Frame and Extend Script
import pyautogui # Import pyautogui to simulate keystrokes and mouse actions
# Get the current project and timeline from DaVinci Resolve
project = resolve.GetProjectManager().GetCurrentProject()
timeline = project.GetCurrentTimeline()
# Get the timeline frame rate as an integer
frame_rate = int(project.GetSetting("timelineFrameRate"))
# Function to get the clip currently under the playhead