Specifications
audioCodec Audio Output Codec:
0 = audioCodecNotSpecified, Use the default output codec.
1 = audioCodecLPCM, Output audio as WAV (LPCM).
2 = audioCodecMPEGL2, Output audio as MPEG1 Layer 2.
3 = audioCodecAC3, Output audio as AC3 (not yet supported).
bitRateKbps Output bitrate in KBps. Not used for LPCM. (e.g. 224 = 224,000 bps ).
samplingK Output sampling rate in thousands (i.e. 48 = 48,000 samples / second). NOTE: This parameter is ignored
and is intended for future support.
Return Values:
Function returns non-zero (TRUE) if successful, otherwise zero (FALSE)
Description:
This function is used to set the audio output codec, and should be called after a file is opened, but before saving. When
a file is opened, the default audio output codec (and bit rate) is ascertained. Using the following logic:
1. If opening a project file (VPRJ/BPRJ) and it contains output audio codec settings these will become
the audio codec settings.
2. If codec is not set from a project file, the audio codec setting in the File Save options dialog is
checked. If a codec is set this will become the output codec setting.
3. Otherwise, the output codec will be the same as the input file.
The output bitrate must be set to an appropriate value for the codec being used.
BOOL SetCutMode( BOOL cutModeFlag )
SetCutMode( cutModeFlag as integer ) as Integer
Parameters:
cutModeFlag 1 to have VideoReDo run in Cut Mode. 0 to have it run in scene mode.
Return Values:
Function returns non-zero (TRUE) if successful, otherwise zero (FALSE)
Description:
By default, VideoReDo will default operation to the mode specified by the user on the Tools>Options>General options
page. This command lets you change the mode dynamically at run time. This command should be used after a file has
been opened, but before any edits have been made. This command will remove any previously applied edits.
Each time a file is opened, VideoReDo will reset its mode to the user specified default. Therefore this command should
be re-executed after each open.
void SetFilterDimensions( short filterWidth, short filterHeight)
SetFilterDimensions( filterWidth as short, filterHeight as short)
Parameters:
filterWidth Set to non-zero to filter output to GOPs matching this width.
filterHeight
Set to non-zero to filter output to GOPs matching this height.
Return Values:
None
Description:
This call duplicates the video filter option on the Tools>QuickStream Fix. If both options width and height are set to
non-zero, then only GOPs wich video dimensions which match the width and height will be output.
The filter dimensions are cleared after each FileSave call. Therefore this command should be re-executed after each
open if you are processing multiple files.
BOOL SetQuietMode( BOOL quietMode )
SetQuietMode( quietMode as integer ) as Integer
Parameters: