BB FlashBack SDK: FBMovie

ExportFramesToWMV

Description

Exports selected frames to Windows Media Video (WMV) file format, with a specified filename and parameters.

This method is accessible to the Advanced edition of the SDK only.

Syntax

[C#/C++]
public Boolean ExportToWMV (String sFileName, FBExportToWMVParams *pExportParams, long StartFrame, long EndFrame)

[VB.NET]
Public Function ExportToWMV (ByVal sFileName As String, ByRef pExportParams() As FBExportToWMVParams, ByVal StartFrame As Long, ByVal EndFrame As Long) As Boolean
 

Parameters

sFileName : the name of the WMV file to be created.

pExportParams : pointer to an FBExportToWMVParams object that contains the parameters to be used in the export process.

StartFrame, EndFrame : the start and end frames of the sequence to be exported.
 

Return Values

If the function fails, the return value is zero.

If the function succeeds, the return value is non-zero.
 

Remarks

If the ShowOptions parameter of the export parameters object is set to True, a dialog will be displayed that enables the user to change export parameters. If ShowOptions is set to False, the export takes place using the parameters specified in the export parameters object.

ProgressorEventEx events will be generated on the FBEditor object while the export process runs, enabling implementation of a progress indicator. Set the Stop parameter on progressor events to stop the export.
 

See Also

FBMovie::GetDefaultWMVParams  FBEditor::ProgressorEventEx  About Export Parameter classes