Skip to content

Encoder_NewOutputFile

function

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

Closes the file currently being written by the Datastead Encoder instance identified by EncoderUniqueID (the ID returned by Encoders_CreateInstanceForRecording or Encoders_CreateInstanceForStreaming) and starts recording to the new file name specified by the OutputFile parameter.

If the OpenPaused parameter is true, the file is not written until Encoder_Resume is invoked.