home *** CD-ROM | disk | FTP | other *** search
/ Visual Basic Game Programming for Teens / VBGPFT.cdr / DirectX8 / dx8vbsdk.exe / samples / multimedia / vbsamples / media / comp.xtl < prev    next >
Encoding:
Text File  |  2000-09-22  |  2.7 KB  |  64 lines

  1. <!-- This file demonstrates composites.  The video group consists of 2   -->
  2. <!-- tracks, but the first track is really an entire composition, not    -->
  3. <!-- just a single track.  That composition consists of 3 tracks, one of -->
  4. <!-- which is a composition itself.                                      -->
  5.  
  6. <!-- In this example, 4 clips will transition to each other,             -->
  7. <!-- except for the last transition which is muted, so the 3rd will cut  -->
  8. <!-- to the fourth. The audio will be mixed during the transition times, -->
  9. <!-- even during the muted video transition.                             -->
  10. <!-- The first clip is cropped, the second is aspect ratio preserved,    -->
  11. <!-- the third is cropped, and the fourth is stretched.                  -->
  12.  
  13. <!-- Also note that the first transition, 9999999... is invalid, so a    -->
  14. <!-- default push wipe transition will be used, and you will be notified -->
  15. <!-- of the problem that was corrected.                                  -->
  16.  
  17.  
  18. <timeline>
  19.   <group type="video" BitDepth="16" Height="240" FrameRate="15">
  20.     <composite>
  21.         <track>
  22.         <clip src="c:\mssdk\samples\multimedia\media\water.mpg" start="0" stop="5" mstart="0" StretchMode="Crop"/>
  23.         </track>
  24.         <track>
  25.         <clip src="c:\mssdk\samples\multimedia\media\ruby.avi" start="3" stop="8" mstart="0"  StretchMode="PreserveAspectRatio"/>
  26.         <transition clsid="{99999999-9999-9999-9999-999999999999}" start="3" stop="5" />
  27.         </track>
  28.         <composite>
  29.             <track>
  30.             <clip src="c:\mssdk\samples\multimedia\media\lake.mpg" start="7" stop="10" mstart="0"  StretchMode="Crop"/>
  31.         <transition clsid="{af279b30-86eb-11d1-81bf-0000f87557db}" start="7" stop="10" />
  32.             </track>
  33.         </composite>
  34.     </composite>
  35.     <track>
  36.     <clip src="c:\mssdk\samples\multimedia\media\highway.avi" start="10" stop="16" mstart="0" />
  37.     <transition clsid="{2A54C913-07AA-11D2-8D6D-00C04F8EF8E0}" start="9" stop="12" Mute="1"/>
  38.     </track>
  39.   </group>
  40.  
  41.  
  42.   <group type="audio" SamplingRate="44100">
  43.     <composite>
  44.         <track>
  45.         <clip src="c:\mssdk\samples\multimedia\media\water.mpg" start="0" stop="5" mstart="0" />
  46.         </track>
  47.         <track>
  48.         <clip src="c:\mssdk\samples\multimedia\media\piano.mp3" start="3" stop="8" mstart="0" />
  49.         </track>
  50.         <composite>
  51.             <track>
  52.             <clip src="c:\mssdk\samples\multimedia\media\track2.mp3" start="7" stop="10" mstart="0" />
  53.             </track>
  54.         </composite>
  55.     </composite>
  56.     <track>
  57.     <clip src="c:\mssdk\samples\multimedia\media\track3.mp3" start="10" stop="16" mstart="0" />
  58.     </track>
  59.   </group>
  60.  
  61. </timeline>
  62.  
  63.  
  64.