Media Pool "Script" Menu Entry

  • Author
  • Message
Offline
User avatar

Andrew Hazelden

  • Posts: 536
  • Joined: Sat Dec 06, 2014 12:10 pm
  • Location: West Dover, Nova Scotia, Canada

Media Pool "Script" Menu Entry

PostSat Aug 28, 2021 5:51 pm

To help improve Resolve's workflow automation capabilities, it would be very useful if the Media Pool page had a right-clickable "Script" contextual menu entry added. I could see a Media Pool "Script" menu entry working in an identical fashion to the Resolve Fusion page's Node view based "Tool" scripting contextual menu feature.

When you run one of these scripts with footage selected, information about the currently selected item is passed automatically into the Lua or Python script as a global variable. Then the script is able to carry out an action that is contextually relevant for the user.

Media_Pool_Scripting.png
This is a mockup image of what a Media Pool Script menu item might look like.
Media_Pool_Scripting.png (297.56 KiB) Viewed 2839 times


Any script that is placed into the "Scripts:/MediaPool/" Path-Map location on disk would automatically show up in the Media Pool "Script" menu entry the next time Resolve is started. This would be very useful for allowing 3rd party tools to integrate seamlessly into the Media Pool page.

Scripts Folder.png
Scripts Folder.png (62.99 KiB) Viewed 2839 times


I could see pipeline TDs using this type of capability to connect to external project/shot management tools like Autodesk ShotGrid, ftrack, or Prism Pipeline, as well as interconnecting with version control software and asset management tools.
Mac Studio M2 Ultra / Threadripper 3990X | Fusion Studio 18.6.4 | Kartaverse 6
Offline

joergengeerds

  • Posts: 62
  • Joined: Mon May 27, 2019 11:24 pm
  • Real Name: Joergen Geerds

Re: Media Pool "Script" Menu Entry

PostSat Aug 28, 2021 8:32 pm

Totally agree with Andrew, this would be very helpful
Offline

DigitalMetal

  • Posts: 46
  • Joined: Fri May 09, 2014 4:40 am
  • Real Name: Neil Hester

Re: Media Pool "Script" Menu Entry

PostSat Aug 28, 2021 8:48 pm

Sounds like a great idea to me, Hopefully BM are seeing this and will make it happen!
Cameras: BMPCC OG, BMPCC4K, Sony A6400, GoPro 8, Insta360 One R.
Edit system:
Davinci Resolve Studio 18.X
BM Decklink 12G PCIe
Speed Editor
Windows 11 Pro
Nvidia RTX3090 24GB
Intel i9 10850K @4.9Ghz
32 GB DDR4 3000Mhz RAM
NVME SSD's
Offline
User avatar

Chad Capeland

  • Posts: 3025
  • Joined: Mon Nov 10, 2014 9:40 pm

Re: Media Pool "Script" Menu Entry

PostSat Aug 28, 2021 8:52 pm

This would be useful for so many things.

Associate stereoscopic/plenoptic media
Parse image file lists
Associate AOVs
Localize media from network or cloud storage
Verify media integrity
Update asset databases
Handle assets that are not Resolve compatible, like text documents or spreadsheets
...


Would like it to support iterating on folder/bins as well as multiple selections.

Oh, and a default script too, that runs on any media when it is added to the pool.
Last edited by Chad Capeland on Sat Aug 28, 2021 9:02 pm, edited 1 time in total.
Chad Capeland
Indicated, LLC
www.floweffects.com
Offline
User avatar

Bryan Ray

  • Posts: 2488
  • Joined: Mon Nov 28, 2016 5:32 am
  • Location: Los Angeles, CA, USA

Re: Media Pool "Script" Menu Entry

PostSat Aug 28, 2021 8:57 pm

That makes a lot of sense. I haven't done anything of note with Resolve automation yet, but I can see it being helpful to be able to run a script directly from a media item instead of having to scan the entire Media Pool to find the one or two items I want to manipulate.
Bryan Ray
http://www.bryanray.name
http://www.sidefx.com
Offline
User avatar

