@@ -184,7 +184,10 @@ struct CV_EXPORTS_W_SIMPLE EncodeQp
184
184
struct CV_EXPORTS_W_SIMPLE EncoderParams
185
185
{
186
186
public:
187
- CV_WRAP EncoderParams ();
187
+ CV_WRAP EncoderParams () : nvPreset(ENC_PRESET_P3), tuningInfo(ENC_TUNING_INFO_HIGH_QUALITY), encodingProfile(ENC_CODEC_PROFILE_AUTOSELECT),
188
+ rateControlMode(ENC_PARAMS_RC_VBR), multiPassEncoding(ENC_MULTI_PASS_DISABLED), constQp({ 0 ,0 ,0 }), averageBitRate(0 ), maxBitRate(0 ),
189
+ targetQuality(30 ), gopLength(0 ) {};
190
+
188
191
CV_PROP_RW EncodePreset nvPreset;
189
192
CV_PROP_RW EncodeTuningInfo tuningInfo;
190
193
CV_PROP_RW EncodeProfile encodingProfile;
@@ -218,6 +221,11 @@ class CV_EXPORTS_W EncoderCallback {
218
221
};
219
222
220
223
/* * @brief Video writer interface.
224
+
225
+ Available when built with WITH_NVCUVENC=ON while Nvidia's Video Codec SDK is installed.
226
+
227
+ Encoding support is dependent on the GPU, refer to the Nvidia Video Codec SDK Video Encode and Decode GPU Support Matrix for details.
228
+
221
229
@note
222
230
- An example on how to use the videoWriter class can be found at
223
231
opencv_source_code/samples/gpu/video_writer.cpp
@@ -342,6 +350,10 @@ enum class VideoReaderProps {
342
350
343
351
/* * @brief Video reader interface.
344
352
353
+ Available when built with WITH_NVCUVID=ON while Nvidia's Video Codec SDK is installed.
354
+
355
+ Decoding support is dependent on the GPU, refer to the Nvidia Video Codec SDK Video Encode and Decode GPU Support Matrix for details.
356
+
345
357
@note
346
358
- An example on how to use the videoReader class can be found at
347
359
opencv_source_code/samples/gpu/video_reader.cpp
0 commit comments