AVI Video File Writer
Inheritance Hierarchy
OpenCvSharpDisposableObject
OpenCvSharpDisposableCvObject
OpenCvSharp.CPlusPlusVideoWriter
Namespace: OpenCvSharp.CPlusPlus
Assembly: OpenCvSharp.CPlusPlus (in OpenCvSharp.CPlusPlus.dll) Version: 1.0.0.0 (1.0.0.0)
Syntax
The VideoWriter type exposes the following members.
Constructors
| Name | Description | |
|---|---|---|
| VideoWriter | Initializes a new instance of the VideoWriter class | |
| VideoWriter(String, FourCC, Double, Size, Boolean) |
Creates video writer structure.
| |
| VideoWriter(String, Int32, Double, Size, Boolean) |
Creates video writer structure.
| |
| VideoWriter(String, String, Double, Size, Boolean) |
Creates video writer structure.
|
Properties
| Name | Description | |
|---|---|---|
| AllocatedMemory |
Gets or sets a memory address allocated by AllocMemory.
(Inherited from DisposableObject.) | |
| AllocatedMemorySize |
Gets or sets the byte length of the allocated memory
(Inherited from DisposableObject.) | |
| CvPtr |
Native pointer of OpenCV structure
(Inherited from DisposableCvObject.) | |
| FileName |
Get output video file name
| |
| Fps |
Frames per second of the output vide
| |
| FrameSize |
Get size of frame image
| |
| IsColor |
Get whether output frames is color or not
| |
| IsDisposed |
Gets a value indicating whether this instance has been disposed.
(Inherited from DisposableObject.) | |
| IsEnabledDispose |
Gets or sets a value indicating whether you permit disposing this instance.
(Inherited from DisposableObject.) |
Methods
| Name | Description | |
|---|---|---|
| AllocGCHandle |
Pins the object to be allocated by cvSetData.
(Inherited from DisposableObject.) | |
| AllocMemory |
Allocates the specified size of memory.
(Inherited from DisposableObject.) | |
| Dispose |
Releases the resources
(Inherited from DisposableObject.) | |
| Dispose(Boolean) |
Clean up any resources being used.
(Overrides DisposableCvObjectDispose(Boolean).) | |
| Equals | (Inherited from Object.) | |
| Finalize |
Destructor
(Inherited from DisposableObject.) | |
| GetHashCode | (Inherited from Object.) | |
| GetType | (Inherited from Object.) | |
| IsOpened |
Returns true if video writer has been successfully initialized.
| |
| MemberwiseClone | (Inherited from Object.) | |
| NotifyMemoryPressure |
Notifies the allocated size of memory.
(Inherited from DisposableObject.) | |
| Open(String, FourCC, Double, Size, Boolean) |
Creates video writer structure.
| |
| Open(String, Int32, Double, Size, Boolean) |
Creates video writer structure.
| |
| Open(String, String, Double, Size, Boolean) |
Creates video writer structure.
| |
| Release | ||
| ThrowIfDisposed |
If this object is disposed, then ObjectDisposedException is thrown.
(Inherited from DisposableObject.) | |
| ToString | (Inherited from Object.) | |
| Write |
Writes/appends one frame to video file.
|
Fields
| Name | Description | |
|---|---|---|
| dataHandle |
Gets or sets a handle which allocates using cvSetData.
(Inherited from DisposableObject.) | |
| ptr |
Data pointer
(Inherited from DisposableCvObject.) |
See Also