A video player application using C++ and Qt framework, supporting multiple mainstream video formats (MP4, AVI, MKV, MOV)
- Supports multiple video formats (MP4, AVI, MKV, MOV, etc.)
- Complete media control: play/pause, stop, fast forward/backward (5 second intervals), volume adjustment and mute
- Real-time display of playback progress and time
- Prerequisites
- Qt 6.0 or higher
- C++ 17
- Qt Creator (recommended)
- Clone the Repository
git clone https://github.com/jiafie7/video-player.git
cd video-player
- Execution
# Build project
mkdir build && cd build
cmake ..
make
# Start
./VideoPlayer
- Start the program
- Click "Select Video File > Open" to open the video file
- Use the control buttons on the interface to control playback: play/pause, stop, fast forward/backward, adjust the volume or mute
- The playback progress bar can be dragged to quickly locate a specific part of the video
video-player/
├── main.cpp # Application entry point
├── mainwindow.h # Main window class declaration
├── mainwindow.cpp # Main window class implementation
├── mainwindow.ui # Qt Designer UI
└── CMakeLists.txt # Cmake
This project is licensed under the MIT License. See the LICENSE file for more information.
Contributions, bug reports, and feature requests are welcome. Feel free to fork the repository, open issues, or submit pull requests.