Page 1 of 1

VLC multiple screen video playback with Raspberry Pi 4

Posted: 15 Dec 2019 10:12
by dezmob
Hi everyone!

I have a simple script that play a video full screen on a non graphical Raspbian environment on a simple button press.

I'm using the VLC's python binding to achieve this.

Now I want to be able to play a video on 2 screen using the Raspberry Pi 4 HDMIs output but I can't find on the VLC api documentation how to select the video output. The video file can be 2 different video 1920x1080 or a single 3840x1080.

My actual workaround is using omxplayer-sync and 2 Raspberry Pi 3 connected in the same LAN, to play and sync the video but using a single raspberry pi to achieve the same effect would be really nice (also this remove the need of having a local network and the related hardware).

So is there a way to achieve this using the libVLC's binding ?

thanks for help :)