open method
void
open(})
Implementation
void open(String filename, String codec, double fps, (int, int) frameSize, {bool isColor = true}) {
using((arena) {
final name = filename.toNativeUtf8(allocator: arena);
final codec_ = codec.toNativeUtf8(allocator: arena);
cvRun(
() => cvideo.VideoWriter_Open(
ref,
name.cast(),
codec_.cast(),
fps,
frameSize.$1,
frameSize.$2,
isColor,
),
);
});
}