Property | Type | Description | |
---|---|---|---|
countFrames | int | ||
firstFrame | int | ||
frameRate | double |
Method | Description | |
---|---|---|
AddFrame ( |
Add one frame to a new stream This works only with uncompressed streams, and compressed streams that have not been saved yet. Use DecompressToNewFile to edit saved compressed streams. |
|
DecompressToNewFile ( String fileName, bool recompress, |
Copy all frames into a new file Use this method if you want to append frames to an existing, compressed stream |
|
ExportBitmap ( int position, String dstFileName ) : void |
Export a frame into a bitmap file
|
|
ExportStream ( String fileName ) : void |
Copy the stream into a new file
|
|
GetBitmap ( int position ) : |
Export a frame into a bitmap
|
|
GetFrameClose ( ) : void |
Free ressources that have been used by GetFrameOpen
|
|
GetFrameOpen ( ) : void |
Prepare for decompressing frames This method has to be called before GetBitmap and ExportBitmap. Release ressources with GetFrameClose. |
|
VideoStream ( int aviFile, |
Initialize a new VideoStream and add the first frame
|
|
VideoStream ( int aviFile, |
Initialize a VideoStream for an existing stream
|
|
VideoStream ( int aviFile, bool writeCompressed, double frameRate, |
Initialize a new VideoStream and add the first frame
|
|
VideoStream ( int aviFile, bool writeCompressed, double frameRate, int frameSize, int width, int height, PixelFormat format ) : System |
Initialize an empty VideoStream
|
Method | Description | |
---|---|---|
ConvertBitCountToPixelFormat ( int bitCount ) : PixelFormat |
Returns a PixelFormat value for a specific bit count
|
|
ConvertPixelFormatToBitCount ( PixelFormat format ) : |
Get the count of bits per pixel from a PixelFormat value
|
|
CreateCompressedStream ( ) : void |
Create a compressed stream from an uncompressed stream
|
|
CreateCompressedStream ( |
Create a compressed stream from an uncompressed stream
|
|
CreateStream ( ) : void |
Create a new stream
|
|
CreateStream ( |
Create a new stream
|
|
CreateStreamWithoutFormat ( ) : void |
Create a new stream
|
|
GetRateAndScale ( double &frameRate, int &scale ) : void | ||
GetStreamInfo ( |
||
Initialize ( int aviFile, bool writeCompressed, double frameRate, |
Initialize a new VideoStream Used only by constructors |
|
SetFormat ( |
Apply a format to a new stream The format must be set before the first frame can be written, and it cannot be changed later. |
|
VideoStream ( int frameSize, double frameRate, int width, int height, |
Copy all properties from one VideoStream to another one Used by EditableVideoStream |
public AddFrame ( |
||
bmp | ||
return | void |
public DecompressToNewFile ( String fileName, bool recompress, |
||
fileName | String | Name of the new file |
recompress | bool | true: Compress the new stream |
newStream2 | ||
return |
public ExportBitmap ( int position, String dstFileName ) : void | ||
position | int | Position of the frame |
dstFileName | String | Name of the file to store the bitmap |
return | void |
public ExportStream ( String fileName ) : void | ||
fileName | String | Name of the new file |
return | void |
public GetBitmap ( int position ) : |
||
position | int | Position of the frame |
return |
public VideoStream ( int aviFile, |
||
aviFile | int | The file that contains the stream |
compressOptions | ||
frameRate | double | Frames per second |
firstFrame | Image to write into the stream as the first frame | |
return | System |
public VideoStream ( int aviFile, |
||
aviFile | int | The file that contains the stream |
aviStream | An IAVISTREAM from [aviFile] | |
return | System |
public VideoStream ( int aviFile, bool writeCompressed, double frameRate, |
||
aviFile | int | The file that contains the stream |
writeCompressed | 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 | System |
public VideoStream ( int aviFile, bool writeCompressed, double frameRate, int frameSize, int width, int height, PixelFormat format ) : System | ||
aviFile | int | The file that contains the stream |
writeCompressed | 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 | System |