我是这个话题的新手,对于这样一个普遍的问题感到抱歉。所以我有多个显示器m_1
,m_2
,...,m_n
和多个视频文件v_1
,v_2
,...,v_n
i想要在v_1
上全屏m_1
同时打开,v_2
上的m_2
等等。
我能够在不同的窗口中同时发布多个视频,但我不知道如何将视频放在全屏的特定显示器上。
我在考虑python-vlc
,但如果有更好的方法请告诉我。
任何帮助,将不胜感激。
来自https://wiki.videolan.org/VLC_command-line_help/
--directx-device={,display,\\.\DISPLAY1}
Name of desired display device
In a multiple monitor configuration, you can specify the Windows
device name of the display that you want the video window to open on.
For example, "\\.\DISPLAY1" or "\\.\DISPLAY2".
一旦你用vlc CLI app找出正确的参数,你应该能够通过python包装器用vlc.Instance('--directx-device=xxxx')
将它们提供给libvlc。