My Second Capture (Delphi 6.0)

Using the following steps as a simple method to capture video data using the LEAD MCMP Codec A COmpressor combined with a DECompressor, or encoder Also known as compressor, this is a module or algorithm to compress data. Playing that data back requires a decompressor, or decoder. and a decoder Also known as a decompressor, this is a module or algorithm to decompress data., which allows you to both compress and decompress that same data.:

1.

Start with the project that you created in My First Capture.

2.

Add the following line of code to FormCreate procedure; this code will select the LEAD MCMP codec compressor Also known as an encoder, this is a module or algorithm to compress data. Playing that data back requires a decompressor, or decoder..

         //select the LEAD MCMP codec compressor
        ltmmCaptureCtrl1.VideoCompressors.Selection:=  ltmmCaptureCtrl1.VideoCompressors.Find ('@device:sw:{33D9A760-90C8-11D0-BD43-00A0C911CE86}\LEAD MCMP/MJPEG Codec (2.0)');

3.

Run your program to test it.