Method FourCC
- Namespace
- OpenCvSharp
- Assembly
- OpenCvSharp.dll
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.
public static int FourCC(char c1, char c2, char c3, char c4)
Parameters
Returns
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.
public static int FourCC(string code)
Parameters
codestring