Quantcast
Channel: Raspberry Pi Forums
Viewing all articles
Browse latest Browse all 7513

Graphics, sound and multimedia • Make vlc play back on specific HDMI output

$
0
0
I am struggling to make vlc send the output to a specific display output.

My setup is:
- Raspberry Pi 5 with Debian Trixie
- A touch display is connected via DSI
- A HDMI output is connected (HDMI-A-2)
- VLC installed from apt: VLC media player 3.0.21 Vetinari (revision 3.0.21-0-gdd8bfdbabe8)

A kiosk session is launched after startup with labwc, chromium runs full screen on touch display.
My goal: to start vlc from an app on the touch screen and vlc should playback fullscreen on HDMI.

To test this, I am trying this over ssh:

Code:

$ export XDG_RUNTIME_DIR=/run/user/1000$ export WAYLAND_DISPLAY=wayland-0 $ cvlc demo.mp4
In this case the movie shows up on the touch display.
I have tried various options, but in vain.
For example I have tried a window rule in .config/labwc/rc.xml with the intention to move "cvlc" to HDMI-A-2.
That approach worked for mpv, but not for cvlc.

I am not very sure about which strategies I can take from here, and which are doomed to be a dead end.
Please advise.

Statistics: Posted by krix — Thu Nov 27, 2025 7:07 am — Replies 1 — Views 27



Viewing all articles
Browse latest Browse all 7513

Trending Articles