Solution for keyframes and pre-group/post-group grades

  • Author
  • Message
Offline

Michael Tiemann

  • Posts: 684
  • Joined: Fri Jul 05, 2013 11:22 am

Solution for keyframes and pre-group/post-group grades

PostMon Sep 02, 2019 3:06 pm

A few months ago I posted a naive request to support keyframes for pre-group and post-group grades. This is another go at that after thinking about it more.

A keyframe is a function that translates a frame value into a set of control parameters. It obviously depends on a functional (one-to-one) relationship with time. The time concept can be with respect to the absolute value of the timeline or with respect to the start of the clip. If the latter, the keyframe mapping can be adjusted if the clip is extended left or right, or if a speed function changes the rate at which timeline values relate to clip-relative values. Resolve does this so intuitively that we rarely give it much thought.

Clip grades and the Timeline grade have the benefit of having an unambiguous relationship with the timeline, or any timeline in the project. When a clip is associated with a timeline, that instance of the clip has its own timeline mapping defined for that timeline. The timeline itself has its own self-mapping.
Pre-Clip and Post-Clip Groups are special. They apply not only to multiple clips on a single timeline, but to other clips on other timelines within a project (possibly instances of the same clips on different timelines, usually instances of different clips on different timelines). In an earlier beta of Resolve 16, I ran into serious trouble when I set keyframes on Pre-Group clips, and the engineers at Blackmagic solved the problem by making it impossible to set such keyframes. Presently, one can only set keyframes on Clip and Timeline nodes, not Pre-Group and Post-Group nodes. (I don't like the fact that the Edit view inspector shows frame-accurate values of keyframe values for displayed parameters, but the Color window merely shows the most recent input to the keyframe, bumping it only when the frame contains a new input value, but that's for another Feature Request.)

Here's a thought for how to rationally control Pre-Group and Post-Group keyframe values: with special keyframe menus that associate with the Clip node.

Normally, the Keyframes panel of the Clip viewer shows all of the keyframes in the node tree of the clip, which might be as little as Corrector1 and Sizing, or might be dozens of correctors, layer mixers, key mixers, etc. If the keyframes panel also had keyframe controller views for Pre-Clip and Post-Clip groups, the interpretation would be very simple: THE CLIP HAS THE ABILITY TO DRIVE PARAMETERS OF THE PRE-CLIP and POST-CLIP NODE TREES. The clip can then do meaningful things, like control the Global Blend parameter of a power window. It can provide the tracking data to an interesting power window.

With this interpretation, Resolve could return to the functionality of having Pre-Clip and Post-Clip nodes being keyframe-able. By default, clips do not override Pre-Clip and Post-Clip keyframe controllers, so a do-nothing clip can allow a Pre-Clip or Post-Clip animation to run unfettered. But if the clip wants to override some parameters in the node tree (such as doing its own decision about how large a vignette should be, or how opaque the outside of a vignette should be), it could control it based on its own special knowledge.

I propose that if the clip wants to control any such parameters, the node tree would be displayed showing whether the keyframes come from the Group keyframes (default) or are copied into the Clip's keyframe controllers for the group for further manipulation. There could be a shortcut to copy all keyframe controllers to the Clip (taking full control of the Group for the Clip), as well as a revert shortcut (and revert all) shortcut to return control to the Group.

What do others think?
MacOS Catalina Version 10.15.7
iMac Pro (2017)
3 GHz Intel Xeon W
64GB 2666 MHz DDR4
Radeon Pro Vega 64 16 GB
RED Rocket-X
Decklink 8K Pro card feeding FSI XM310K Monitor
Offline

Peter Cave

  • Posts: 3802
  • Joined: Thu Aug 23, 2012 6:45 am
  • Location: Melbourne, Australia

Re: Solution for keyframes and pre-group/post-group grades

PostMon Sep 02, 2019 4:09 pm

I am interested in why you need keyframes in group grades. I can’t imagine a scenario where I would use them.
Resolve 18.6.6 Mac OSX 14.4.1 Sonoma
Mac Studio Max 32GB
Offline

Michael Tiemann

  • Posts: 684
  • Joined: Fri Jul 05, 2013 11:22 am

Re: Solution for keyframes and pre-group/post-group grades

PostMon Sep 02, 2019 5:10 pm

Peter Cave wrote:I am interested in why you need keyframes in group grades. I can’t imagine a scenario where I would use them.


I shoot music performances in my studio. I have static 4K cameras that can shoot for hours onto 2TB storage cards. I also have RED cameras that tend to fill up media more quickly, so we start and stop the RED cameras between songs and change out magazines when necessary. Cameras stay in their location (whether truly static, or on a dolly or rails). Once we have the recipe for a given camera location, we want to use that recipe as the starting point for everything shot with that camera.

