SysRec

From Lazarus wiki
Jump to navigationJump to search

Description

  • The application currently supports all Windows Operating Systems using the VFW API available on all 32 bit Windows.
  • Supports Preview and Overlay modes with any capture device such as Cameras and TV Tuners, though it has been designed for use with a WebCam.
  • Allows silent movie capturing with any resolution and color depth, you can also chose a codec to record smaller files and a function has been added to allow grabbing single images, adding audio recording should not be a problem.
  • A caller application has been added to demonstrate message based Inter Process Comunication.
  • This application is designed with Lazarus but a few files and directives have been added to allow compilation in Delphi
  • The application uses the Delphi-JEDIVFW unit licensed under MPL, however you need some small modifications if you want to download it again, search for "FPC" in the current unit to see them. You can download the unit here.
  • This application can be used under Lazarus modified LGPL and MPL, this allows making commercial projects that use this code but NO WARANTY, you are the only responsable if this code doesn't work or causes any problems in your computer.

Usage

To use the application simply open the .lpi files from your File Browser or using the Open Project option from the Lazarus IDE the press Run, the Main form should display and if you have a Capture Driver installed you should be able to see some images, in the Status Bar you will see if your device supports Overlay or just Software Preview, in Overlay mode the application use less CPU and with more dynamic rendering.
You should also see some buttons: Source, Format, Quality, Connect, Record/Stop.
The first 3 buttons open various dialogs wich are dependant on your configuration.
The Source button allows selecting and configuring a video source wich is capable of using a WDM driver.
The Format button allows selecting the resolution and number of colors for the captured images.
The Quality button allows selecting and configuring a codec, this is dependant on your installed codecs.
The Connect button is a workaround for a Windows bug wich does not detect Overlay/Preview modes properly when changing the video source using Select.
The Record button switches from Record to Stop when clicked and starts recording, the files are saved in the same directory and have the start and stop time in their name and the .avi extension.

Source Description

To be continued ...