A simple screen recording tool built with Python and OpenCV (cv2
). This recorder captures screenshots at a specified frame rate, includes a duration counter, and saves the output as an AVI file in a designated recording folder. The application features a graphical user interface (GUI) built with Tkinter.
- 📹 Records screen at a configurable frame rate
- ⏲️ Duration counter
- 🎞️ Saves recordings in AVI format
- 📂 Outputs videos to a
recordings
folder in the current working directory
-
Clone the repository:
git clone https://github.com/AhmedSobhy01/screen-recorder.git cd screen-recorder
-
Install the required Python packages:
pip install -r requirements.txt
-
Run the screen recorder script:
python main.py
-
Adjust the frame rate by modifying the constructor parameters in the
main.py
file. -
The output video will be saved in the
recordings
folder within the current working directory, with a timestamped filename.
- Frame Rate: Configure the number of screenshots per second by adjusting the parameter in the
main.py
constructor.
- Python 3.x
- OpenCV (
cv2
) dxcam
(version 0.0.5)
Ensure you have the required packages listed in requirements.txt
.
This project is licensed under the MIT License - see the LICENSE file for details.