None
NO
Creating Free Rich Automatic Captions In DaVinci Resolve
['Den Delimarsky']
Hi, I'm Den 👋 on Den Delimarsky
import os import re import sys import whisper from whisper.utils import get_writer def TranscribeAudio ( path , output ): print ( f "Transcribing { path } to { output } " ) model = whisper . SetCurrentTimeline ( timeline ) else : print ( "Current project has no timelines" ) return # Read the subtitles (SRT) file. GetClipProperty ()[ "Clip Name" ] } selected as template' ) timelineTrack = video_track_index # Add template text to timeline (text not set yet) for i , ( timelinePos , duration , text ) in enumerate ( subs ): if i < len ( subs ) - 1 and subs [ i + 1 ][ 0 ] - ( timelinePos + duration ) < 200 : # if gap between subs is less than 10 frames duration = ( subs [ i + 1 ][ 0 ] - subs [ i ][ 0 ]) - 1 # then set current subtitle to end at start of next subtitle - 1 frame newClip = {…