Class AIAC::Utils::VideoRecorder¶
ClassList > AIAC > Utils > VideoRecorder
Public Functions¶
| Type | Name |
|---|---|
| void | CaptureFrames () Capture frames from the window. |
| void | DeleteFrameFolder () Delete the /frames folder. |
| void | InitializeDirectories () Create folders for captured frames and videos. |
| void | MakeVideoFromFrames () Create video from the frames using ffmpeg. |
| void | SaveFrames (int height, int width, std::vector< unsigned char > pixels) Save frames to the frame folder. |
| void | UpdatePaths () Updates the paths used for video and frame storage. |
| VideoRecorder (const std::string & basePath) | |
| ~VideoRecorder () |
Public Functions Documentation¶
function CaptureFrames¶
Capture frames from the window.
function DeleteFrameFolder¶
Delete the /frames folder.
function InitializeDirectories¶
Create folders for captured frames and videos.
function MakeVideoFromFrames¶
Create video from the frames using ffmpeg.
function SaveFrames¶
Save frames to the frame folder.
void AIAC::Utils::VideoRecorder::SaveFrames (
int height,
int width,
std::vector< unsigned char > pixels
)
Parameters:
heightHeight of the windowwidthWidth of the windowpixelsVector to hold the data
function UpdatePaths¶
Updates the paths used for video and frame storage.
function VideoRecorder¶
function ~VideoRecorder¶
The documentation for this class was generated from the following file src/utils/VideoRecorder.h