# QtPlayer_1 **Repository Path**: aoyang888/video_play_push_pull ## Basic Information - **Project Name**: QtPlayer_1 - **Description**: QML和ffmpeg播放视频. - **Primary Language**: Unknown - **License**: GPL-3.0 - **Default Branch**: master - **Homepage**: None - **GVP Project**: No ## Statistics - **Stars**: 0 - **Forks**: 3 - **Created**: 2025-09-22 - **Last Updated**: 2025-09-22 ## Categories & Tags **Categories**: Uncategorized **Tags**: None ## README # Gitee Project README ## Introduction This project is a multimedia player based on Qt and GStreamer, supporting playback and processing of various video sources. Main features include video playback, audio decoding, frame buffer rendering, and playback controls. ## Features - Supports decoding video and audio using FFmpeg and GStreamer - Provides video frame buffering and real-time rendering capabilities - Supports playback controls such as pause and playback speed adjustment - Supports multiple video formats and streaming media protocols ## Directory Structure - `player/`: Main application directory, containing core code and resource files - `GduFFmpegSource.cpp/h`: FFmpeg video source processing class - `GduFrameProvider.cpp/h`: Video frame buffering and rendering class - `GduGSTSource.cpp/h`: GStreamer video source processing class - `WorkerWithQueue.h`: Thread queue management class - `main.cpp`: Program entry point - `main.qml`: Qt Quick interface file - `player.pro`: Qt project configuration file - `qml.qrc`: QML resource file - `rtsp_push.sh`: RTSP streaming script - `test.mp4` / `out_flv2.mp4`: Test video files - `.gitignore`: Git ignore file configuration ## Dependencies - Qt 5 or later - FFmpeg - GStreamer 1.0 - C++11 or later ## Usage Instructions 1. Clone the project: ``` git clone [project URL] ``` 2. Install dependencies: - Qt - FFmpeg - GStreamer 3. Build the project: ``` cd player qmake player.pro make ``` 4. Run the program: ``` ./player ``` 5. Use the QML interface for playback operations, or use the RTSP streaming script for streaming media testing. ## Scripts - `rtsp_push.sh`: Script for RTSP streaming testing. Run it to test the RTSP stream pushing functionality. ## Notes - Ensure that Qt, FFmpeg, and GStreamer are properly installed and configured in the system environment. - This project uses QML for UI development; familiarity with Qt Quick is recommended for further development. ## License This project is licensed under the [MIT License](https://opensource.org/licenses/MIT). For details, please see the LICENSE file in the repository. ## Contributors Issues and Pull Requests are welcome! Please read the project contribution guidelines before submitting. ## Contact Information For any questions, please contact [project maintainer information] or visit the Gitee project homepage. --- For further assistance, please supplement detailed information based on the actual project content.