![]() |
|
![]() |
|
|
Thread Tools | Display Modes |
|
|
#1 |
|
Hobbyist Programmer
|
Video signal gathering
I'm trying to find a way to code a program that what it'll do is be able to get the video signal that is being displayed on the monitor to be in a picture box (or something like that). Basically like print screen but repeated every MiliSecond. Later on I want to make a way that I can connect to the computer remotely and view what the program is viewing. This program would run in the background and would not be seen on the screen. Another part would be that it can not be stopped at any time. The main part I want to get done right now is viewing the screen. I know there is remote desktop and all that but I want to be able to work on this on my own.
|
|
|
|
|
|
#2 | |
|
Professional Programmer
Join Date: Feb 2005
Location: PA, USA
Posts: 254
Rep Power: 4
![]() |
Quote:
Ok, well here is how I would go about doing this, not sure if its the best way but... If I were you I would not use a screencapture method that involves the clipboard, there are 3 reasons.. 1) you will wipe out whatever the person currently has in their clipboard(sure you could back it up and replace it, but why do this when there is a better way) 2)Placing image to clipboard then pulling back out of clipboard to wherever you want to send it is less efficient then sending it straight there in the first place. 3) Screenshots via clipboard do not get very high priority and you may not get as fast of a framerate as you were hoping, maybe a picture or two a second so, therefore, it would be better to use something that will take the screenshot and transport it directly where you want it to go. I found this link: http://www.developerfusion.co.uk/show/4630/ If I were doing this, I would: -avoid saving the images to the hard-drive before transfering, it will only slow you up. you're gonna need to send the image right from RAM to your image buffer(will explain in a sec). -create a image buffer on the computer receiving the stream(client machine) as well as the computer sending the images(server machine), which will be basically an image queue or something that collects and loads up a bunch of images before starting the display to ensure a smoother stream, this means your video will not actually be live, but rather delayed 5-10 seconds or so for buffering. I forsee the hardest part about this app is handling the connection state stuff. I'll post if I think of anything else, good luck. :banana:
__________________
I have never let my schooling interfere with my education. -Mark Twain- Xbox live gamertag: melbolt |
|
|
|
|
![]() |
| Bookmarks |
| Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
| Thread Tools | |
| Display Modes | |
|
|