AVIWriterAddFrame Method |
Namespace: Accord.Video.VFW
Exception | Condition |
---|---|
IOException | Thrown if no video file was open. |
ArgumentException | Bitmap size must be of the same as video size, which was specified on opening video file. |
VideoException | A error occurred while writing new video frame. See exception message. |
The method adds new video frame to an opened video file. The width and heights of the frame should be the same as it was specified in Open(String, Int32, Int32) method (see Width and Height properties).