Method | Description | |
---|---|---|
AddAudioStream ( |
Add an existing wave audio stream to the file
|
|
AddAudioStream ( |
Add an existing wave audio stream to the file
|
|
AddAudioStream ( String waveFileName, int startAtFrameIndex ) : void |
Add a wave audio stream from another file to this file
|
|
AddVideoStream ( |
Add an empty video stream to the file Compresses the stream without showing the codecs dialog |
|
AddVideoStream ( bool isCompressed, double frameRate, |
Add an empty video stream to the file
|
|
AddVideoStream ( bool isCompressed, double frameRate, int frameSize, int width, int height, PixelFormat format ) : |
Add an empty video stream to the file
|
|
AviManager ( String fileName, bool open ) : System |
Open or create an AVI file
|
|
Close ( ) : void |
Release all ressources
|
|
CopyTo ( String newFileName, float startAtSecond, float stopAtSecond ) : |
Copy a piece of video and wave sound int a new file
|
|
GetOpenStream ( int index ) : |
Get a stream from the internal list of opened streams Use this method after DecompressToNewFile, to get the copied stream from the new AVI file |
|
GetVideoStream ( ) : |
Get the first video stream - usually there is only one video stream
|
|
GetWaveStream ( ) : |
Getthe first wave audio stream
|
|
MakeFileFromStream ( String fileName, |
Method | Description | |
---|---|---|
AviManager ( int aviFile ) : System | ||
InsertSilence ( int countSilentSamples, |
public AddAudioStream ( |
||
newStream | The stream to add | |
startAtFrameIndex | int | /// The index of the video frame at which the sound is going to start. /// '0' inserts the sound at the beginning of the video. /// |
return | void |
public AddAudioStream ( |
||
waveData | The new stream's data | |
streamInfo | Header info for the new stream | |
streamFormat | The new stream' format info | |
streamLength | int | Length of the new stream |
return | void |
public AddAudioStream ( String waveFileName, int startAtFrameIndex ) : void | ||
waveFileName | String | Name of the wave file to add |
startAtFrameIndex | int | Index of the video frame at which the sound is going to start |
return | void |
public AddVideoStream ( |
||
compressOptions | Compression options | |
frameRate | double | Frames per second |
firstFrame | Image to write into the stream as the first frame | |
return |
public AddVideoStream ( bool isCompressed, double frameRate, |
||
isCompressed | bool | true: Create a compressed stream before adding frames |
frameRate | double | Frames per second |
firstFrame | Image to write into the stream as the first frame | |
return |
public AddVideoStream ( bool isCompressed, double frameRate, int frameSize, int width, int height, PixelFormat format ) : |
||
isCompressed | bool | true: Create a compressed stream before adding frames |
frameRate | double | Frames per second |
frameSize | int | Size of one frame in bytes |
width | int | Width of each image |
height | int | Height of each image |
format | PixelFormat | PixelFormat of the images |
return |
public AviManager ( String fileName, bool open ) : System | ||
fileName | String | Name of the AVI file |
open | bool | true: Open the file; false: Create or overwrite the file |
return | System |
public CopyTo ( String newFileName, float startAtSecond, float stopAtSecond ) : |
||
newFileName | String | File name |
startAtSecond | float | Start copying at second x |
stopAtSecond | float | Stop copying at second y |
return |
public GetOpenStream ( int index ) : |
||
index | int | Index of the stream. The streams are not sorted, the first stream is the one that was opened first. |
return |
public static MakeFileFromStream ( String fileName, |
||
fileName | String | |
stream | ||
return | void |