jax7121
Posts: 7
Joined: Wed Dec 19, 2018 10:03 pm

VLC on second monitor

Wed Jan 08, 2020 6:41 pm

Hello guys. I searched the web but found no solution. I have a raspberry with debian stretch lite where a 7 "dsi display and an hdmi monitor are connected to it. I have to play a video only in the hdmi monitor, but when I run the command

Code: Select all

cvlc --play-and-exit --no-video-title --sub-text-scale=70 --sub-margin=55 --freetype-bold --vout mmal_vout --aout=alsa --alsa-audio-device=default video.mp4
ottengo l'errore

Code: Select all

sh: 0: Illegal option -
When I used omxplayer instead I used the setting "--display 5" in this way

Code: Select all

omxplayer --display=5 -o hdmi -o hdmi --win "0 0 1280 720" --layer 2 --blank --no-ghost-box --align center --font-size 45 --font $font1 --no-keys video.mp4
What is the correct syntax to set the second monitor with vlc?

Thanks in advance

Return to “Beginners”