CAP_PROP_FOURCC=6,//!< 4-character code of codec. see VideoWriter::fourcc .
CAP_PROP_FOURCC=6,//!< 4-character code of codec. see VideoWriter::fourcc .
CAP_PROP_FRAME_COUNT=7,//!< Number of frames in the video file.
CAP_PROP_FRAME_COUNT=7,//!< Number of frames in the video file.
CAP_PROP_FORMAT=8,//!< Format of the %Mat objects returned by VideoCapture::retrieve().
CAP_PROP_FORMAT=8,//!< Format of the %Mat objects (see Mat::type()) returned by VideoCapture::retrieve().
//!< Set value -1 to fetch undecoded RAW video streams (as Mat 8UC1).
CAP_PROP_MODE=9,//!< Backend-specific value indicating the current capture mode.
CAP_PROP_MODE=9,//!< Backend-specific value indicating the current capture mode.
CAP_PROP_BRIGHTNESS=10,//!< Brightness of the image (only for those cameras that support).
CAP_PROP_BRIGHTNESS=10,//!< Brightness of the image (only for those cameras that support).
CAP_PROP_CONTRAST=11,//!< Contrast of the image (only for cameras).
CAP_PROP_CONTRAST=11,//!< Contrast of the image (only for cameras).
...
@@ -173,6 +174,7 @@ enum VideoCaptureProperties {
...
@@ -173,6 +174,7 @@ enum VideoCaptureProperties {
CAP_PROP_CHANNEL=43,//!< Video input or Channel Number (only for those cameras that support)
CAP_PROP_CHANNEL=43,//!< Video input or Channel Number (only for those cameras that support)
CAP_PROP_AUTO_WB=44,//!< enable/ disable auto white-balance
CAP_PROP_AUTO_WB=44,//!< enable/ disable auto white-balance
CAP_PROP_WB_TEMPERATURE=45,//!< white-balance color temperature
CAP_PROP_WB_TEMPERATURE=45,//!< white-balance color temperature
CAP_PROP_CODEC_PIXEL_FORMAT=46,//!< (read-only) codec's pixel format. 4-character code - see VideoWriter::fourcc . Subset of [AV_PIX_FMT_*](https://github.com/FFmpeg/FFmpeg/blob/master/libavcodec/raw.c) or -1 if unknown