Skip to content

VLC backend as an additional optional Playback backend - #424

Open
fridrich wants to merge 30 commits into
linuxmint:masterfrom
fridrich:vlc
Open

VLC backend as an additional optional Playback backend#424
fridrich wants to merge 30 commits into
linuxmint:masterfrom
fridrich:vlc

Conversation

@fridrich

@fridrich fridrich commented Aug 7, 2026

Copy link
Copy Markdown

On some video drivers, like for instance nouveau, the MPV backend is disastrous and produces a lot of artifacts. Whereas vlc/libvlc renders the videos just fine.
The only caveat is that libvlc does not have any way to be controlled if it is not by programming the interface oneself. So, I stitched together a simple interface with play/pause button, stop button and a menu/sandwich button allowing us to list and change Audio/Video/Subtitle streams.
The playback_bar has a pause button that is rendered as pause even though the playback is paused. So I just implemented a simple button toggling extracted it and reused in the VLC backend too.

@fridrich

Copy link
Copy Markdown
Author

With the changes to make the mpv backend optional, eventually one can decide to remove completely the in-tree mpv.py file and use the system-wide installed python mpv bindings. One can also decide that either of the two backends will be enough for the application to start. On my system using the nouveau driver, mpv is rather useless, but vlc is working really nice. So, for me, having only vlc backend is just fine. For others, it might be different.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant