![]() |
OpenCV
4.0.0-pre
Open Source Computer Vision
|
Looking for a C++ dev who knows OpenCV?
I'm looking for work. Hire me! |
Video writer interface. More...
#include "cudacodec.hpp"
Public Member Functions | |
| virtual | ~VideoWriter () |
| virtual EncoderParams | getEncoderParams () const =0 |
| virtual void | write (InputArray frame, bool lastFrame=false)=0 |
| Writes the next video frame. More... | |
Video writer interface.
The implementation uses H264 video codec.
|
inlinevirtual |
References cv::cudacodec::createVideoWriter(), CV_EXPORTS_W, CV_WRAP, cv::InputArray, and cv::cudacodec::SF_BGR.

|
pure virtual |
|
pure virtual |
Writes the next video frame.
| frame | The written frame. |
| lastFrame | Indicates that it is end of stream. The parameter can be ignored. |
The method write the specified image to video file. The image must have the same size and the same surface format as has been specified when opening the video writer.