Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/kaka-lin/qt-video-player
Example code for playing videos with Qt/QML (QMultimedia, VideoOutput) and OpenCV
https://github.com/kaka-lin/qt-video-player
opencv-qt qml qmultimedia qt
Last synced: 3 days ago
JSON representation
Example code for playing videos with Qt/QML (QMultimedia, VideoOutput) and OpenCV
- Host: GitHub
- URL: https://github.com/kaka-lin/qt-video-player
- Owner: kaka-lin
- License: mit
- Created: 2021-02-25T07:52:30.000Z (almost 4 years ago)
- Default Branch: master
- Last Pushed: 2024-10-07T14:42:54.000Z (4 months ago)
- Last Synced: 2024-12-31T13:03:28.281Z (about 2 months ago)
- Topics: opencv-qt, qml, qmultimedia, qt
- Language: Python
- Homepage:
- Size: 2.23 MB
- Stars: 4
- Watchers: 2
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Qt Video Player
Example code for playing videos with Qt/QML
![](images/video-player.png)
## Usage
### 1-1. Run with Docker (Recommend)
You can use the docker image that we already build, as below
```bash
$ docker pull kakalin/qt:5.12.0
```> If you want to build if from scratch, please check [here](https://github.com/kaka-lin/qt-template/tree/master/docker)
And then running with docker:
```bash
$ ./docker-run.sh
```> If you have some issues with using it, please check here or here, please check [here](https://github.com/kaka-lin/qt-video-player/blob/master/doc/run_with_docker.md) or [here](https://github.com/kaka-lin/qt-template/tree/master/docker)
### 1-2. Run with local Qt
Please install Qt/QML on your local machine.
### Runing the Example
Running the relate example as below:
- [Custom Media Player](https://github.com/kaka-lin/qt-video-player/tree/master/custom_media_player)
- [OpenCV and QML](https://github.com/kaka-lin/qt-video-player/tree/master/opencv_qml)## Acknowledgements
- Thanks to [Display cv::Mat as QVideoFrame in a QML VideoOutput](https://stackoverflow.com/questions/62069201/display-cvmat-as-qvideoframe-in-a-qml-videooutput) for convert `cv::Mat` to `QVideoFrame` part.