How to keep the frame inside the media when doing transform?

Get answers to your questions about color grading, editing and finishing with DaVinci Resolve.
  • Author
  • Message
Offline

msundman

  • Posts: 38
  • Joined: Tue Mar 13, 2018 12:48 am
  • Real Name: Marcus Sundman

How to keep the frame inside the media when doing transform?

PostTue Mar 13, 2018 12:55 am

Let's say I want to do a pan from left to right. I zoom in a bit and then move the media to the right until it aligns with the left frame, and that's where I add the first keyframe. However, I can't for the life of me figure out how to make the media's left border align exactly with the frame's left border. I guess I'm missing some snapping shortcut or alignment button somewhere.
Offline

msundman

  • Posts: 38
  • Joined: Tue Mar 13, 2018 12:48 am
  • Real Name: Marcus Sundman

Re: How to keep the frame inside the media when doing transf

PostWed Mar 14, 2018 3:01 am

Maybe my explanation of the problem was not clear enough. It certainly isn't easy to explain. Basically I want to zoom into my media in such a way that all the leftmost pixels in the output will be leftmost pixels of the media I'm zooming into. Is this more clear?
Offline

Peter Cave

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

Re: How to keep the frame inside the media when doing transf

PostWed Mar 14, 2018 3:11 am

msundman wrote:Maybe my explanation of the problem was not clear enough. It certainly isn't easy to explain. Basically I want to zoom into my media in such a way that all the leftmost pixels in the output will be leftmost pixels of the media I'm zooming into. Is this more clear?


Perfectly clear. There is no automatic way such as "snapping" to frame edges.
Resolve 18.6.5 Mac OSX 14.4 Sonoma
Mac Studio Max 32GB
Online

Peter Chamberlain

Blackmagic Design

  • Posts: 13875
  • Joined: Wed Aug 22, 2012 7:08 am

Re: How to keep the frame inside the media when doing transf

PostWed Mar 14, 2018 8:24 am

In preferences you can set to have a grey background in the viewer so you can see if there is misaligned edges.
Attachments
Grey viewer background.png
Grey viewer background.png (48.1 KiB) Viewed 3428 times
DaVinci Resolve Product Manager
Offline
User avatar

Johan Fleetwood

  • Posts: 107
  • Joined: Tue Mar 21, 2017 12:52 pm
  • Location: Sweden

Re: How to keep the frame inside the media when doing transf

PostWed Mar 14, 2018 11:56 am

msundman wrote:I want to zoom into my media in such a way that all the leftmost pixels in the output will be leftmost pixels of the media I'm zooming into.


Try setting the Anchor point X to minus half the picture width, i.e. -960 for 1920x1080.
Johan Fleetwood
Colorist | Editor | Post Production Consultant
- Win10pro, RTX 2080, Decklink, Mini Panel, Speed Editor, Ample RAM & SSD storage -
Offline
User avatar

waltervolpatto

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

Re: How to keep the frame inside the media when doing transf

PostWed Mar 14, 2018 2:40 pm

You can also have a special color tool that allows to see edges.

But there is no snapping
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
User avatar

Jean Claude

  • Posts: 2973
  • Joined: Sun Jun 28, 2015 4:41 pm
  • Location: France

Re: How to keep the frame inside the media when doing transf

PostWed Mar 14, 2018 3:22 pm

You have to try the Dynamic Zoom of the Edit page. :)
"Saying it is good, but doing it is better! "
Win10-1809 | Resolve Studio V16.1 | Fusion Studio V16.1 | Decklink 4K Extreme 6G | RTX 2080Ti 431.86 NSD driver! |
Offline

msundman

  • Posts: 38
  • Joined: Tue Mar 13, 2018 12:48 am
  • Real Name: Marcus Sundman

Re: How to keep the frame inside the media when doing transf

PostThu Mar 15, 2018 4:30 am

Peter Chamberlain wrote:In preferences you can set to have a grey background in the viewer so you can see if there is misaligned edges.

That doesn't help at all. Well, maybe a little bit if I zoom in like crazy, but even then the subpixel placing makes it impossible to align it exactly.

Suggestion alternative 1: Buttons for aligning elements left/center/right (x) and top/center/bottom (y).

Suggestion alternative 2: Snapping edges when dragging with some modifier key pressed.

Suggestion alternative 3: Checkbox enabling a mode in which it's impossible to move the media out of the frame. Unlike the previous suggestions this would also work when using rotation/pitch/yaw.

Your screenshot brings me to another issue, from UI Design 101: Do not use checkboxes for inherently non-boolean options, such as "make the background grey". That's not a boolean option as it has no clear complement. What does it mean if it was unchecked? That the foreground will be made grey? Or the borders will be made grey? Or that the background will be made yellow? Or that the background will be made a random color each time, but never grey? Or that the background will be transparent, showing whatever happens to be behind the window?
Offline

msundman

  • Posts: 38
  • Joined: Tue Mar 13, 2018 12:48 am
  • Real Name: Marcus Sundman

Re: How to keep the frame inside the media when doing transf

PostThu Mar 15, 2018 4:45 am

Johan Hansson wrote:
msundman wrote:I want to zoom into my media in such a way that all the leftmost pixels in the output will be leftmost pixels of the media I'm zooming into.


Try setting the Anchor point X to minus half the picture width, i.e. -960 for 1920x1080.

Thanks, that kinda works, but then you can't change the position at all, but have to do all translations using the anchor (in a kind of mirrored manner, since the media moves the opposite way from the anchor) which means you can't drag around the picture anymore, but are forced to just tweak the anchor values. And you also must leave rotation angle at exactly 0.

Still, neat workaround, thanks!
Offline

msundman

  • Posts: 38
  • Joined: Tue Mar 13, 2018 12:48 am
  • Real Name: Marcus Sundman

Re: How to keep the frame inside the media when doing transf

PostThu Mar 15, 2018 4:51 am

Jean Claude wrote:You have to try the Dynamic Zoom of the Edit page. :)

I can't do pans and (independent) zooms with that. If it had keyframes....maybe...assuming that it'll stay within the borders, which I'm not 100% sure it does. Anyway, as it is it's way too simple to be usable for pretty much any situation I can think of.
Offline

coby2k

  • Posts: 2
  • Joined: Wed Apr 29, 2020 7:10 pm
  • Real Name: Coby Randal

Re: How to keep the frame inside the media when doing transf

PostWed Apr 29, 2020 7:18 pm

Snap to frame bounds would be a great feature, whether built into Dynamic Zoom or as an overall Viewport snap feature that applies to anything being actively dragged by the mouse or nudged with keyboard. Is there anything like this at least in the Fusion editor?

Return to DaVinci Resolve

Who is online

Users browsing this forum: Daniel Batinic, piankamontazowa, tcordier0406 and 167 guests