AVIWriterOpen Method |
Namespace: Accord.Video.VFW
Exception | Condition |
---|---|
IOException | Failed opening the specified file. |
VideoException | A error occurred while creating new video file. See exception message. |
OutOfMemoryException | Insufficient memory for internal buffer. |
ArgumentException | Video file resolution must be a multiple of two. |
The method opens (creates) a video files, configure video codec and prepares the stream for saving video frames with a help of AddFrame(Bitmap) method.