knowledge of COM and ATL programming???

C

Clap

Does anyone know anything about this??? if they do is it
possible for them to make me an effect in MM2 with the
split screen effect? please help!!! because i want two
pieces of footage on the one screen as a split screen
effect! PLEASE HELP i went to a site and it said i need
to know about COM & ATL programming but i wouldnt have a
clue about it! please help
 
G

Guest

1. Copy the following text and save it as a text file in th
"c:\ProgramFiles\Movie Maker\1033\AddOnTFX\" folder with a .xml extension
The actual directory may be different depending on your language (1033 i
for English) and installation. You may also have to create the folde
AddOnTFX
=========.xml file=====
<TransitionsAndEffects Version="1.0" ><Transitions><TransitionDLL guid="{BB44391D-6ABD-422f-9E2E-385C9DFF51FC}"><Transition name="PIP Preview" iconid="88"><Param name="SrcOffsetX" value="0" /><Param name="SrcOffsetY" value="0" /><Param name="SrcWidth" value="360" /><Param name="SrcHeight" value="240" /><Param name="OffsetX" value="180" /><Param name="OffsetY" value="120" /><Param name="Width" value="180" /><Param name="Height" value="120" /></Transition><Transition name="PIP Render" iconid="88"><Param name="SrcOffsetX" value="0" /><Param name="SrcOffsetY" value="0" /><Param name="SrcWidth" value="720" /><Param name="SrcHeight" value="480" /><Param name="OffsetX" value="360" /><Param name="OffsetY" value="240" /><Param name="Width" value="360" /><Param name="Height" value="240" /></Transition></TransitionDLL></Transitions></TransitionsAndEffects

you will need to mess around with the height values a bit to get the effect you want.
 
G

Guest

I got this off KEN.simple split screen can be accomplished with the Picture in Pictur
transition included in the DirectX programming. The transition is alread
there, you only need to point WMM in the right direction and supply th
parameters for the transition. If you want to read up a little on custo
transitions and effects look a
http://msdn.microsoft.com/library/default.asp?url=/library/en-us/dnwmt/html/MovieMakerSFX.asp
For information specific to this transition, look a
http://msdn.microsoft.com/library/d...rectx9_c/directx/htm/compositortransition.asp

This transition places video cropped per your specifications inside a windo
on top of another video clip. The window size and location is also up t
you. If the second clip (the one inside the window) is not cropped to th
same size or aspect ratio as the window in which it is placed, the vide
will be zoomed or stretched to fit. For a split screen application, thi
means that one of the clips could be squashed to fit. If you want both side
of the split screen distorted to fit, you would have to run it once t
create a clip with video in a window on one side, the re-import the clip t
be used as source and place a second window on the other side

One final note before the step by step instructions. Unfortunately, th
locations for cropping and the window must be defined as pixel coordinate
rather than percentage of the video. This results in several complications
First, I have only worked with full size DV-AVI (720x480) files for al
source files and also for the destination file. I do not know if WMM fit
the source video to the destination size before sending it to the transitio
engine or after (perhaps PapaJohn can help us out with this), so if you ar
working with different resolutions, you will have to experiment to see wha
works. Second, WMM previews in a reduced 360x240 mode, so for my tests, th
dimensions entered appeared to be twice as large as I was expecting i
preview mode. The rendered video file was fine. I have since learned t
define 2 transitions, one with all the values divided by half which I ca
use to preview and see if the window is in the right spot, etc. I then hav
to remember to apply the rendering transition before the file is created

This is getting rather lengthy, sorry 'bout that. On to the nitty gritty

1. Copy the following text and save it as a text file in th
"c:\ProgramFiles\Movie Maker\1033\AddOnTFX\" folder with a .xml extension
The actual directory may be different depending on your language (1033 i
for English) and installation. You may also have to create the folde
AddOnTFX
=========.xml file=====
<TransitionsAndEffects Version="1.0" ><Transitions><TransitionDLL guid="{BB44391D-6ABD-422f-9E2E-385C9DFF51FC}"><Transition name="PIP Preview" iconid="88"><Param name="SrcOffsetX" value="0" /><Param name="SrcOffsetY" value="0" /><Param name="SrcWidth" value="360" /><Param name="SrcHeight" value="240" /><Param name="OffsetX" value="180" /><Param name="OffsetY" value="120" /><Param name="Width" value="180" /><Param name="Height" value="120" /></Transition><Transition name="PIP Render" iconid="88"><Param name="SrcOffsetX" value="0" /><Param name="SrcOffsetY" value="0" /><Param name="SrcWidth" value="720" /><Param name="SrcHeight" value="480" /><Param name="OffsetX" value="360" /><Param name="OffsetY" value="240" /><Param name="Width" value="360" /><Param name="Height" value="240" /></Transition></TransitionDLL></Transitions></TransitionsAndEffects
=================================
The parameters I have given are for a screen split in the center with th
second clip squashed into the right half of the screen (DV-AVI resolution)
The right half of the first clip will not be seen. The parameters ar
defined as follows
SrcOffsetX distance from the left edge of the second clip to place in th
PIP windo
SrcOffsetY distance from the top edge of the second clip to place in th
PIP windo
SrcWidth width of the portion of the second clip to place in the PI
windo
SrcHeight height of the portion of the second clip to place in the PI
window
OffsetX distance from the left edge of the first clip to place the PIP
window
OffsetY distance from the top edge of the first clip to place the PIP
window
Width width of the PIP window
Height height of the PIP window
The parameters beginning with Src define how to crop the second clip. You
will probably have to play around with the values to get it to work how you
want it too. Make sure to resave the .xml file after you make changes.

