python-mpv
python-mpv copied to clipboard
Python interface to the awesome mpv media player
When i try to use keybindings with Pyside they just don't work, but without pyside all works perfect, why? My code: ``` import os os.add_dll_directory(os.getcwd()) import mpv from PySide6.QtWidgets import...
Python:3.7 OS:mac 10.14.5 ``` import mpv def my_log(loglevel, component, message): print('[{}] {}: {}'.format(loglevel, component, message)) player = mpv.MPV(log_handler=my_log, ytdl=True, loglevel='debug') player.play('https://www.bilibili.com/video/av38334623?spm_id_from=333.45.b_63696e657068696c655f63696e656369736d.5.') player.wait_for_playback() print('success') ``` Log is ``` [v] cplayer: Set...
when I run a couple of video on raspberry pi and then turn by key .playlist_play_index(0) - it gives me that error Can you help me please?
Hi all, first of all, thank you for this great library. It already helped me a lot. I am having a screen and an LED Matrix (with Adafruit bonnet) connected...
Hi there, I'm having trouble finding the library file for MPV on MacOS -- I've come across three .dylib files (mpvlib-1.dylib, and a couple others), but none work when placed...
How to import mpv player to kivy screen, any ideas? winId or winfo_id don't work ..
Hello Jaseg, I tried to make you library work directly with vapoursynth but with no success. With vspipe or directly with mpv standalone it works. It simply output nothing when...
When I call the _wait_until_playing_ or _wait_until_paused_ method from an MPV instance I get a TypeError. These two methods call _self.wait_for_property('core-idle')_ I believe the attribute _core-idle_ should be _core_idle_? ->...
Hello! I'm not really sure if this is an issue/request/doubt, and for that I'm sorry in advance. Does python-mpv support video greyscale conversion? I'm trying to play all the videos...
How would I get my script to wait for one of two key presses in mpv? I want to wait for the user to press one of two keys and...