PC Review Forums Newsgroups Windows XP Windows XP MovieMaker knowledge of COM and ATL programming???

Reply

knowledge of COM and ATL programming???

 
Thread Tools Rate Thread
Old 07-02-2004, 06:23 AM   #1
Clap
Guest
 
Posts: n/a
Default knowledge of COM and ATL programming???


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
  Reply With Quote
Old 07-02-2004, 05:44 PM   #2
clintonG
Guest
 
Posts: n/a
Default Re: knowledge of COM and ATL programming???

Evaluate Visual Communicator...
http://www.seriousmagic.com/

--
<%= Clinton Gallagher
A/E/C Consulting, Web Design, e-Commerce Software Development
Wauwatosa, Milwaukee County, Wisconsin USA
NET csgallagher@REMOVETHISTEXTmetromilwaukee.com
URL http://www.metromilwaukee.com/clintongallagher/

LaGarde StoreFront 5 Affiliate: e-Commerce Solutions
SEE: http://www.storefront.net/default.a...ERER=-201499070



"Clap" <danclap@hotmail.com> wrote in message
news:c00201c3ed42$f8f6bc90$a001280a@phx.gbl...
> 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



  Reply With Quote
Old 07-02-2004, 08:16 PM   #3
=?Utf-8?B?c3R1YXJ0?=
Guest
 
Posts: n/a
Default RE: knowledge of COM and ATL programming???

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.
  Reply With Quote
Old 07-02-2004, 08:36 PM   #4
=?Utf-8?B?c3R1YXJ0?=
Guest
 
Posts: n/a
Default RE: knowledge of COM and ATL programming???

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/d...vieMakerSFX.asp
For information specific to this transition, look a
http://msdn.microsoft.com/library/d...rtransition.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

  Reply With Quote
Old 08-02-2004, 01:08 AM   #5
Clap
Guest
 
Posts: n/a
Default .xml extension? stuart help

How do i make it a .xml extension?
  Reply With Quote
Old 08-02-2004, 02:36 AM   #6
=?Utf-8?B?c3R1YXJ0?=
Guest
 
Posts: n/a
Default RE: .xml extension? stuart help

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

  Reply With Quote
Old 08-02-2004, 09:31 AM   #7
=?Utf-8?B?Q2xhcA==?=
Guest
 
Posts: n/a
Default argh....

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!
  Reply With Quote
Old 08-02-2004, 10:01 AM   #8
=?Utf-8?B?Q2xhcA==?=
Guest
 
Posts: n/a
Default wait stu

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!
  Reply With Quote
Old 08-02-2004, 10:11 AM   #9
=?Utf-8?B?Q2xhcA==?=
Guest
 
Posts: n/a
Default again!

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
  Reply With Quote
Old 08-02-2004, 10:21 PM   #10
=?Utf-8?B?c3R1YXJ0?=
Guest
 
Posts: n/a
Default RE: wait stu

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.
  Reply With Quote
Reply



Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off