SetFFmpegAudioFilter
|
TVideoGrabber.SetFFmpegAudioFilter |
||||
|
|
|
|
||
enables a FFmpeg audio filter
Declaration
function SetFFmpegFilter (FilterIndex: LongInt; VideoFilterName: string; Parameters: string): Boolean;
bool __fastcall SetFFmpegFilter(System::LongInt FilterIndex, System::UnicodeString VideoFilterName, System::UnicodeString Parameters);
Description
Used to activate a FFmpeg audio 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 to perform a voice masking:
VideoGrabber.SetFFmpegAudioFilter(0, "afftfilt", "real='hypot(re,im)':imag='0':win_size=2048:overlap=0.75:win_func=hann");
VideoGrabber.SetFFmpegAudioFilter(1, "asetrate", "52000");
See Also
MultipurposeEncoder_QuickConfigure_UDPStreaming_H264 MultipurposeEncoder_ReindexClip SetFFmpegFilter