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, cv::format(), 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.