2. Restart WMM. Custom Transitions are loaded at run time, so you must
restart WMM before the transition will be visible. This also applies to any
changes/tweaks you make to the parameter values later on, you must close and
then restart WMM.

3. Place the background clip on the timeline. If you are going to run this
twice to put a window on the left and the right, the background clip will be
covered up and so just a still should work fine.

4. Place the video you want to be in the window on the timeline after the
first clip.

5. Grab the newly created "PIP Preview" transition from the Transition
collection and drop it over the second clip.

6. Preview and make any changes.

7. Render and check to see that it all worked out OK.

8. If you want, re-import the new video to use as source and place another
window on the other side.

Hope this helps, let me know how it works out.

Ken
 
G

Guest

open notepad and copy the selected text to it and click file save-as type a name for it and and at the end of the file put in xml and then click save. e.g new.xm
 
G

Guest

y0 stu this still didnt work! i have saved it in C:\program files\move maker\addontfx\new.xm

but it still wont work! i have opened MM2 and i have checked the transitions and the effects and there is still no change!
 
G

Guest

i just posted a msg just then, but then i had a muck around with all this crap! and i have now got the Pip REnder and Pip preview, to come up in transitions but when i got preview they dont work what do i do? i also added them to the timeline but still no effect has happened!
 
G

Guest

k after serveral attepmpts i have finally got it working! yay but when i play it! there is only the background and then a lil square in teh top left hand corner had do i make them bigger? ill keep trying thanx so much
 
G

Guest

in one of the last messages i posted i gave two websites that helped explain how to configure the dimensions of the pip effect
you have to mess around with it to get the size and shape you want
take two small video files about 10 secounds each and put them in the timeline add the pip effect to them and save it
take a look at the finnished video and if it is not right try changing the size if the efect
it will take a few attemps to get it right
As i said before trial and error.
 
G

Guest

the only one you need to use is the pip preview
they will look different in the preview window to the finnished video.You cant go by the preview box in movie maker you have to save the movie file
I take it you went on to the websites i posted and downloaded the extra effects
If you didnt i will give you them again
http://msdn.microsoft.com/library/default.asp?url=/library/en-us/dnwmt/html/MovieMakerSFX.asp
on this website you can download extra effects
http://msdn.microsoft.com/library/d...irectx9_c/directx/htm/compositortransition.as
on this one it tells you a little about the pip effect. how to size the video and so on

All the best
 
G

Guest

oi stu in one of ur 1st forum letters! u said i had to pip preview it then render it? what do u mean?
 
G

Guest

yeh i tried to figure around with it and this is what i got.... ill copy n paste what i have done..

<TransitionsAndEffects Version="1.0" ><Transitions><TransitionDLL guid="{BB44391D-6ABD-422f-9E2E-385C9DFF51FC}"><Transition name="PIP Preview" iconid="88"><Param name="SrcOffsetX" value="0" /><Param name="SrcOffsetY" value="0" /><Param name="SrcWidth" value="360" /><Param name="SrcHeight" value="240" /><Param name="OffsetX" value="180" /><Param name="OffsetY" value="120" /><Param name="Width" value="180" /><Param name="Height" value="120" /></Transition><Transition name="PIP Rend" iconid="88"><Param name="SrcOffsetX" value="0" /><Param name="SrcOffsetY" value="360" /><Param name="SrcWidth" value="360" /><Param name="SrcHeight" value="480" /><Param name="OffsetX" value="360" /><Param name="OffsetY" value="360" /><Param name="Width" value="360" /><Param name="Height" value="480" /></Transition></TransitionDLL></Transitions></TransitionsAndEffects

do u see any faults in this??? because i thought it was right and when i tried it out as soon as it should of went split screeen the video stoppped but the sound still continued! do u think u would b able to make it for me?
 
G

Guest

YES!!!!!!!! i did it!!! lol omfg finall
thanx alot ma

i ended up with the file..

- <TransitionsAndEffects Version="1.0"
- <Transitions
- <TransitionDLL guid="{BB44391D-6ABD-422f-9E2E-385C9DFF51FC}"
- <Transition name="Split Screen" iconid="88"><Param name="SrcOffsetX" value="0" /><Param name="SrcOffsetY" value="0" /><Param name="SrcWidth" value="360" /><Param name="SrcHeight" value="480" /><Param name="OffsetX" value="360" /><Param name="OffsetY" value="0" /><Param name="Width" value="360" /><Param name="Height" value="480" /></Transition></TransitionDLL></Transitions></TransitionsAndEffects

but 1st half from teh left isnt squashed, its still as a background vid which i dont want! i the 2nd half is perfect and i dont know what to do... argh any sduggestions?
 
G

Guest

oi stu!!! LAST QUESTION! lol um is it possible to change this transition into an effect? if so how?
 
G

Guest

It all depends on the size of your video your using so every video is different. the original was intended for DV-AVI video
and also the part you want to show on the split screen will vary with every video.So when you finnish using it for one you will need to change it for another.
 
P

PapaJohn \(MVP\)

I think you're right Stuart.... it seems that 2 clips are needed for a PIP
and transitions are the only thing that link 2 clips together. Effects apply
just to a single clip. I guess most everything is technically possible, but
with today's software, the transition is the thing to use.

In the clip I made for Do Amazing Things > Part I > Add Visual Effects >
press the hot graphic (the menu at www.papajohn.org), I overlapped two clips
by all but one frame to get the one video playing within the other.

PapaJohn
www.papajohn.org

stuart said:
I dont think you can change it into an effect. I take it you know how to
make it last longer using the timeline by clicking on it and dragging it ?
And if you want to make it even longer you will have to add it in again an
do a bit of editing it to get it right.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Similar Threads


Top