Fe2_pngex_export_first_frame_png, Fe2_pngex_export_interval, Fe2_pngex_export_time_string – Google Flix Engine Linux Reference Manual User Manual

Page 145: Fe2_pngex_export, Time_string

Advertising
background image

5.32 PNG Image Export (Thumbnail)

139

5.32.2.8

#define FE2_PNGEX_EXPORT_CUE_POINTS

Filter parameter for enabling export of PNG images at cue points.

If enabled, PNG images will be exported at event, navigation, or all cue points. See

video_options_-

AddFLVCuePoint()

, for information with regard to adding cue points to your output FLV file.

Use

FE2_PNGEX_CP_EVENT

,

FE2_PNGEX_CP_NAV

, or

FE2_PNGEX_CP_ALL

to specify the types

of cue points for which the PNG exporter should export PNG images.

sc = Flix2_AddFilter(&png_exporter_plgn, flix, FE2_FILTER_PNGEX);

if (sc == ON2_OK)

// generate PNGs for all cue points

sc = Flix2_FilterSetParam(png_exporter_plgn,

FE2_PNGEX_EXPORT_CUE_POINTS, FE2_PNGEX_CP_ALL);

Definition at line 229 of file png_export.h.

5.32.2.9

#define FE2_PNGEX_EXPORT_FIRST_FRAME_PNG

Filter parameter for enabling PNG image creation using the first video frame.

This parameter will force the PNG exporter to generate a PNG image from the first video frame in the input
file.

sc = Flix2_AddFilter(&png_exporter_plgn, flix, FE2_FILTER_PNGEX);

if (sc == ON2_OK)

// create a PNG image of the first video frame

sc = Flix2_FilterSetParam(png_exporter_plgn,

FE2_PNGEX_EXPORT_FIRST_FRAME_PNG, on2true);

Definition at line 353 of file png_export.h.

5.32.2.10

#define FE2_PNGEX_EXPORT_INTERVAL

Filter parameter for enabling PNG image export at a millisecond interval.

The PNG image exporter will export a PNG once every

FE2_PNGEX_EXPORT_INTERVAL

milliseconds

if this parameter is specified in a call to

Flix2_FilterSetParam()

sc = Flix2_AddFilter(&png_exporter_plgn, flix, FE2_FILTER_PNGEX);

if (sc == ON2_OK)

// generate a PNG every 10 seconds

sc = Flix2_FilterSetParam(png_exporter_plgn,

FE2_PNGEX_EXPORT_INTERVAL, 10000);

Definition at line 190 of file png_export.h.

5.32.2.11

#define FE2_PNGEX_EXPORT_TIME_STRING

Filter parameter for setting a string of PNG export times in milliseconds.

The PNG exporter will create PNG images from the source video stream at the times specified in the string.
The string MUST be in the format: t0,t1,t2,tn

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

Advertising