Skip to content

SetFFmpegFilter

method

Delphi
function SetFFmpegFilter (FilterIndex: LongInt; VideoFilterName: string; Parameters: string): Boolean;
C++Builder
bool __fastcall SetFFmpegFilter(System::LongInt FilterIndex, System::UnicodeString VideoFilterName, System::UnicodeString Parameters);
C#
public bool SetFFmpegFilter(int FilterIndex, string VideoFilterName, string Parameters);
VB.NET
Public Function SetFFmpegFilter(FilterIndex As Integer, VideoFilterName As String, Parameters As String) As Boolean
C++/Qt
BOOL SetFFmpegFilter (int FilterIndex, wchar_t *VideoFilterName, wchar_t *Parameters);

Used to activate a FFmpeg video filter.

Note: this feature requires the Datastead RTSP/RTMP/HTTP/ONVIF Source Filter to be installed.

Note: the filter must be an "in place" filter that outputs the same video format and video size than the input format.

Example:

VideoGrabber.SetFFmpegFilter (0, 'vignette', 'angle=PI/2:mode=forward:x0=w/2:y0=h/2:dither=0');

VideoGrabber.SetFFmpegFilter (1, 'vflip', '');