Announcement: Our new CyberLink Feedback Forum has arrived! Please transfer to our new forum to provide your feedback or to start a new discussion. The content on this CyberLink Community forum is now read only, but will continue to be available as a user resource. Thanks!
CyberLink Community Forum
where the experts meet
| Advanced Search >
How to syncronize zoom in/out with two clips?
bjch512 [Avatar]
Member Joined: Jul 21, 2021 23:32 Messages: 91 Offline
[Post New]
Hi,

Suppose there are two clips, one clip is a still photo (nightclub bar) used as background and the other clip is a person playing sax that is extracted from a video with green background.

We need to zoom in/out during sax play to make the video vivid. The question is how we can syncronize both background clip and front person clip when zoom in/out? This is necessary to make the final production video look real (i.e. a person really play sax in nighclub bar).

We can zoom in/out both clips independently but it's hard to make them coordinate 100% during both clips zoom in/out, which makes the final product video looks bad.

Thank & regards.
optodata
Senior Contributor Location: California, USA Joined: Sep 16, 2011 16:04 Messages: 8630 Offline
[Post New]
There are two easy ways of doing this.

The first is to finish the video with everthing except titles/overlays and without the zooms, then produce it. This "bakes in" the separate video with the background image and you can zoom in anywhere you want on the single video before adding titles and any other finishing touches.

The other way is to create all the zooms needed in one of the clips using keyframes - maybe workiong with the background image as that probably gives you the best sense of what the finished product will look like - then right-click on it and choose Copy Keyframe Attributes.

Now select the other clip, right-click and choose Paste Keyframe Attributes and the zoom keyframes will be duplicated exactly.
bjch512 [Avatar]
Member Joined: Jul 21, 2021 23:32 Messages: 91 Offline
[Post New]
Quote There are two easy ways of doing this.

The first is to finish the video with everthing except titles/overlays and without the zooms, then produce it. This "bakes in" the separate video with the background image and you can zoom in anywhere you want on the single video before adding titles and any other finishing touches.

The other way is to create all the zooms needed in one of the clips using keyframes - maybe workiong with the background image as that probably gives you the best sense of what the finished product will look like - then right-click on it and choose Copy Keyframe Attributes.

Now select the other clip, right-click and choose Paste Keyframe Attributes and the zoom keyframes will be duplicated exactly.


Thank you for the information.

For the first method, it should be working perfectly. Just curious, do we loose any video details when produce it twice?

For the second method, I tried "Past Keyframes Attributes" but it does not past the copied keyframes from the 1st clip to the 2nd clip. Please see attached clip. Not sure what I could miss.

Thanks & regards.
 Filename
Produce_720-24p-7mbps.mp4
[Disk]
 Description
 Filesize
30960 Kbytes
 Downloaded:
86 time(s)
optodata
Senior Contributor Location: California, USA Joined: Sep 16, 2011 16:04 Messages: 8630 Offline
[Post New]
Quote
For the first method, it should be working perfectly. Just curious, do we loose any video details when produce it twice?

The best way to not lose any quality is to produce the first time with the same output profile you'll use for the final production. Ideally, when you go to produce the final time you'll have SVRT as an option, which will copy the unchanged frames without rendering/producing them and will only update the changed frames (like those with an added title)

Quote For the second method, I tried "Past Keyframes Attributes" but it does not past the copied keyframes from the 1st clip to the 2nd clip. Please see attached clip. Not sure what I could miss.

Your video shows that you used the Pan & Zoom tool on the background clip. Clips modified using those tools are basically locked to those settings on the main timeline which is why none of the normal options are available.

Instead use the PiP Designer or the Keyframes button to set the Scale and Position values as needed, then you'll be able to transfer those settings directly to the video clip as I described.

FYI PD comes with a free ScreenRecorder utility that will give you much higher quality recordings than trying to record your monitor with a phone đź‘Ť

This message was edited 1 time. Last update was at Aug 25. 2021 01:55

bjch512 [Avatar]
Member Joined: Jul 21, 2021 23:32 Messages: 91 Offline
[Post New]
Quote

The best way to not lose any quality is to produce the first time with the same output profile you'll use for the final production. Ideally, when you go to produce the final time you'll have SVRT as an option, which will copy the unchanged frames without rendering/producing them and will only update the changed frames (like those with an added title)



Thank you for your suggestions. It helps a lot!

