[Lights, Camera, Action]

Home    Forums    Tutorials    Search    Books    Links 

Windows Movie Maker tips, tutorials, forums and more...



 
Windows Movie Maker Home   Search   Login   Register   Member List  
Windows Movie Maker  > Transitions, Effects and Titles  > Re: PIP help    
Previous Thread :: Next Thread 
 Author Thread: PIP help
ideogenetic is not online. Last active: 2/9/2009 4:52:34 PM ideogenetic
Joined: 06 Sep 2008
Total Posts: 4
 
PIP help
Posted: 07 Sep 2008 12:08 AM
I'm trying to define a specific location to place video on top of video. Specifically, I want to pick an area in the video (say a shirt or a poster/picture on a wall) and define that spot as the location for the other video to run in. I've downloaded all of Rehan's PIP stuff (from static to PIP++Beta) and couldn't figure out how to do it, even after reading the release notes. Help would be greatly appreciated.
Rehan is not online. Last active: 5/8/2012 5:49:17 PM Rehan
www.rehanfx.org
Top 25 Poster
Joined: 21 Apr 2004
Total Posts: 2176
 
Re: PIP help
Posted: 07 Sep 2008 12:35 AM
If the screen was divided into 100x100 grid starting at top left, what are the coordinates? position and size?

www.rehanfx.org - do more with Windows Movie Maker...
rehanfx.x10hosting.com - mirror site
ideogenetic is not online. Last active: 2/9/2009 4:52:34 PM ideogenetic
Joined: 06 Sep 2008
Total Posts: 4
 
Re: PIP help
Posted: 07 Sep 2008 01:00 PM
Is there an exact way to do that, or do you just want an estimate?
A rough estimate (X/Y coordinates):
Top left: 35/15
Top right: 45/15
bottom left: 35/5
Bottom right: 45/5
Rehan is not online. Last active: 5/8/2012 5:49:17 PM Rehan
www.rehanfx.org
Top 25 Poster
Joined: 21 Apr 2004
Total Posts: 2176
 
Re: PIP help
Posted: 07 Sep 2008 07:48 PM
How come the bottom is 5 while top is 15? May be you calculate them with respect to bottom-left? For PipPlus I needed them wrt top-left.
From your coordinate we can transform them wrt top-left corner as:

Top-left of small rect: (35, 100-15) = (35, 85)
Bottom-right of small rect: (45, 100-5) = (45, 95)
hence x=35, y=85, width=10, height=10

In terms of PipPlus transition it would be:


<TransitionsAndEffects Version="1.0" SpecialIconFileID="1033" SpecialIconResourceID="101">
<Transitions>
<TransitionDLL guid="{4EF98DF5-794F-4fd3-8E77-559F82C8D10C}">
<Transition name="PIP+ A at Ideogenetic Position" iconid="0">
<Param name="RectA" value=" 0.0, 0.35, 0.85, 0.10, 0.10;" />
</Transition>
<Transition name="PIP+ B at Ideogenetic Position" iconid="0">
<Param name="RectB" value=" 0.0, 0.35, 0.85, 0.10, 0.10, 1.0 ;" />
</Transition>
</TransitionDLL>
</Transitions>
</TransitionsAndEffects>


You can see that the x,y,w,h are the same numbers as we calculated but written in floats from 0.0 to 1.0 (normalized coordinates). So if you wanted even more precision you can specify values upto 6 digit after the decimal.

www.rehanfx.org - do more with Windows Movie Maker...
rehanfx.x10hosting.com - mirror site
ideogenetic is not online. Last active: 2/9/2009 4:52:34 PM ideogenetic
Joined: 06 Sep 2008
Total Posts: 4
 
Re: PIP help
Posted: 07 Sep 2008 08:59 PM
The top and bottom were different because of the height, which you calculated correctly as 10. So if I paste the code into note pad and save it as xml and all that jazz it will create a new effect in wmm and if it's not in the right place or I want to use it for something else I just change those 4 (8, if you count both sets) numbers until it's in the right place and I'm good to go?
Rehan is not online. Last active: 5/8/2012 5:49:17 PM Rehan
www.rehanfx.org
Top 25 Poster
Joined: 21 Apr 2004
Total Posts: 2176
 
Re: PIP help
Posted: 07 Sep 2008 09:02 PM
Obviously you should have PipPlus installed first.

The answer to your question otherwise is "yes". If I were you, I would have found its easier to try than to wait for answers thoughSmiley

www.rehanfx.org - do more with Windows Movie Maker...
rehanfx.x10hosting.com - mirror site
ideogenetic is not online. Last active: 2/9/2009 4:52:34 PM ideogenetic
Joined: 06 Sep 2008
Total Posts: 4
 
Re: PIP help
Posted: 07 Sep 2008 09:07 PM
Yeah, it's installed :)

Well I was going to anyways, I think I really just needed the xml code to be on my way, but it's not a life or death project, just messing around, so I figured it wouldn't hurt to ask while I was at it. Thanks for your help!
Previous Thread :: Next Thread 
Goto to page:  Prev Next
 
Movie Maker Forums  > Windows Movie Maker  > Transitions, Effects and Titles  > Re: PIP help