# TinyScreenRecorder **Repository Path**: shaoguangcn/tiny-screen-recorder ## Basic Information - **Project Name**: TinyScreenRecorder - **Description**: 基于Qt与avilib的轻量级屏幕录像库 - **Primary Language**: C/C++ - **License**: Apache-2.0 - **Default Branch**: master - **Homepage**: None - **GVP Project**: No ## Statistics - **Stars**: 2 - **Forks**: 4 - **Created**: 2021-05-05 - **Last Updated**: 2024-02-29 ## Categories & Tags **Categories**: Uncategorized **Tags**: None ## README # TinyScreenRecorder * [English](README.en.md) #### 介绍 基于Qt与avilib的轻量级、跨平台的屏幕录像库 #### 使用说明 1. 仅支持录制avi格式的视频。 2. 无法录制音频。 3. 可录制全屏或者指定窗口。 4. 轻量级(仅一个h文件与一个cpp文件, 不包含avilib),跨平台,易于使用。 5. Qt版本要求大于或等于5.6。 #### 示例 ```cpp // recording fullscreen 10 seconds, so easy! TinyScreenRecorder screenRecorder; screenRecorder.setVideoFileName("screen-record-10s.avi"); screenRecorder.start(); QTimer::singleShot(10 * 1000, &screenRecorder, &TinyScreenRecorder::stop); ```