TheBloke

  • Posts: 1905
  • Joined: Sat Nov 02, 2019 11:49 pm
  • Location: UK
  • Real Name: Tom Jobbins

Re: Media Pool "Script" Menu Entry

PostSat Aug 28, 2021 9:02 pm

Excellent idea. +1
Resolve Studio 17.4.3 and Fusion Studio 17.4.3 on macOS 11.6.1

Hackintosh:: X299, Intel i9-10980XE, 128GB DDR4, AMD 6900XT 16GB
Monitors: 1 x 3840x2160 & 3 x 1920x1200
Disk: 2TB NVMe + 4TB RAID0 NVMe; NAS: 36TB RAID6
BMD Speed Editor
Offline

REVision_Pierre

  • Posts: 1
  • Joined: Sat Aug 28, 2021 10:00 pm
  • Real Name: Pierre Jasmin

Re: Media Pool "Script" Menu Entry

PostSat Aug 28, 2021 10:09 pm

I am not sure if to be addressed like that but once a client asked me if it was possible to apply an effect with a specific setting to all the clips - as well as a base Resolve color correction setting (they ingest somehow an EDL from Avid into Resolve).

Pierre
Offline

tpolson

  • Posts: 34
  • Joined: Wed Aug 22, 2012 8:44 pm
  • Real Name: Tom Polson

Re: Media Pool "Script" Menu Entry

PostSat Aug 28, 2021 11:45 pm

Good idea. It should be added.
Tom Polson
www.3dpaint.com
Offline

JP Docherty

  • Posts: 188
  • Joined: Wed Dec 31, 2014 2:37 pm

Re: Media Pool "Script" Menu Entry

PostSun Aug 29, 2021 6:17 am

+1 - this is an excellent idea. Among many other things it would allow TDs to tailor media handling for specific project needs and would also allow a more adaptable and efficient co-ordination of efforts between editorial, DI and VFX departments. And I'm sure that adding this capability would attract more customers and greatly extend the use of Resolve within existing setups. Let's hope BMD takes note and makes it happen.
Offline

Brad Thompson

  • Posts: 25
  • Joined: Mon Jan 05, 2015 5:14 pm

Re: Media Pool "Script" Menu Entry

PostMon Aug 30, 2021 12:25 pm

+1 This is an excellent idea that would open up a lot of possibilities. Also, since Andrew is suggesting it, you just know great tools will come from it.
Offline
User avatar

Eric Westphal

  • Posts: 214
  • Joined: Thu Nov 20, 2014 1:59 pm

Re: Media Pool "Script" Menu Entry

PostMon Aug 30, 2021 5:14 pm

That's a great idea.
Plus 10 thumbs from me...:-)
my hovercraft is full of eels.
Offline
User avatar

Miltos Pilalitos

  • Posts: 716
  • Joined: Wed Nov 12, 2014 12:42 am
  • Location: Athens, Greece

Re: Media Pool "Script" Menu Entry

PostTue Aug 31, 2021 11:25 pm

I can think of a couple of ways this would make life easier during some projects and I am sure there will be more that i can't think of.

Let's help Andrew do his magic!
Windows 10 x64 • Threadripper 1950x • 64GB RAM • RTX 4090 24GB • Latest Nvidia drivers
Fusioneer since Fu4.0 • Resolver since v9
Offline

movalex

  • Posts: 109
  • Joined: Wed Sep 27, 2017 2:35 pm
  • Real Name: Alexey Bogomolov

Re: Media Pool "Script" Menu Entry

PostWed Sep 01, 2021 10:50 am

Awesome idea, that will make media management in Resolve even more powerful. Thanks, Andrew for pushing it, and I hope devs will listen and will make it right.
Offline

haglex

  • Posts: 2
  • Joined: Wed Sep 01, 2021 7:22 pm
  • Real Name: Alexis Haggar

Re: Media Pool "Script" Menu Entry

PostThu Sep 02, 2021 6:44 am

YES, this feature would be a fantastic addition. It would mean we could do away with other archaic apps and keep it all in Resolve. I can see our integration with shot/asset management tools becoming super slick. Thanks, Andrew, for bringing this to the Devs attention!
Offline

