Closed creating-worlds closed 1 year ago
Try initializing MPV like this to get debug output: MPV(..., log_handler=print, loglevel='debug')
I can imagine the LED matrix lib maybe taking up some GPU resources preventing libmpv from accessing the GPU?
Feel free to re-open if you have further issues.
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 to my Pi 4 which runs Bullseye in a headless mode.
After a long time of troubleshooting my code I finally found the line that would cause the MPV player not to run.
Here is my code (at least the important part)
I first thought there was a threading issue with the socketio client but the problem seems to be related to the LED Matrix library.
If I comment out led_matrix.initialize() it works just fine and the video plays.
When the matrix was initialized before I try to play the video, it prints "start video" and without any output it prints "stop video" immediately after.
Any idea how I could solve this or whats the cause of this issue?