Flix2_setoutputfile(), Flix2_setoutputfile, Flix2_setoverwriteexistingfiles – Google Flix Engine Linux Reference Manual User Manual
Page 172

166
Flix Engine Linux Module Documentation
Parameters:
← flix Handle to the flix engine returned from
or
← inputFile Path to the source file.
Return values:
the engine successfully opened the input file for decoding
a parameter is invalid.
the underlying communication layer failed
<ON2_OK An error occurred opening the file. Call
for more detail.
Precondition:
flix
is not NULL
inputFile
is not NULL
Remarks:
Linux Only: flixd
, the encoding server, gets its input from, and writes its output to, the host file system.
inputFile
must be accessible in this context. An absolute path should be given to help ensure this is the
case.
5.38.2.21
on2sc Flix2_SetOutputFile (FLIX2HANDLE flix, const on2tc ∗ outputFile)
Set the destination file for the encode session.
When
is called an attempt is made to open outputFile.
If the file exists the behavior is determined by the value of
Flix2_GetOverwriteExistingFiles()
•
the file will be overwritten
•
a new file will be created of the form: outputFilennn.ext, e.g. out000.flv
Parameters:
← flix Handle to the flix engine returned from
or
← outputFile Path to the output file.
Return values:
the engine successfully set the output file
should one or more of the preconditions fail
an error occurred allocating memory for outputFile
the underlying communication layer failed
Precondition:
flix
is not NULL
outputFile
is not NULL
Remarks:
Linux Only: flixd
, the encoding server, gets its input from, and writes its output to, the host file system.
inputFile
must be accessible in this context. An absolute path should be given to help ensure this is the
case.
Generated on Tue Jul 20 17:39:03 2010 for Flix Engine Linux by Doxygen