New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Recording disconnected RDP sessions #7
Comments
are you starting it from within that rdp session, then leaving it? |
I am, yes. |
Could you try "starting it after logging out?" (add some delay in there?) It appears from http://social.msdn.microsoft.com/Forums/pl/vcmfcatl/thread/3b03757a-9560-474a-82d5-3cf9885f5421 that when a client is disconnected, it ceases drawing their screen. Barring that, perhaps...start it with VNC Server running on it maybe that keep it active (or figure out some trick to keep it active)? Oh here's one: start a second rdp connection that rdp's into the first one and is left on (ok maybe not). |
Hmmm, since this is for running tests, we have an active session 'normally' so that shouldn't be an issue, I'll re-test using the scripts, rather than manually. |
Sorry for the delay on this, got side-tracked :( Running : def command = """c:\temp\vlc\vlc -I dummy dshow:// :dshow-vdev="screen-capture-recorder" :sout=#transcode{vcodec=WMV2,scale=0.5}:std{access=file,mux=asf,dst=c:\temp\vlc\output.wmv}""" From a jenkins script console, results in the 'black screen' I'm accustomed to seeing, until I sign into the remote desktop, then video 'appears' in my stream. (Same behaviour with ffmpeg) |
Fwiw... the info here: http://www.autoitscript.com/forum/topic/133603-screencapture-with-rdp-connections/ helped .. in that if I execute :
Then my 'session' with id '2' starts to record as expected! :) |
awesome, so you got it working fine then? |
Yeah I think so.. Was a bit fussy, so I'll probably put up a blog post or gist on it at some point (screen capturing tests with jenkins, your driver and vlc) :) thank you. |
for followers, if you're using a hyper-V instance, from the mailing list: "This appears to be windows 8.1 RDP client behavior. It closes GUI session when minimized. I found a workaround by not connect to vm through mstsc client directly but from hyper-v manager. Thus I can minimize the window and GUI session stays alive." See also http://stackoverflow.com/questions/32224067/ffmpeg-record-server-desktop-without-connection |
Hi! Is it possible to record disconnected remote desktop sessions with this driver ? (Server 2008 R2) The driver functions beautifully [both the shipped java tools and ffmpeg] when I'm connected to the remote session. But if I disconnect (not logout, disconnect) the recorded session is 'black'.
Is this a fundamental limitation of directshow or something that I'm doing wrong that I can work around with some awesome configuration options?
The text was updated successfully, but these errors were encountered: