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

  1. <!-- In this example, you will see a 400x300 24 bit movie.  The first clip  -->
  2. <!-- will be in slow motion, and use the "crop" mode of stretching, and the -->
  3. <!-- second clip will be sped up, and use the "PreserveAspectRatio" mode of -->
  4. <!-- stretching.  There will be a fade transition between the two.          -->
  5. <!-- Also, the audio will crossfade using the volume effect, and since      -->
  6. <!-- the second clip is much louder than the first, the second clip's audio -->
  7. <!-- volume will be cut.                                                    -->
  8.  
  9.  
  10. <timeline>
  11.   <group type="video" FrameRate="15" Width="400" Height="300" BitDepth="24">
  12.     <track>
  13.     <clip src="c:\mssdk\samples\multimedia\media\butterfly.mpg" start="0" stop="6" mstart="2" mstop="4.5" StretchMode="crop" />
  14.     </track>
  15.     <track>
  16.     <clip src="c:\mssdk\samples\multimedia\media\clocktxt.avi" start="6" stop="9" mstart="0" mstop="10" StretchMode="PreserveAspectRatio"/>
  17.     <transition clsid="{16b280c5-ee70-11d1-9066-00c04fd9189d}" start="6" stop="8" />
  18.     </track>
  19.   </group>
  20.  
  21.   <group type="audio">
  22.     <track>
  23.     <clip src="c:\mssdk\samples\multimedia\media\piano2.mp3" start="0" stop="6" mstart="4" mstop="8"/>
  24.       <effect clsid="{036A9790-C153-11d2-9EF7-006008039E37}" start="0" stop="6">
  25.       <param name="vol" value="1">
  26.         <linear time="6" value=".5"/>
  27.       </param>
  28.       </effect>
  29.     </track>
  30.  
  31.     <track>
  32.     <clip src="c:\mssdk\samples\multimedia\media\clocktxt.avi" start="6" stop="9" mstart="0" mstop="10"/>
  33.       <effect clsid="{036A9790-C153-11d2-9EF7-006008039E37}" start="6" stop="9">
  34.       <param name="vol" value=".2">
  35.       </param>
  36.       </effect>
  37.     </track>
  38.   </group>
  39.  
  40. </timeline>
  41.  
  42.  
  43.