python-mpv
snapcraft-desktop-helpers
Our great sponsors
python-mpv | snapcraft-desktop-helpers | |
---|---|---|
7 | 1 | |
514 | 73 | |
- | - | |
6.6 | 0.0 | |
3 months ago | 5 months ago | |
Python | C | |
GNU General Public License v3.0 or later | MIT License |
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
python-mpv
-
I can start a GUI-less media player, but not stop it. Trying to write script to kill specific process (current method is finding PID and killing it that way).
You can use this. https://github.com/jaseg/python-mpv It has the option of keybinding. So you can assign a key to stop the playback.
-
How might one embed MPV into a DearPyGui interface?
I've stumbled upon this library: https://github.com/jaseg/python-mpv Likely that is the way, but from quick evaluation I discovered that it fails for me on Mac OS. Other platforms are seemingly fine, so if you target Windows or GNU/Linux, it will probably suit you.
-
My rainy day open source project - WebmGenerator - A tool for cutting, filtering and joining video clips, supports webm, mp4 and high quality gif outputs.
It's certainly changed my mind on tkinter! I always viewed it as the GUI of last resort for python in the past but it's very capable, the mpv bindings I'm using are also amazingly well thought out and 'keep out of the way' thanks to https://github.com/jaseg/python-mpv.
-
Python VLC bgm loop
( from here https://github.com/jaseg/python-mpv )
-
Unable to find required libraries to run embedded MPV player in PyQt5
Hi. I developed a PyQt5 application that has an embedded MPV player. I am using the python-mpv (https://github.com/jaseg/python-mpv) module. I snapped the application, but every time I install and run the snap, the MPV player shows a white screen instead of the video. The reason I think I am missing some libs or configurations is that when I run the only binaries (without snapping), the app works fine and MPV plays every video perfectly.
-
open mpv in one instance
What you might be actually looking for is https://github.com/jaseg/python-mpv
-
Jellyfin Desktop v1.10.1 - Significantly Improved Desktop Mode
python-mpv: controls libmpv1 shared library
snapcraft-desktop-helpers
-
Unable to find required libraries to run embedded MPV player in PyQt5
name: cluemaster-mediadisplay # you probably want to 'snapcraft register ' base: core20 # the base snap is the execution environment for this snap version: '0.4.11' # just for humans, typically '1.2+git' or '1.3.2' summary: Clumaster.io Media Display for Escape Rooms # 79 char long summary description: | ClueMaster Media Display is a Dynamic TV Display software for escape rooms. It shows escape room countdown timers, visual text messages, video, audio, and photo clues. grade: stable # must be 'stable' to release into candidate/stable channels confinement: strict # use 'strict' once you have the right plugs and slots plugs: personal-files: interface: personal-files read: - $HOME/.config/cluemaster_mediadisplay write: - $HOME/.config/cluemaster_mediadisplay apps: cluemaster-mediadisplay: command: bin/desktop-launch $SNAP/cluemaster_display plugs: - home - desktop-legacy - desktop - wayland - x11 - unity7 - network - opengl - gsettings - pulseaudio - network-bind - screen-inhibit-control - audio-playback - personal-files - locale-control - process-control - network-control - mount-observe environment: LD_LIBRARY_PATH: $SNAP/usr/lib/$SNAPCRAFT_ARCH_TRIPLET/:$SNAP/usr/lib/$SNAPCRAFT_ARCH_TRIPLET/dri:$SNAP/usr/lib/$SNAPCRAFT_ARCH_TRIPLET/pulseaudio/:$SNAP/usr/lib/xorg/ LIBGL_DRIVERS_PATH: $SNAP/usr/lib/$SNAPCRAFT_ARCH_TRIPLET/dri LIBVA_DRIVERS_PATH: $SNAP/usr/lib/$SNAPCRAFT_ARCH_TRIPLET/dri parts: cluemaster-mediadisplay: plugin: dump source: cluemaster_display/ stage-packages: - libcanberra-gtk3-module - libdrm2 - mesa-vdpau-drivers - libmpv-dev - libmpv1 - freeglut3 - libglu1-mesa - vdpau-driver-all - libdrm-amdgpu1 - va-driver-all - autoconf - libtool - libdrm-dev - xorg - xorg-dev - openbox - libx11-dev - libgl1-mesa-glx - mesa-va-drivers - intel-media-va-driver - libva2 - libvdpau1 - libegl1-mesa - libwayland-client0 - libwayland-cursor0 - libwayland-egl1-mesa - libpulse0 - libva-glx2 - libvdpau-va-gl1 - ffmpeg - mpv - libdouble-conversion3 - libegl1 - libfontconfig1 - libfreetype6 - libgbm1 - libgl1 - libglvnd0 - libglx0 - libgraphite2-3 - libharfbuzz0b - libice6 - libjpeg-turbo8 - libpng16-16 - libsm6 - libwayland-server0 - libx11-6 - libx11-xcb1 - libxau6 - libxcb-glx0 - libxcb-xkb1 - libxcb1 - libxdmcp6 - libxkbcommon-x11-0 - libxkbcommon0 - libxrender1 after: [desktop-qt5] desktop-qt5: source: https://github.com/ubuntu/snapcraft-desktop-helpers.git source-subdir: qt plugin: make make-parameters: ["FLAVOR=qt5"] build-packages: - build-essential - qtbase5-dev - dpkg-dev stage-packages: - libxkbcommon0 - ttf-ubuntu-font-family - dmz-cursor-theme - light-themes - adwaita-icon-theme - gnome-themes-standard - shared-mime-info - libqt5gui5 - libgdk-pixbuf2.0-0 - libqt5svg5 # for loading icon themes which are svg - try: [appmenu-qt5] # not available on core18 - locales-all - xdg-user-dirs - fcitx-frontend-qt5
What are some alternatives?
python-mpv-jsonipc - Python API to MPV using JSON IPC
imgui_glfw_pythonmpv_demo - Minimal video playback ui using imgui+glfw and the python mpv render context API to render to a FBO
popsicle - Popsicle aims to bridge the JUCE c++ framework to python.
docker-kodi - Dockerized Kodi with audio and video
jellyfin-mpv-shim - MPV-based cast client for Jellyfin [Moved to: https://github.com/jellyfin/jellyfin-mpv-shim]
WebmGenerator - UI and Automation to cut, filter and join high quality webms, mp4s or gifs.
bitrate-variation-plotter - Plots a graph showing the bitrate every second or the bitrate of every GOP, for an audio or video file.
colorgram.py - A Python module for extracting colors from images. Get a palette of any picture!
avio - Audio Visual IO tools for Isomer
pingmote - Cross-platform Python global emote picker to quickly insert custom images/gifs
MediaRemote - MediaRemote makes it possible to send media-key-input from any device to your computer.
bindings-hamlib