Click here to Skip to main content
14,365,424 members
Rate this:
Please Sign up or sign in to vote.
See more:

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.

Rate this:
Please Sign up or sign in to vote.

Solution 1

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.

Rate this:
Please Sign up or sign in to vote.

Solution 2

"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.

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

CodeProject, 503-250 Ferrand Drive Toronto Ontario, M3C 3G8 Canada +1 416-849-8900 x 100