Click here to Skip to main content
15,901,426 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
Hi,

My name is Hari and i am fairly a new user to VC++. I am currently trying to develop an application that will stream images from a camera. I am trying to use the GDI plus library to do it. I have a sample code that displays image from a file. I am having difficulty doing the same from a camera. Any help or sample projects is much appreciated. I have been breaking my head trying to do this. Looks like GDI is the way about it.

THanks
Hariharan
Posted

I would say, "streaming", but in fact rendering of the video using GDI is way too slow to achieve speed required by video. You can try but I'm almost sure you will fail due to the speed. As I understand, you need to do this frame by frame, not using video compression (but possibly using image compression at the level of the frame; which is not what all kinds of video compression do); and this can be because your camera interface is non-standard or belongs to one of industrial, not consumer standards.

So, if really there is a reason to do it on that level, I would recommend using DirectX instead.

—SA
 
Share this answer
 
"SAKryukov" do you have any sample applications that would explain using directX for streaming images from camera? it would really really help me since i am in the beginner level.
Thanks
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900