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