I have a C# application which uses a LibVLC VideoView. I am trying to play a video both as a small preview in my application, and in full screen on an external monitor.
So far I am using the following solution: When creating the MediaPlayer object, I'm using the command line options "--clone-count", "--video-x" and "--video-y". This creates a seperate window ("Direct3d Output"), which is located on the secondary monitor. However, I cannot switch this "Direct 3D output" to full screen, so that it has no Window-Borders and the Windows-Taskbar is not visible. Is there any way to do that? Or is there any other reasonable solution to clone the video from the VideoPlayer-Control to a separate monitor in fullscreen?
My Code:
string[] vlcParameter = new string[]
{
@"--video-splitter=clone",
@"--clone-count=2",
@"--video-x=" + secondaryMonitor.WorkingArea.Left,
@"--video-y=" + secondaryMonitor.WorkingArea.Top,
@"--video-on-top"
};
vlc = new LibVLC(true, vlcParameter);