Enum opencv::videoio::VideoCaptureProperties [−][src]
%VideoCapture generic properties identifier.
Reading / writing properties involves many layers. Some unexpected result might happens along this chain. Effective behaviour depends from device hardware, driver and API Backend.
See also
videoio_flags_others, VideoCapture::get(), VideoCapture::set()
Variants
Current position of the video file in milliseconds.
0-based index of the frame to be decoded/captured next.
Relative position of the video file: 0=start of the film, 1=end of the film.
Width of the frames in the video stream.
Height of the frames in the video stream.
Frame rate.
4-character code of codec. see VideoWriter::fourcc .
Number of frames in the video file.
Format of the %Mat objects (see Mat::type()) returned by VideoCapture::retrieve(). Set value -1 to fetch undecoded RAW video streams (as Mat 8UC1).
Backend-specific value indicating the current capture mode.
Brightness of the image (only for those cameras that support).
Contrast of the image (only for cameras).
Saturation of the image (only for cameras).
Hue of the image (only for cameras).
Gain of the image (only for those cameras that support).
Exposure (only for those cameras that support).
Boolean flags indicating whether images should be converted to RGB.
GStreamer note: The flag is ignored in case if custom pipeline is used. It’s user responsibility to interpret pipeline output.
Currently unsupported.
Rectification flag for stereo cameras (note: only supported by DC1394 v 2.x backend currently).
DC1394: exposure control done by camera, user can adjust reference level using this feature.
Pop up video/camera filter dialog (note: only supported by DSHOW backend currently. The property value is ignored)
Sample aspect ratio: num/den (num)
Sample aspect ratio: num/den (den)
Current backend (enum VideoCaptureAPIs). Read-only property
Video input or Channel Number (only for those cameras that support)
enable/ disable auto white-balance
white-balance color temperature
(read-only) codec’s pixel format. 4-character code - see VideoWriter::fourcc . Subset of AV_PIX_FMT_* or -1 if unknown
(read-only) Video bitrate in kbits/s
(read-only) Frame rotation defined by stream meta (applicable for FFmpeg back-end only)
if true - rotates output frames of CvCapture considering video file’s metadata (applicable for FFmpeg back-end only) (https://github.com/opencv/opencv/issues/15499)
Trait Implementations
impl Clone for VideoCaptureProperties[src]
fn clone(&self) -> VideoCaptureProperties[src]
pub fn clone_from(&mut self, source: &Self)1.0.0[src]
impl Copy for VideoCaptureProperties[src]
impl Debug for VideoCaptureProperties[src]
impl PartialEq<VideoCaptureProperties> for VideoCaptureProperties[src]
fn eq(&self, other: &VideoCaptureProperties) -> bool[src]
#[must_use]pub fn ne(&self, other: &Rhs) -> bool1.0.0[src]
impl StructuralPartialEq for VideoCaptureProperties[src]
Auto Trait Implementations
impl RefUnwindSafe for VideoCaptureProperties
impl Send for VideoCaptureProperties
impl Sync for VideoCaptureProperties
impl Unpin for VideoCaptureProperties
impl UnwindSafe for VideoCaptureProperties
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized, [src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized, [src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized, [src]
T: ?Sized,
pub fn borrow_mut(&mut self) -> &mut T[src]
impl<T> From<T> for T[src]
impl<T, U> Into<U> for T where
U: From<T>, [src]
U: From<T>,
impl<T> ToOwned for T where
T: Clone, [src]
T: Clone,
type Owned = T
The resulting type after obtaining ownership.
pub fn to_owned(&self) -> T[src]
pub fn clone_into(&self, target: &mut T)[src]
impl<T, U> TryFrom<U> for T where
U: Into<T>, [src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
pub fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>, [src]
U: TryFrom<T>,