When we bring the media back for edits, we organize the shots by songs, then we request mixed audio for the good takes to marry with the video. Each song goes to its own timeline.

With Remote grades, it is very easy to develop the a good look for a long-running static camera and then all songs throughout the day can share that same initial grade. But Remote grades only share across identically named clips (AFAIK). Thus, every time we start and stop the RED cameras, we interrupt the ability to share a remote grade from one take to the next or from one song to the next.

Groups transcend this problem. I can create groups for CamA, CamB, and CamC, dial in each one, and then use that same starting point across multiple takes and across multiple songs (on multiple timelines).

Where I run into trouble is this: when I'm zoomed wide, I may want to vignette away some background elements. When I zoom in, I want to effectively dolly through the vignette to get a clear view. It's the same vignette for all my takes and all my songs. It's just a question of controlling how large the mask is based on the zoom length. This is what I'd love to control from the clip, but have the nodes living in the group. That way I can keep all the elements consistent and organized across the whole project, while also controlling how I use these elements on a take-by-take basis.
MacOS Catalina Version 10.15.7
iMac Pro (2017)
3 GHz Intel Xeon W
64GB 2666 MHz DDR4
Radeon Pro Vega 64 16 GB
RED Rocket-X
Decklink 8K Pro card feeding FSI XM310K Monitor
Offline
User avatar

waltervolpatto

  • Posts: 10536
  • Joined: Thu Feb 07, 2013 5:07 pm
  • Location: 1146 North Las Palmas Ave. Hollywood, California 90038 USA

Re: Solution for keyframes and pre-group/post-group grades

PostTue Sep 03, 2019 7:41 pm

You can use the new function clip adjustment for that and free the groups
W10-19043.1645- Supermicro MB C9X299-PGF - RAM 128GB CPU i9-10980XE 16c 4.3GHz (Oc) Water cooled
Decklink Studio 4K (12.3)
Resolve 18.5.1 / fusion studio 18
GPU 3090ti drivers 512.59 studio
Offline

Michael Tiemann

  • Posts: 684
  • Joined: Fri Jul 05, 2013 11:22 am

Re: Solution for keyframes and pre-group/post-group grades

PostTue Sep 03, 2019 10:35 pm

waltervolpatto wrote:You can use the new function clip adjustment for that and free the groups


Thanks for that! I'll have to think about it.
MacOS Catalina Version 10.15.7
iMac Pro (2017)
3 GHz Intel Xeon W
64GB 2666 MHz DDR4
Radeon Pro Vega 64 16 GB
RED Rocket-X
Decklink 8K Pro card feeding FSI XM310K Monitor
Offline
User avatar

Marc Wielage

  • Posts: 11052
  • Joined: Fri Oct 18, 2013 2:46 am
  • Location: Hollywood, USA

Re: Solution for keyframes and pre-group/post-group grades

PostWed Sep 04, 2019 11:51 am

Michael Tiemann wrote:Where I run into trouble is this: when I'm zoomed wide, I may want to vignette away some background elements. When I zoom in, I want to effectively dolly through the vignette to get a clear view. It's the same vignette for all my takes and all my songs. It's just a question of controlling how large the mask is based on the zoom length. This is what I'd love to control from the clip, but have the nodes living in the group. That way I can keep all the elements consistent and organized across the whole project, while also controlling how I use these elements on a take-by-take basis.

Gee, I think this problem is solved by hiring a colorist. This is pretty much what we do. I don't expect for this to happen naturally.

The solution to me is to use lots of Memory & Gallery grades and recall whichever one you need. For example, A-Camera gets Memory 1, B-Camera gets Memory 2, and so on. You'd be surprised how fast you can get at this. I've done quite a few concert videos with upwards of 15-16 cameras, and we kept things matched pretty well. The trick is, if the cameras are moving and swing around to different angles or suddenly shoot right into a heavy backlight or something, we still have to make manual adjustments and use good judgement. I don't think there's an automatic adjustment for this because it requires taste and experience.
marc wielage, csi • VP/color & workflow • chroma | hollywood
Offline

stastonova

  • Posts: 2
  • Joined: Mon Jul 31, 2023 8:51 pm
  • Real Name: Anastasia Antonova

Re: Solution for keyframes and pre-group/post-group grades

PostThu Oct 19, 2023 10:42 pm

Peter Cave wrote:I am interested in why you need keyframes in group grades. I can’t imagine a scenario where I would use them.


Came here with the same question - I'm personally trying to use it for a "wiggle" function where the gain of the grade is changing slightly throughout.

Return to DaVinci Resolve Feature Requests

Who is online

Users browsing this forum: roger.magnusson and 19 guests