You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
/** @brief Callback function to that the encoding has finished.
215
215
* */
@@ -218,14 +218,14 @@ class CV_EXPORTS_W EncoderCallback {
218
218
virtual~EncoderCallback() {}
219
219
};
220
220
221
-
/** @brief Video writer interface.
221
+
/** @brief Video writer interface, see createVideoWriter().
222
222
223
-
Available when built with WITH_NVCUVENC=ON while Nvidia's Video Codec SDK is installed.
223
+
Available if Nvidia's Video Codec SDK is installed.
224
224
225
-
Encoding support is dependent on the GPU, refer to the Nvidia Video Codec SDK Video Encode and Decode GPU Support Matrix for details.
225
+
Only Codec::H264 and Codec::HEVC are supported with encoding support dependent on the GPU, refer to the Nvidia Video Codec SDK Video Encode and Decode GPU Support Matrix for details.
226
226
227
227
@note
228
-
- An example on how to use the videoWriter class can be found at
228
+
- An example on how to use the VideoWriter class can be found at
229
229
opencv_source_code/samples/gpu/video_writer.cpp
230
230
*/
231
231
classCV_EXPORTS_W VideoWriter
@@ -253,9 +253,9 @@ class CV_EXPORTS_W VideoWriter
253
253
254
254
/** @brief Creates video writer.
255
255
256
-
@param fileName Name of the output video file. Only raw h264 or hevc files are supported.
256
+
@param fileName Name of the output video file.
257
257
@param frameSize Size of the input video frames.
258
-
@param codec Codec.
258
+
@param codec Supports Codec::H264 and Codec::HEVC.
259
259
@param fps Framerate of the created video stream.
260
260
@param colorFormat OpenCv color format of the frames to be encoded.
261
261
@param encoderCallback Callbacks for video encoder. See cudacodec::EncoderCallback. Required for working with the encoded video stream.
0 commit comments