Encoder_SetStr
Delphi
function Encoder_SetStr (EncoderID: LongInt; Setting: TEncoder_str; Value: string): Boolean;
C++Builder
bool __fastcall Encoder_SetStr(System::LongInt EncoderID, TEncoder_str Setting, System::UnicodeString Value);
C#
public bool Encoder_SetStr(int EncoderID, TEncoder_str Setting, string Value);
VB.NET
Public Function Encoder_SetStr(EncoderID As Integer, Setting As TEncoder_str, Value As String) As Boolean
C++/Qt
BOOL Encoder_SetStr (int EncoderID, TEncoder_str Setting, wchar_t *Value);
Sets a string parameter (TEncoder_str) of the Datastead Encoder identified by EncoderID: 0 for the encoder used by the TVideoGrabber recording functions, or an ID returned by Encoders_CreateInstanceForRecording / Encoders_CreateInstanceForStreaming.
E.g. Encoder_SetStr (0, Enc_Video_Codec, "hevc"), Encoder_SetStr (0, Enc_Audio_Codec, "aac").
Invoke this function before starting the video. Returns false if EncoderID does not match an existing encoder.
Applies to the Datastead Multipurpose Encoder only, see Encoder_SetInt.