Simple video player made on top of GStreamer + Qt + Rust with the help of gstreamer-rs, rust-qt-bindings-generator. I referrerd to QtQuickPlayer and Quemail to figure out how they manage to integrate Qt+GStreamer and Qt+Rust, respectively.
This is my learning project. Feel free to make PRs and issues if you have better ideas of implementation.
- Qt (I've designated 2.14 in
main.qml
as it was the version installed on my PC but it should work on any versions) - Rust
- GStreamer
- some Cargo crates
No need to install/use rust-qt-binding-generator
, this repo also comes with those bindings (Bindings.*
). The directory structure is based on qt_quick_cargo template.
- Clone this repo
- Before building, you need to do modify a path to video in
setup()
ofmain.rs
- which is
file:///usr/share/big-buck-bunny_trailer.webm
by default - yes I'm gonna fix this
$ cargo build
or$ cargo run
.