Open leon-erd opened 4 months ago
I don’t know if vlc supports embedding with wayland. Why not use gstreamer for video support?
(I don’t know off the top of my head which is default anymore, but I thought vlc was default only on Windows)
I just tried on arch and there it works with gstreamer. Found out that gstreamer playback is not supported by the current nixos downstream package but after a few tries I got it working. So I will make a PR in nixpkgs to fix the gstreamer support.
I can confirm that on wayland video playback works as expected with gstreamer but doesn't with vlc. Does that mean its an upstream issue of vlc?
Embedding in wayland is just not supported yet: https://code.videolan.org/videolan/vlc/-/issues/16106
There’s no activity on that issue in the last 4 years and I don’t know where the mentioned blocking get_window
is tracked.
Describe the bug When running pympress under wayland (e.g. in Hyprland) vlc opens videos in a new window instead of embedding. Does work as expected when running under xwayland with:
GDK_BACKEND=x11 pympress test.pdf
(see https://github.com/Cimbali/pympress/issues/60#issuecomment-399748537). Would be nice to see full wayland support as more and more distros are shipping wayland by default now. If I hadn't stumbled across the comment in the closed issue I would have thought pympress was broken. I guess more users will run into this issue.To Reproduce Steps to reproduce the behavior:
pympress test.pdf
GDK_BACKEND=x11 pympress test.pdf
everything works as expectedEnvironment (please complete the following information):