Png image export (thumbnail), 32 png image export (thumbnail), Png exporter – Google Flix Engine Linux Reference Manual User Manual

Page 140: 1 detailed description

Advertising
background image

134

Flix Engine Linux Module Documentation

5.32

PNG Image Export (Thumbnail)

5.32.1

Detailed Description

The PNG image export filter creates PNG images from the source video data of the input file passed to

Flix2_SetInputFile()

.

Filter Parameters:

Name

|

Type

| Opt/Reqd |

Range

=======================================================================================

FE2_PNGEX_OUTPUT_DIRECTORY

| String

| Optional | N/A

FE2_PNGEX_FILENAME_PREFIX

| String

| Optional | N/A

FE2_PNGEX_FILENAME_SUFFIX

| String

| Optional | N/A

FE2_PNGEX_ENABLE_ALPHA

| Boolean

| Optional | [0,1]

FE2_PNGEX_EXPORT_INTERVAL

| Numeric

| Optional | [1,video stream duration]

FE2_PNGEX_EXPORT_TIME_STRING

| String

| Optional | N/A

FE2_PNGEX_EXPORT_CUE_POINTS

| Numeric

| Optional | [0,3]

FE2_PNGEX_AUTO_EXPORT_COUNT

| Numeric

| Optional | [0,10000]

FE2_PNGEX_AUTO_EXPORT_START_TIME

| Numeric

| Optional | [0,video stream duration]

FE2_PNGEX_AUTO_EXPORT_END_TIME

| Numeric

| Optional | [0,video stream duration]

FE2_PNGEX_AUTO_EXPORT_RANDOM_PERIOD | Numeric

| Optional | [1,)

FE2_PNGEX_EXPORT_FIRST_FRAME_PNG

| Boolean

| Optional | [0,1]

FE2_PNGEX_COMPRESSION_LEVEL

| Numeric

| Optional | [-1,9]

FE2_PNGEX_WIDTH

| Numeric

| Optional | FE2_SCALE_WIDTH

FE2_PNGEX_HEIGHT

| Numeric

| Optional | FE2_SCALE_HEIGHT

Example Usage:

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

// Automatically export 10 PNG images spaced evenly through the clip

if(sc == ON2_OK)

sc = Flix2_FilterSetParam(filter, FE2_PNGEX_AUTO_EXPORT_COUNT, 10);

Notes:

• All PNG exporter parameters are optional, but at least one of the following parameters must be used

in order to export images:

FE2_PNGEX_AUTO_EXPORT_COUNT

FE2_PNGEX_EXPORT_CUE_POINTS

FE2_PNGEX_EXPORT_FIRST_FRAME_PNG

FE2_PNGEX_EXPORT_INTERVAL

FE2_PNGEX_EXPORT_TIME_STRING

• Image file naming:

– The general form of an output image name is:

FE2_PNGEX_OUTPUT_DIRECTORY

’/’

FE2_PNGEX_FILENAME_PREFIX

nnnn

FE2_-

PNGEX_FILENAME_SUFFIX

’.png ’

using values supplied or defaults as described by each parameter.

– Image file numbering starts at 0, the numeric portion of the file name will be expanded to 4

columns (e.g., 0 will be 0000). This limits the export total to 10000 images. If 10000 images
per encoded file is inadequate, please contact

support

.

• Duplicate PNG images:

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

Advertising