Video, Options_getsourcewidth(), Video_options_getswfheight – Google Flix Engine Linux Reference Manual User Manual

Page 255: Video_options_getswfwidth, Video_options_getsourcewidth

Advertising
background image

5.55 Video Encoding Options

249

→ height Source video height, in pixels

Return values:

ON2_OK

The source video size was successfully retrieved from the engine.

ON2_NET_ERROR

The underlying communication layer failed.

5.55.1.2

on2sc video_options_GetSourceWidth (const FLIX2HANDLE flix, int32_t ∗ width)

Get the width of the source video.

Parameters:

← flix Handle to the Flix Engine returned from

Flix2_Create()

or

Flix2_CreateEx()

→ width Source video width, in pixels

Return values:

ON2_OK

The source video size was successfully retrieved from the engine.

ON2_NET_ERROR

The underlying communication layer failed.

5.55.1.3

on2sc video_options_GetSwfHeight (const FLIX2HANDLE flix, int32_t ∗ lpSwfHeight)

Gets the SWF height.

Parameters:

← flix Handle to the Flix Engine returned from

Flix2_Create()

or

Flix2_CreateEx()

→ lpSwfHeight SWF height.

Return values:

ON2_OK

Success.

ON2_NET_ERROR

The underlying communication layer failed.

Note:

If a value other than ON2_OK is returned, the output variables should not be considered valid.

Deprecated

Use the

Muxer Interface

along with

FE2_MUXER_SWF

and the

FE2_SWF_HEIGHT

parameter. This

function will be removed in a future release.

5.55.1.4

on2sc video_options_GetSwfWidth (const FLIX2HANDLE flix, int32_t ∗ lpSwfWidth)

Gets the SWF width.

Parameters:

← flix Handle to the Flix Engine returned from

Flix2_Create()

or

Flix2_CreateEx()

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

Advertising