Hello,
I have a problem with a sporadic appearance of a VLC window when I try to record the screen. The title of the window is (always) "VLC (software RGB DirectX output)".
This is the command I use from within a C# console program to record my primary screen:
screen:// -I rc --rc-quiet --rc-host=127.0.0.1:81 --reset-config --reset-plugins-cache --nommx --no3dn --nommxext --nosse :screen-fps=5.000000 --screen-left=0 --screen-top=0 --screen-width=1920 --screen-height=1080 :screen-mouse-image=File:///C:/Tmp/mouse.png :sout=#transcode{vcodec=h264,vb=384,fps=5,scale=,acodec=none}:file{dst=C:\Temp\Program_CPU_300_17-07-2013_1359.mp4}
To stop it I use a TcpClient class on a C# console application which connects to 127.0.0.1 on port 81 and send the "quit" command. This approach and implementation works very nicely, but as I mentioned above, sometimes the VLC DirectX window shows and the recording is bad.
My dll is used in as a plugin for NUnit in a Virtual Machine (Virtual Machine is Windows 7 with VLC 2.07). When a test starts I start the VLC command line, and when the test ends I stop it with the TcpClient class.
Basically my question is:
How can I avoid that this windows shows up? Is this a bug or a problem of DirectX (or driver)?
Thank you in advance,