rvcamrecorder TRVCamRecorder

Properties   Events

<< Click to display table of contents >>

rvcamrecorder TRVCamRecorder

Properties   Events

A video (and audio) recording component.

Unit [VCL and LCL] MRVCamRecorder;

Unit [FMX] fmxMRVCamRecorder;

Syntax

TRVCamRecorder = class (TComponent)

hmtoggle_arrow1Hierarchy

Description

This component can be used to record video and audio files.

The component works only if FFmpeg library is available to the application.

To record video, assign TRVCamera or TRVCamReceiver component to VideoSource property.

To record sound, assign o TRVMicrophone or TRVCamSound or TRVCamReceiver component to AudioSource property.

Recording is started to OutputFileName when you assign True to Active.

hmtoggle_arrow1Notes

Video format is specified in VideoCodec, audio format in AudioCodec properties (or, if you know the exact codec names, in VideoCodecName and AudioCodecName 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, VideoEncodeParameters.

Note: If the source video is received using FFmpeg, there is an alternative to TRVCamRecorder: remuxing using TRVCamera.FFMpegProperty.Remuxing (saving video as it is, without changing formats of video and audio streams)