(1) By "output profile", does it mean "File Extension", "Profile type" and "Profile name/Quality"? Do I also need to use the same setting for all other options such as SVRT, etc?

(2) Attached screenshot (SVRT-disabled.jpg) shows SVRT is disabled. Why and how to enable it?

(3) When SVRT is used, will the following two changes need to be redering/producing? I hope they can be simply copied from the original frames but not sure about it.

a) Zoom in/out
b) Panning left/right


Quote

Your video shows that you used the Pan & Zoom tool on the background clip. Clips modified using those tools are basically locked to those settings on the main timeline which is why none of the normal options are available.

Instead use the PiP Designer or the Keyframes button to set the Scale and Position values as needed, then you'll be able to transfer those settings directly to the video clip as I described.

FYI PD comes with a free ScreenRecorder utility that will give you much higher quality recordings than trying to record your monitor with a phone đź‘Ť



(1) Thank you for the info again. Yes, I tried PiP and could copy-past Keyframe from one clip to another now. This is very handy and powerful tool. Like it!

(2) PD help shows "To access the Screen Recorder dialog, select Screen Recorder from the Plugins menu" but not sure why my PD Plugins doesn't have this entry (please see attached screenshots). Do we need to install any additional packages?
[Thumb - screen-recorder-2.JPG]
 Filename
screen-recorder-2.JPG
[Disk]
 Description
 Filesize
59 Kbytes
 Downloaded:
3 time(s)
[Thumb - SVRT-disabled.JPG]
 Filename
SVRT-disabled.JPG
[Disk]
 Description
 Filesize
84 Kbytes
 Downloaded:
3 time(s)
[Thumb - screen-recorder-1.JPG]
 Filename
screen-recorder-1.JPG
[Disk]
 Description
 Filesize
117 Kbytes
 Downloaded:
3 time(s)

This message was edited 2 times. Last update was at Aug 25. 2021 17:20

optodata
Senior Contributor Location: California, USA Joined: Sep 16, 2011 16:04 Messages: 8630 Offline
[Post New]
Quote (1) By "output profile", does it mean "File Extension", "Profile type" and "Profile name/Quality"? Do I also need to use the same setting for all other options such as SVRT, etc?

(2) Attached screenshot (SVRT-disabled.jpg) shows SVRT is disabled. Why and how to enable it?

SVRT only works when your source clip and the output profile are identical. In your screenshot, you show an H.265 (HEVC) profile so SVRT won't appear if your source clip(s) is(are) H.264 AVC or Quicktime (MOV).

The best way to find the ideal output profile is to click on Profile Analyzer and choose one of the listed options. There's a separate list of Intelligent SVRT profiles if any can be used for the current project. Choose one of those to ensure that additional producing runs will leave all unchanged sections exactly as-is.

Quote (3) When SVRT is used, will the following two changes need to be redering/producing? I hope they can be simply copied from the original frames but not sure about it.

a) Zoom in/out
b) Panning left/right

Each of those fundamentally changes the content, so every affected frame will need to be re-rendered. That doesn't mean the quality will be terrible, though. As long as you have a decent output profile, 1 additional pass through shouldn't have a noticeable impact on quality. You defintely want to avoid multiple passes whenever possible unless you can use SVRT.

Quote (2) PD help shows "To access the Screen Recorder dialog, select Screen Recorder from the Plugins menu" but not sure why my PD Plugins doesn't have this entry (please see attached screenshots). Do we need to install any additional packages?

According to this comparison chart, all versions of PD19 (lifetime license) and PD365 (subscription version) come with ScreenRecorder 4. I don't know which version you have, but I assume it isn't the subscription version since SR4 is installed automatically from the CL App Manager.

If you have PD19 Ultra/Ultimate, there should have been several installer files that came with your purchase and you may want to take another look at them and the purchase confirmation email for more details. If you have the Steam version, you'll need to check to see if SR4 is included.
bjch512 [Avatar]
Member Joined: Jul 21, 2021 23:32 Messages: 91 Offline
[Post New]
Quote

SVRT only works when your source clip and the output profile are identical. In your screenshot, you show an H.265 (HEVC) profile so SVRT won't appear if your source clip(s) is(are) H.264 AVC or Quicktime (MOV).

The best way to find the ideal output profile is to click on Profile Analyzer and choose one of the listed options. There's a separate list of Intelligent SVRT profiles if any can be used for the current project. Choose one of those to ensure that additional producing runs will leave all unchanged sections exactly as-is.



Each of those fundamentally changes the content, so every affected frame will need to be re-rendered. That doesn't mean the quality will be terrible, though. As long as you have a decent output profile, 1 additional pass through shouldn't have a noticeable impact on quality. You defintely want to avoid multiple passes whenever possible unless you can use SVRT.



Attached screenshots show the result of Profile Analyzer.

(1) What does "As Source" mean? I guess we should pick the highest "As Source" in order to get higheast possible video quality?
(2) The top profile is "1080, 30p, 16Mbps". So video quality of this profile should be even bettern than other available profiles such as "1080, 60p, 40Mbps" and 4K profiles?
(3) After pick up one profile from the output of Profile Analyzer, SVRT is enabled automatically. Is it waht we expect?

Quote

According to this comparison chart, all versions of PD19 (lifetime license) and PD365 (subscription version) come with ScreenRecorder 4. I don't know which version you have, but I assume it isn't the subscription version since SR4 is installed automatically from the CL App Manager.

If you have PD19 Ultra/Ultimate, there should have been several installer files that came with your purchase and you may want to take another look at them and the purchase confirmation email for more details. If you have the Steam version, you'll need to check to see if SR4 is included.


I watched a tutorial of Screen Recorder, which says we can run Screen Recorder as a standalone tool. Which exe file under "C:\Program Files\CyberLink\PowerDirector19" should we run to start Screen Recorder?

Thanks & regards.
[Thumb - profile-analyzer2.JPG]
 Filename
profile-analyzer2.JPG
[Disk]
 Description
 Filesize
53 Kbytes
 Downloaded:
2 time(s)
[Thumb - profile-analyzer4.JPG]
 Filename
profile-analyzer4.JPG
[Disk]
 Description
 Filesize
87 Kbytes
 Downloaded:
2 time(s)
[Thumb - profile-analyzer1.JPG]
 Filename
profile-analyzer1.JPG
[Disk]
 Description
 Filesize
56 Kbytes
 Downloaded:
2 time(s)
optodata
Senior Contributor Location: California, USA Joined: Sep 16, 2011 16:04 Messages: 8630 Offline
[Post New]
Once SR4 is installed there should be an icon placed on your desktop and double-clicking on it is all you'd need to do to launch it.



If for some reason there isn't a desktop icon, the file name to look for is ScreenRecorder.exe but it may be in a different folder than PD. No matter what, it should also be available from the Plug-ins menu inside PD.

As for the multiple Profile Analyzer options, you're getting those because you have clips in different sizes, formats, bitrates and frame rates on your project timeline and SVRT can only do its magic with one of the displayed sets. It will use CPU encoding for the non-matching clips which is often slower than using hardware acceleration but it is usually of higher quality.

Your guide to choosing which of the available options should be determined by the pixel size you want your finished video to be. Since you have 4K clips you might want to use that so you have the best possible detail and quality in your 4K clips. PD will then upscale all lower resolution clips to match using the CPU.

If you're happy with HD (1920x1080) quality, choose that profile and your HD clips will be copied directly while the 854x480 clips will be upscaled and your 4K clips will be downscaled by the CPU.

Each choice affects the total production time, but that's unavoidable when working with clips with different resolutions and you goal is simply to decide on the final output you want and let PD make it happen.

If all these clips are needed to create your initial video before going in and adding any zoom keyframes as was described way back at the start of this discussion, you would want to produce it to your final desired resolution (even if you use hardware encoding and not SVRT at first) and then let SVRT produce the edited project to the same resolution again so you won't re-encode any unchanged frames.
bjch512 [Avatar]
Member Joined: Jul 21, 2021 23:32 Messages: 91 Offline
[Post New]
Thanks so much for the details. Much appreciate.

I learned a lot (and more need to learn) after extending my original questions to other areas.

Best regards.
Anonymous [Avatar]
[Post New]
Grab the scintillating stones from the latest jewelry collection
Let your style shine bright by wearing a beautiful stone pendant that
is very daring and stylish from our latest jewelry collection.
We create sophisticated stone pendants and necklaces with delicate
beads and stones so feel free to give them a try because they are very
easy to style with your outfit. Buy jewelry online that is great to
be worn over your night-out outfits.
Powered by JForum 2.1.8 © JForum Team