VideoWriter Class |
Namespace: OpenCvSharp
The VideoWriter type exposes the following members.
Name | Description | |
---|---|---|
VideoWriter | Initializes a new instance of the VideoWriter class | |
VideoWriter(String, FourCC, Double, Size, Boolean) |
Creates video writer structure.
| |
VideoWriter(String, VideoCaptureAPIs, FourCC, Double, Size, Boolean) |
Creates video writer structure.
|
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.) | |
DataHandle |
Gets or sets a handle which allocates using cvSetData.
(Inherited from DisposableObject.) | |
FileName |
Get output video file name
| |
Fps |
Frames per second of the output video
| |
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.) |
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) |
Releases the resources
(Inherited from DisposableObject.) | |
DisposeManaged |
Releases managed resources
(Inherited from DisposableObject.) | |
DisposeUnmanaged |
Releases unmanaged resources
(Overrides DisposableCvObjectDisposeUnmanaged.) | |
Equals | Determines whether the specified object is equal to the current object. (Inherited from Object.) | |
Finalize |
Destructor
(Inherited from DisposableObject.) | |
FourCC(String) |
Concatenates 4 chars to a fourcc code.
This static method constructs the fourcc code of the codec to be used in
the constructor VideoWriter::VideoWriter or VideoWriter::open.
| |
FourCC(Char, Char, Char, Char) |
Concatenates 4 chars to a fourcc code.
This static method constructs the fourcc code of the codec to be used in
the constructor VideoWriter::VideoWriter or VideoWriter::open.
| |
Get |
Returns the specified VideoWriter property
| |
GetBackendName |
Returns used backend API name.
Note that stream should be opened.
| |
GetHashCode | Serves as the default hash function. (Inherited from Object.) | |
GetType | Gets the Type of the current instance. (Inherited from Object.) | |
IsOpened |
Returns true if video writer has been successfully initialized.
| |
MemberwiseClone | Creates a shallow copy of the current Object. (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, VideoCaptureAPIs, FourCC, Double, Size, Boolean) |
Creates video writer structure.
| |
Release | ||
Set |
Sets a property in the VideoWriter.
| |
ThrowIfDisposed |
If this object is disposed, then ObjectDisposedException is thrown.
(Inherited from DisposableObject.) | |
ToString | Returns a string that represents the current object. (Inherited from Object.) | |
Write |
Writes/appends one frame to video file.
|
Name | Description | |
---|---|---|
ptr |
Data pointer
(Inherited from DisposableCvObject.) |