Trait opencv::hub_prelude::VideoWriterConst
source · pub trait VideoWriterConst {
fn as_raw_VideoWriter(&self) -> *const c_void;
fn get_encoder_params(&self) -> Result<EncoderParams> { ... }
}
Expand description
Video writer interface.
Available when built with WITH_NVCUVENC=ON while Nvidia’s Video Codec SDK is installed.
Encoding support is dependent on the GPU, refer to the Nvidia Video Codec SDK Video Encode and Decode GPU Support Matrix for details.
Note:
- An example on how to use the videoWriter class can be found at opencv_source_code/samples/gpu/video_writer.cpp
Required Methods§
fn as_raw_VideoWriter(&self) -> *const c_void
Provided Methods§
sourcefn get_encoder_params(&self) -> Result<EncoderParams>
fn get_encoder_params(&self) -> Result<EncoderParams>
Retrieve the encoding parameters.