|
| void | run (cv::Mat frame) |
| | Writes a video frame (cv::Mat) to the output file.
|
| void | run (QImage frame) |
| | Converts a QImage frame to cv::Mat and writes it to the output file.
|
|
void | release () |
| | Releases the video writer and any associated resources.
|
| void | saveFrame (cv::Mat frame) |
| | Saves a single video frame (cv::Mat) to the output file.
|
|
| | saveVidThread (cv::String fileName, int codec, int FPS, cv::Size size, bool isColor) |
| | Constructs the saveVidThread object and initializes the video writer.
|
◆ saveVidThread()
| saveVidThread::saveVidThread |
( |
cv::String | fileName, |
|
|
int | codec, |
|
|
int | FPS, |
|
|
cv::Size | size, |
|
|
bool | isColor ) |
Constructs the saveVidThread object and initializes the video writer.
- Parameters
-
| fileName | Output video file path. |
| codec | FourCC codec identifier. |
| FPS | Frames per second for video output. |
| size | Frame size (width, height). |
| isColor | True if video is in color. |
◆ run [1/2]
| void saveVidThread::run |
( |
cv::Mat | frame | ) |
|
|
slot |
Writes a video frame (cv::Mat) to the output file.
- Parameters
-
| frame | Video frame to save. |
◆ run [2/2]
| void saveVidThread::run |
( |
QImage | frame | ) |
|
|
slot |
Converts a QImage frame to cv::Mat and writes it to the output file.
- Parameters
-
| frame | QImage frame to save. |
◆ saveFrame
| void saveVidThread::saveFrame |
( |
cv::Mat | frame | ) |
|
|
slot |
Saves a single video frame (cv::Mat) to the output file.
- Parameters
-
| frame | Video frame to save. |
The documentation for this class was generated from the following files: