A video (and audio) recording component.
TRVCamRecorder = class (TComponent)
This component can be used to record video and audio files.
The component works only if FFmpeg library must be available to the application.
To record video, assign TRVCamera or TRVCamReceiver component to VideoSource property.
To record sound, assign o TRVMicrophone or TRVCamReceiver component to AudioSource property.
Recording is started to OutputFileName when you assign True to Active.
Note 1: the properties work slightly different comparing to properties of the same name in TRVCamSender. In TRVCamSender, sound can be taken from TRVCamReceiver assigned to VideoSource, and TRVCamReceiver cannot be assigned to AudioSource.
Note 2: the component cannot record sound from IP cameras or video steams from Internet, only from audio input devices (using TRVMicrophone) or received by TRVCamReceiver
Note 3: both TRVCamRecorder and TRVAudioPlayer components can record sound files. When connected to TRVCamReceiver, TRVAudioPlayer records all sounds, TRVCamRecorder records sound from the chosen source.
Video format is specified in VideoCodec, audio format in AudioCodec properties.
Warning: Some video and audio formats may be patent-protected in some countries, and supporting these formats will require from you obtaining licenses from the patent owners.
The following properties define audio parameters: AudioBitrate, AudioSampleRate, AudioChannels, AudioSampleFormat.
The following properties define video parameters: VideoBitrate, VideoFramePerSec, VideoWidth, VideoHeight, VideoAutoSize.