using python-vlc in python I want to display a video on each of the two monitors 2 videos played successfully But only monitor 1 shows the video Is there a way to show the video on the second monitor?
p1 = vlc.Instance('--directx-device=\\\\.\\DISPLAY1')
# p1 = vlc.Instance('--qt-fullscreen-screennumber=1')
media = p1.media_new("t1.mp4")
player = p1.media_player_new()
player.set_media(media)
player.video_set_scale(0.5)
player.play()
p2 = vlc.Instance('--directx-device=\\\\.\\DISPLAY2')
# p2 = vlc.Instance('--qt-fullscreen-screennumber=2')
media = p2.media_new("t2.mp4")
player2 = p2.media_player_new()
player2.set_media(media)
player2.video_set_scale(0.5)
player2.play()
I searched and put options in vlc.Instance, but the behavior was the same Help me I'm using python on windows