Fun fact, I learned directly from BMD support that they have custom dump() shortcuts. For example, running =variable will print said variable, and ==bmd will dump the entire table. Ironically I never thought to do this with the "bmd" object and was wondering where everyone was finding all these undocumented functions, so thanks for being the person that finally explains where they come from.
how can we do following suppose i made 2 macros one which zooms in at the starting of clip other which zooms out at the end of clip both of them has a check box with label match now suppose i added 2 adjustment clips ,first adjusment clip has 1st macro,and 2nd adjustment clip has 2nd macro and then i clicked match in 2nd macro it will replace the 1st position key frame of 2ndmacro [transofrm xy] with the value of 1st macro in its last frame how can i do this?
This is a pretty complicated question to answer without visuals haha if you want, you can head to my discord and re-ask, I can hop in a call with you and we can talk about it!
detecting when certain events happen in the software is limited I'm pretty sure. And I don't think you could make a script to make the transcript file either without a bit of work that probably isn't wanted sadly. So, at least to my knowledge no you cannot.
Hellou ! Is it possible via Lua or Python to change a clip speedpoints retime speeds ? Normally, when you want to synchronize a video to the music and use slowdowns and accelerations, you want a certain frame to be the last in the clip so that the movement (e.g. sports performance video) continues normally and the next clip of course continues from the next frame, etc. They are difficult to retime speed with the mouse by swiping up and down and are not precise. It would be great if you could do slow motions, so you could define the last frame of the clip, regardless of how many speed points and at what speed the clip runs. A normal example of a practical situation is when there are, say, 3 speed points in a clip and then you try to get a certain value for the retime speed for the last speed point so that a certain frame of the clip would be at a certain point in the timeline :)
This might be able to be done if the retime was done in Fusion, but the Davinci Resolve Exclusive API is extremely limited for timeline manipulation like keyframes and other things about clips. I don't believe it's possible. Here's a website that compiles all the Davinci Specific functions: deric.github.io/DaVinciResolve-API-Docs/
@@asherroland Thank you ! It is not difficult math to calculate a certain speed for the rest of the clip when you know the fps, at which time point is the speedpoint, current retime speed value, the time point of the desired frame and the final time point for that frame.
Find Davinci Scripting Online Resources (Most in JUST Python):
resolvedevdoc.readthedocs.io/en/latest/index.html
emberlightvfx.github.io/Fusion-Script-Docs/#/
deric.github.io/DaVinciResolve-API-Docs/
www.steakunderwater.com/wesuckless/viewforum.php?f=6
www.steakunderwater.com/wesuckless/viewforum.php?f=46
ong my life has changed after watching your scripting series, I can't make macros the same way ever again
Wait til we get into making UIs 😁🥳
Fun fact, I learned directly from BMD support that they have custom dump() shortcuts. For example, running =variable will print said variable, and ==bmd will dump the entire table. Ironically I never thought to do this with the "bmd" object and was wondering where everyone was finding all these undocumented functions, so thanks for being the person that finally explains where they come from.
Glad I could help! 😁 I knew about that too, I forgot to bring it up! Thanks for the comment 🎉😊
i really loved your tutorials
This will all make sense to me ... eventually.
Those videos on scripting are so great! Thank you for making them ❤
Glad you're enjoying them! 😁
Cool tutorial, Asher
Thank you for making this video! ^_^
My pleasure! :3
thank you so much for this video...
You are so welcome!
Keep it up bro! ♥️
Thanks 🔥
Nice tutorial, very few ressources about resolve scripting. One question, how do you get autocompletion for resolve instructions in visual code ?
I am just using the first lua extension available when you search for lua in the extensions panel
But it also has to do with that I just wrote the same file earlier so it somewhat remembers what I typed before
how can we do following
suppose i made 2 macros one which zooms in at the starting of clip other which zooms out at the end of clip
both of them has a check box with label match
now suppose i added 2 adjustment clips ,first adjusment clip has 1st macro,and 2nd adjustment clip has 2nd macro
and then i clicked match in 2nd macro
it will replace the 1st position key frame of 2ndmacro [transofrm xy] with the value of 1st macro in its last frame
how can i do this?
This is a pretty complicated question to answer without visuals haha if you want, you can head to my discord and re-ask, I can hop in a call with you and we can talk about it!
Is it possible to create a script that captures time code when you export a transcript?
detecting when certain events happen in the software is limited I'm pretty sure. And I don't think you could make a script to make the transcript file either without a bit of work that probably isn't wanted sadly. So, at least to my knowledge no you cannot.
@@asherroland Thanks for the quick reply.
Hellou ! Is it possible via Lua or Python to change a clip speedpoints retime speeds ? Normally, when you want to synchronize a video to the music and use slowdowns and accelerations, you want a certain frame to be the last in the clip so that the movement (e.g. sports performance video) continues normally and the next clip of course continues from the next frame, etc. They are difficult to retime speed with the mouse by swiping up and down and are not precise.
It would be great if you could do slow motions, so you could define the last frame of the clip, regardless of how many speed points and at what speed the clip runs.
A normal example of a practical situation is when there are, say, 3 speed points in a clip and then you try to get a certain value for the retime speed for the last speed point so that a certain frame of the clip would be at a certain point in the timeline :)
This might be able to be done if the retime was done in Fusion, but the Davinci Resolve Exclusive API is extremely limited for timeline manipulation like keyframes and other things about clips. I don't believe it's possible.
Here's a website that compiles all the Davinci Specific functions: deric.github.io/DaVinciResolve-API-Docs/
@@asherroland Thank you ! It is not difficult math to calculate a certain speed for the rest of the clip when you know the fps, at which time point is the speedpoint, current retime speed value, the time point of the desired frame and the final time point for that frame.
removing silences script?
Studio Version has that already