Hi, I am running a custom python script (v3.6.8) to import a list of clips into DavinciResolve(v15). The script works great but performs very slow while importing the clips. Resolve freezes for several minutes, depending on the number of clips to be imported.
Once imported the timeline is created really fast, so the problem seems to be the actual import where things are slowing down tremendously. The clips I am importing are *.dng file sequences from BMCC 2.5K.
Here is the path generated by the python script (example sequence):- Code: Select all
/Volumes/RAID/MEDIA/FW_A01_2020-12-01_1812_C0003/FW_A01_2020-12-01_1812_C0003_000000.dng.tra
Here's the part of the script for import:- Code: Select all
# Import clips from Search Result
for oneClip in clipListRead:
jens = oneClip.split(".tra")
clips = resolve.GetMediaStorage().AddItemsToMediaPool(jens) # <-- clip list goes here
print(end='\n') # <-- command line spacer:)
foundM = 1 - len(jens)
print('Done! I found --' + (str(foundM)) + ' matches---')
# print("Timeline Clips: " + str(jens))
Is there a way to speed this up?
Thank you
Jens