VideoWriter class

Inheritance
Available extensions

Constructors

VideoWriter.empty()
factory
VideoWriter.fromFile(String filename, String codec, double fps, (int, int) frameSize, {int? apiPreference, bool isColor = true})
factory
VideoWriter.fromPointer(VideoWriterPtr ptr)
factory

Properties

hashCode → int
The hash code for this object.
no setterinherited
isDisposed → bool
Whether this object has been disposed.
no setterinherited
isOpened → bool
no setter
props → List<Object?>
no setterinherited
ptr ↔ Pointer<VideoWriter>
getter/setter pairinherited
ref → VideoWriter
no setteroverride
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited

Methods

dispose() → void
Releases the underlying native resources. Idempotent: calling it more than once is safe, but the object must not be used after dispose.
inherited
freeNative() → void
Frees the native resources owned by this object. Subclasses implement the concrete free logic here; callers must use dispose instead.
override
get(int propId) → double
Returns the specified VideoWriter property.
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
open(String filename, String codec, double fps, (int, int) frameSize, {int? apiPreference, bool isColor = true}) → void
openAsync(String filename, String codec, double fps, (int, int) frameSize, {int? apiPreference, bool isColor = true}) → Future<bool>

Available on VideoWriter, provided by the VideoWriterAsync extension

release() → void
set(int propId, double value) → void
Sets a property in the VideoWriter.
toString() → String
A string representation of this object.
inherited
write(InputArray image) → void
writeAsync(InputArray image) → Future<void>

Available on VideoWriter, provided by the VideoWriterAsync extension

Operators

operator ==(Object other) → bool
The equality operator.
inherited

Static Properties

finalizer → NativeFinalizer
final

Static Methods

fourcc(String cc) → int