1
votes

I'm creating an application (command line script) to play videos directly to the secondary monitor, which is connected either via VGA or HDMI.

The video player itself is cvlc, with command cvlc -f myvideo.avi.

Can anyone please help about the script to run the cvlc directly to secondary monitor regardless of which monitor it was launched from.

i've tried DISPLAY=":0.1" vlc -f myvideo.avi, but results a scrambled unusable video player.

Thanks.

1

1 Answers

1
votes

Try using the --x11-display :0.1 flag. It's not part of the --help output but I use it on my 2.0.1 vlc.