Programming Forums
User Name Password Register
 

RSS Feed
FORUM INDEX | TODAY'S POSTS | UNANSWERED THREADS | ADVANCED SEARCH

Reply
 
Thread Tools Display Modes
Old Feb 28th, 2006, 3:58 PM   #1
PhilBon
Hobbyist Programmer
 
PhilBon's Avatar
 
Join Date: Nov 2005
Posts: 172
Rep Power: 3 PhilBon is on a distinguished road
Send a message via AIM to PhilBon Send a message via MSN to PhilBon
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.
PhilBon is offline   Reply With Quote
Old Mar 1st, 2006, 8:58 AM   #2
melbolt
Hobbyist Programmer
 
melbolt's Avatar
 
Join Date: Feb 2005
Location: PA, USA
Posts: 242
Rep Power: 4 melbolt is on a distinguished road
Send a message via AIM to melbolt Send a message via Yahoo to melbolt
Lightbulb

Quote:
Originally Posted by PhilBon
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.

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
melbolt is offline   Reply With Quote
Reply

Bookmarks

« Previous Thread in Forum | Next Thread in Forum »

Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump




DaniWeb IT Discussion Community
All times are GMT -5. The time now is 10:34 PM.

Powered by vBulletin® Version 3.7.0, Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Copyright ©2007 DaniWeb® LLC