473,769 Members | 4,831 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Desktop movement streaming to LAN

Hi All,

I'd like to start up a personal coding for fun project which performs some
desktop movement recording/(then)streaming . Basically all i want to do is to
have few users on LAN to be able to see what I am doing on my desktop sort
of like MS Live meeting but this is for LAN.

I did some research around and found few articles which describe how to do
with with Direct Show, GDI and something else which I dont remember (on code
project) which ddin't work for me (didn't compile).

I also looked at camstudio on sourceforge but that also didn't compile.

I was thinking using the following approach

Use GDI to take a snapshot of the desktop every 100 milisecond, then encode
this into avi or wmf, then streaming this via UDP protocol.

I haven't tried the above out, but it seems a bit resource intensive to me.
So I am just wondering if anyone has any experiences on this or that you
could point me to some resources that I can dig a bit more into.

Any help is very much appreciated.
Dec 16 '07 #1
3 3653
Cuong Tong wrote:
Hi All,

I'd like to start up a personal coding for fun project which performs
some desktop movement recording/(then)streaming . Basically all i want to
do is to have few users on LAN to be able to see what I am doing on my
desktop sort of like MS Live meeting but this is for LAN.

I did some research around and found few articles which describe how to
do with with Direct Show, GDI and something else which I dont remember
(on code project) which ddin't work for me (didn't compile).

I also looked at camstudio on sourceforge but that also didn't compile.

I was thinking using the following approach

Use GDI to take a snapshot of the desktop every 100 milisecond, then
encode this into avi or wmf, then streaming this via UDP protocol.

I haven't tried the above out, but it seems a bit resource intensive to
me. So I am just wondering if anyone has any experiences on this or that
you could point me to some resources that I can dig a bit more into.

Any help is very much appreciated.

My pet project, PresentationMod e, takes snapshots of thedesktop a number
of times each second and just displays it on a second monitor. This
program easily uses up all the cpu resources on the machine, even when
I'm not doing anything but just displaying the image unaltered.

I'd imaging adding encoding + streaming protocols into the mix will
further degrade either the speed or what's left of your available cpu
resources.

What you're describing is something I have in my todo list for a future
version of my program, but I'd imagine I need some sort of magical way
of getting the data prepared fast enough.

If you want I can try to just extract a portion of my program, the part
that grabs bitmaps, and you can see where that leads you.

--
Lasse Vågsæther Karlsen
mailto:la***@vk arlsen.no
http://presentationmode.blogspot.com/
Dec 16 '07 #2
Lasse Vågsæther Karlsen wrote:
<snip>
If you want I can try to just extract a portion of my program, the part
that grabs bitmaps, and you can see where that leads you.
http://home.online.no/~lvkarlse/ScreenGrabberTest.zip

I made this in VS2008 so if you're using 2005 you might need to create a
new project and add the MainForm files to that project, I used .NET 2.0
so nothing should be incompatible with 2005 except for the solution and
project file formats.

--
Lasse Vågsæther Karlsen
mailto:la***@vk arlsen.no
http://presentationmode.blogspot.com/
Dec 16 '07 #3
H Lasse,

Thank you very much for sharing this. You're right, it's a bit resource
intensive. I'll let you know if i make any progress.

Cheers

"Lasse Vågsæther Karlsen" <la***@vkarlsen .nowrote in message
news:eh******** ******@TK2MSFTN GP02.phx.gbl...
Lasse Vågsæther Karlsen wrote:
<snip>
>If you want I can try to just extract a portion of my program, the part
that grabs bitmaps, and you can see where that leads you.

http://home.online.no/~lvkarlse/ScreenGrabberTest.zip

I made this in VS2008 so if you're using 2005 you might need to create a
new project and add the MainForm files to that project, I used .NET 2.0 so
nothing should be incompatible with 2005 except for the solution and
project file formats.

--
Lasse Vågsæther Karlsen
mailto:la***@vk arlsen.no
http://presentationmode.blogspot.com/
Dec 17 '07 #4

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

8
4718
by: Uttam | last post by:
Hello, I am currently in the process of developing an application in a pure desktop world using Access 2000. I am intending to convert this pure desktop application into a Client Server application with Access 2000 as the front end and the each of the following as the backend: 1) Oracle
2
9754
by: mpaliath | last post by:
Hi guys I am currently involved in a project which requires me to recieve and play streaming video as well as send it. In Visual C++ is there any free library which helps me do this as 'streaming' is not part of the actual project, i am allowed to use external libraries. Also could anyone tell me where I can learn about video streaming in c++ so I can code the streaming part myself too thx
1
4552
by: sircool | last post by:
hi guys, the problemm is that you have a horse on the chess board.You should write a function that calculate the horse's movement.I mean how many movement later you can go every point on the board.I wrote that program and wanted to share with you... I am Turkish so I named functions in Turkish.So it can make the source misunderstable sorry for that //--------------------------------------------------------------------------- ...
8
65837
by: Amjad | last post by:
Hi i am writing a application where i want to browse video file and copy data into stream and send that stream over network...I have develop P2P windows application where i successfully transfer text message to each other but now i want to send video file and play that file on other end...I know the code how to send the stream over the network but basic problem is how open that file as a stream. Thanks
5
3554
by: pmakoi | last post by:
dear all this might be a piece of cake for some of you out there but it is causing me a lot of stress given the fact that there is not enogh documentation out there regarding this topic I am writing a web service that uses soap with attachments to send a large streaming data, The concept works quite well but when I started to test it I got this problem. When my client program calls a method that should return a real time data the...
0
959
by: Mayank Pathak | last post by:
Hi All, Is it posible in vb to control mouse movement over the desktop. i have an application similar to Word. I have to click on desktop (Over the Shortcut of that application) to start the application. Then i have to select some part of that data from that application, from the same location in the window every day, and paste it to notepad and send a mail. If anyone is having sample code tat will b really helpful.
1
1524
by: Cuong Tong | last post by:
Hi All, I'd like to start up a personal coding for fun project which performs some desktop movement recording/(then)streaming. Basically all i want to do is to have few users on LAN to be able to see what I am doing on my desktop sort of like MS Live meeting but this is for LAN. I did some research around and found few articles which describe how to do with with Direct Show, GDI and something else which I dont remember (on code...
1
6133
by: Damjan Malis | last post by:
Hi guys... could anyone please help me with my problem getting mouse cursor position while desktop being locked (WIN + L). MSDN says: "The input desktop must be the current desktop when you call GetCursorPos. Call OpenInputDesktop to determine whether the current desktop is the input desktop. If it is not, call SetThreadDesktop with the HDESK returned by OpenInputDesktop to switch to that desktop." src:...
1
2859
by: Faisal Shafiq | last post by:
I want to upload a file direct to the Silverlight Streaming Service from a Web Client such as silverlight application. As per our product requirement we want to upload a .WMV file directly from silverlight client to Silverlight streaming service. I tried to user WebClient and HttpWebRequest for that purpose but, unfortunately I can found the way to do so. There are some problems with both classes. 1. There is no property of get...
0
9579
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main usage, and What is the difference between ONU and Router. Let’s take a closer look ! Part I. Meaning of...
0
9416
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
0
10199
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed. This is as boiled down as I can make it. Here is my compilation command: g++-12 -std=c++20 -Wnarrowing bit_field.cpp Here is the code in...
0
9849
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
1
7393
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms. Adolph will...
0
6661
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert into image. Globals.ThisAddIn.Application.ActiveDocument.Select();...
0
5293
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
0
5433
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
3
2810
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.