Crates.io | glide |
lib.rs | glide |
version | 0.6.5 |
source | src |
created_at | 2018-01-03 19:33:03.633461 |
updated_at | 2024-08-20 12:20:08.941847 |
description | Cross-platform media player based on GStreamer and GTK |
homepage | |
repository | https://github.com/philn/glide |
max_upload_size | |
id | 45416 |
size | 1,004,592 |
Glide is a simple and minimalistic media player relying on GStreamer for the multimedia support and GTK for the user interface. Glide should be able to play any multimedia format supported by GStreamer, locally or remotely hosted. Glide is developed in Rust and was tested on Linux and macOS so far. It should also work on Windows, please let me know if anyone managed to test it on that platform.
I aim to keep this project simple and it probably won't grow to become a very complicated GUI. If you feel adventurous and willing to help, feel free to pick up a task from the TODO list and open a PR. Users are also encouraged to file issues on the Github bug tracker of course.
Install it with Cargo:
Install RustUp:
curl https://sh.rustup.rs -sSf | sh
Install GStreamer and GTK. On Debian/Linux:
sudo apt install gstreamer1.0-plugins-{base,good,bad} libgstreamer-plugins-{bad,base}1.0-dev
sudo apt install libgtk-4-dev gstreamer1.0-gl libadwaita-1-dev
On macOS, with brew:
brew install pango gstreamer gtk+4 libadwaita
brew install --build-from-source --with-pango --with-{libogg,libvorbis,opus,theora} gst-plugins-base
brew install --build-from-source --with-libvpx gst-plugins-good
brew install gst-plugins-bad
Install Glide:
cargo install glide
# or if you want to have automatic update checking:
cargo install --features self-updater glide
This is the most recommended way to use Glide as it will allow the maintainers to more easily reproduce reported bugs. There are two different flavours:
The Glide stable version is available on Flathub. After setting up the flathub Flatpak remote as documented in Flathub, install with the following command, or through GNOME Software.
flatpak install net.base_art.Glide
Users interested in the latest development snapshot of Glide can install the Devel version:
flatpak install https://philn.github.io/glide/glide.flatpakref
flatpak run net.base_art.Glide.Devel
Available in COPR:
sudo dnf copr enable atim/glide-rs -y
sudo dnf install glide-rs
When used from the installed Flatpak, Glide can be set up as default media player, so double-clicking on a media file in your favorite file browser should bring up Glide.
Glide can also be used from the command line interface. In a terminal:
$ # starting the flatpak version
$ flatpak run net.base_art.Glide /path/to/localfile.mp4 http://some.com/remote/file.mp4
$ # starting the version installed with cargo or traditional distro packages
$ glide /path/to/localfile.mp4 http://some.com/remote/file.mp4
Once running you can use some menus to switch the subtitle and audio tracks, play, pause, seek and switch the window to fullscreen. There are also some keyboard shortcuts for these actions: