Exemple:
Code : Tout sélectionner
function Capture24( string I, int "First_Frame", int "Last_Frame" )
{
First_Frame=Default( First_Frame, 0 )
Last_Frame=Default( Last_Frame, 0 )
OutputDebugString( "© Dirk-Pitt 2006 ~ Capture24( '%s', %d, %d )", I, First_Frame, Last_Frame )
V=MPEG2Source( "D:\Work\"+I+"\VTS_01_1.D2V" )
V=Crop( V, 18, 16, -14, -16 )
# V=AutoCrop( V, 1, 4, 2 )
V=BilinearResize( V, 480, 360 )
A=WAVSource( "D:\Work\"+I+"\VTS_01_1 T01 2_0CH 256KBPS DELAY 0MS.WAV" )
A=SSRC( A, 44100 )
L=AudioDub( V, A )
L=Trim( L, First_Frame, Last_Frame )
Return( L )
}