avclubvids

  • Posts: 370
  • Joined: Mon Sep 17, 2018 6:06 am
  • Location: Los Angeles
  • Real Name: Andrew Cochrane

Re: Media Pool "Script" Menu Entry

PostThu Sep 02, 2021 6:56 am

+1 to anything that opens more doors to scripting inside Resolve!!
Offline

lsvrmatt

  • Posts: 3
  • Joined: Mon Jan 25, 2021 3:46 am
  • Real Name: Matthew Celia

Re: Media Pool "Script" Menu Entry

PostThu Sep 02, 2021 11:22 pm

+1 for this! I can see a million ways this would supercharge our advanced workflows.
Offline
User avatar

Kristof Indeherberge

  • Posts: 75
  • Joined: Fri Jul 01, 2016 8:15 pm

Re: Media Pool "Script" Menu Entry

PostFri Sep 03, 2021 7:33 am

I concur entirely with what's been said. It would be a great feature.
Offline

jrsfield

  • Posts: 4
  • Joined: Mon Mar 11, 2019 11:52 am
  • Real Name: Peter Ronai

Re: Media Pool "Script" Menu Entry

PostFri Sep 03, 2021 6:30 pm

I would also like to add myself to the list of people requesting this feature. Would make post so much quicker.
Offline

Zakato360

  • Posts: 3
  • Joined: Mon Aug 30, 2021 8:33 pm
  • Real Name: Antonio V. Garcia-Serrano

Re: Media Pool "Script" Menu Entry

PostWed Sep 08, 2021 7:38 pm

+1
Offline

piersdeseilligny

  • Posts: 33
  • Joined: Tue Apr 07, 2020 8:45 pm
  • Real Name: Piers Deseilligny

Re: Media Pool "Script" Menu Entry

PostMon Oct 04, 2021 11:53 am

This would be a great and much needed addition, although may I instead suggest that, instead of passing the selected clip(s) as a global variable, a new method along the lines of MediaPool.GetSelectedClips() be used instead? This would be more in-line with the way the API currently works, and would be a lot more flexible.

Ideally, there would also be a Timeline.GetSelectedClips() method, and something along the lines of Resolve.GetLastFocused() which would allow a script to know if the user's last selection occurred in the media pool or in the timeline (and therefore on which clips to perform any given operation).

MediaStorage.GetSelectedFiles() would also be great: just yesterday I would have saved a few hours if there was a way of writing scripts that are aware of selected clips in both the media storage and media pool.
Offline

ashton

  • Posts: 5
  • Joined: Wed Apr 15, 2020 6:54 pm
  • Real Name: Andrew Ashton

Re: Media Pool "Script" Menu Entry

PostThu Nov 11, 2021 9:20 pm

+10 for this feature request.

There is no doubt that making it simple for users to create and integrate automation scripts for Resolve's different pages would improve the lives of many.

It's incredible what we can do with the right tools. Who wants to see a mini IDE Script editor Panel within resolve? Users could create all sorts automation scripts.

Just for quick examples;
Media Pool: logging metadata, managing media and bins, batch building timelines/multicam clips, Importing media based on include/exclude patterns.
Edit page: Theres tons of little automation function to help editors, Managing Fusion comps in batches across clips would be huge, adjusting common properties of clips or nodes within.
Color Page: Scripts for exporting/importing and conforming of LUTs and grade setups. Managing color versions, markers and notes.
Sharing/Managing presets between databases.

The list is endless.
Offline

ColinMcT

  • Posts: 54
  • Joined: Sat Jul 10, 2021 11:14 pm
  • Real Name: Colin McTaggart

Re: Media Pool "Script" Menu Entry

PostWed Nov 24, 2021 7:45 pm

yes please
DaVinci Resolve Studio 17.4.3
2019 27" iMac 40gig ram
BM Speed Editor
BM Editor Keyboard
Ultrastudio mini 4K
BM Micro Panel

Return to DaVinci Resolve Feature Requests

Who is online

Users browsing this forum: No registered users and 20 guests