Flix2_getoutputfile, Flix2_getinputfile – Google Flix Engine Linux Reference Manual User Manual

Page 167

Advertising
background image

5.38 Main Engine Interface

161

5.38.2.10

on2sc Flix2_GetExportVideoType (const FLIX2HANDLE flix, FE2_ExportedVideoType
∗ pExportVideoType)

Retrieve the current output file type.

Parameters:

← flix Handle to the flix engine returned from

Flix2_Create()

or

Flix2_CreateEx()

→ pExportVideoType Storage location to receive the result

Return values:

ON2_OK

on success

ON2_INVALID_PARAMS

should one or more of the preconditions fail

ON2_NET_ERROR

the underlying communication layer failed

Precondition:

flix

is not NULL

pExportVideoType

is not NULL

Note:

Default:

ExportFLVVideo

Deprecated

Use the

Muxer Interface

. This function will be removed in a future release. See also:

Muxers

.

5.38.2.11

on2sc Flix2_GetInputFile (const FLIX2HANDLE flix, on2tc ∗ pInputFile, int32_t ∗ len)

Get the source file for the encode session.

Returns the input file name.

If pInputFile is NULL this function will return the size in bytes required to store the current input file in
len

, not including the null terminator.

Parameters:

← flix Handle to the flix engine returned from

Flix2_Create()

or

Flix2_CreateEx()

→ pInputFile Storage location for the input file path
↔ len on input, the max number of bytes available in pInputFile. On return, the number of bytes used.

Return values:

ON2_OK

on success

ON2_INVALID_PARAMS

should one or more of the preconditions fail

ON2_NET_ERROR

the underlying communication layer failed

Precondition:

flix

is not NULL

len

is not NULL

Attention:

Currently only supported in C/C++

Generated on Tue Jul 20 17:39:03 2010 for Flix Engine Linux by Doxygen

Advertising