Several passes through the source data are required to produce an Ultimotion movie file.
During the first pass, the capture routines position the video source device to the starting position in the source video. It then uses OS/2 multimedia to record the desired audio track. If the desired final format for the movie requires both audio and video to be interleaved, MULTITRACKWRITE interleaves them.
During the second pass, capture routines use OS/2 multimedia to position the video source at the desired location. For each frame in the movie, an MCI_STEP message is sent to the MCD controlling the source device. When the resulting image has been "grabbed" or "digitized" by the capture hardware, the video data is retrieved and written to disk through the AVI I/O procedure. This process continues until the required video is captured.
Note: Only the second pass is used if you are recording video without audio.
The following figure illustrates the architecture of the components involved in doing asymmetric capture and compression of video from frame accurate devices.
ÚÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄ¿ÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄ¿ ³ Asymmetric Recorder ÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄ¿ ³ ÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÙ ³ ³ ÚÙ ³ Media Control Interface Commands and Notifications ³ ³ ³ÚÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÁÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄ¿³ ³³ Media Device Manager ³³ ³ÀÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÂÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÙ³ ³ .WAV data ³ ³ ³ ÚÄÄÄÙ ³ Ú¿ ÚÄÄÄÄÄÄÄÄÄÄÄÄÄÄ¿ ÚÄÄÄÄÄÄÄÄÄ¿ ÚÄÄÄÄÄÄÄÄÄÄÄÄÄ¿ ÚÄÄÄÄÁÄ¿ ³ ÀÁÁÁÁÙÄÄ´Amplifier Mixer³ ³Video Disc³ ³Digital Media ³ ³AVI ÿ ³ ³ ³Media Driver ³ ³Driver ³ ³Driver ³ ÚÄIOProc³³ ³ ³ ÀÂÄÄÄÄÄÄÄÄÄÄÄÄÄÙ ÀÄÄÄÄÄÄÄÄÄÙ ÀÄÄÄÄÄÄÄÄÄÄÄÄÂÙ ³ ÀÄÄÄÄÄÙ³ ³ ³ ³ ³ ³ ³ ³ ³ ³ ³ ³ ÚÄÄÄÄÄÄÄÄ¿ ÚÄÄÄÄÄÄÄÄÄÄÄÄÄ¿ ÚÄÄÄÄÄÄÄÄÄÄ¿ ÚÄÄÄÄÄ¿ ÚÂÂÂÅ¿ ³ ³ ³ ³ ³Audio ³ ³SPI Interfaces³ ³ Laser Disc³ ³VSD ³ ÀÁÁÁÁÙ ÀÄÄ¿ ³ ³ ³ ³Adapter ³ ³SSM ³ ³ ³ ³Driver³ uncompressed³ ³ ³ ³ ÀÄÄÄÄÄÄÄÄÄÙ ÀÄÄÄÄÄÄÄÄÄÄÄÄÄÄÙ ÀÄÄÄÄÄÄÄÄÄÄÄÙ ÀÄÄÄÄÄÙ video frame ³ ³ ³ ³ audio data ÚÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄ¿ ³ ÚÄÄÙ ³ ³ ³ ÚÄÄÄÄÄ¿ Ú¿ ÚÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄ¿ ³ ÚÄÄÄÄÄÄÄÄÄÄÄÄ¿ ÚÄÄÄÄÄÄ¿³ ³ ÀÄ MMIO³ÄÀÁÁÁÁÙÄ Multitrack ³ ³ ³Video Capture³ ³CODEC ³³ ³ ÀÄÄÄÄÄÙ ³ Stream Handler ³ ³ ³PDD ³ ³ ³³ ÀÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÀÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÙ ³ ÀÄÄÄÄÄÄÄÄÄÄÄÄÙ ÀÄÄÄÄÄÄÄÙ³ ³ ³ ³ ³ ÚÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄ¿ ³ ÚÄÄÄÄÄÄÄÄÄÄÄÄ¿ ³ ³ MMIO ³ ³ ³Video Adapter³ ³ ³ Manager ³ ³ ÀÄÄÄÄÄÄÄÄÄÄÄÄÄÙ ³ ÀÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÙ ÀÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄ Ú¿ÄÄÄÄÙ ³ ÀÁÁÁÁÙ ÚÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄ¿ Compressed ³ AVI ³ Data ³ IOProc ³ ÀÄÄÄÄÄÂÄÄÄÄÄÄÄÄÄÄÙ ³ ÚÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄ¿ ³ Movie ³ ³ File ³ ÀÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÙