Sign in to follow this  

C#+SlimDX+Image sequence from webcam

Recommended Posts

paft    100
Good day.

I need to show video from a webcam (motion jpeg) in my .NET application. I have already extracted jpegs from the stream but do not know where to start with DirectX (want to use SlimDX as a wrapper).

What will be better for this purpose - Direct2D (draw frames by a timer) or DirectShow (filter or something)?. Where to start? Can you give me some hint or example?! :-)

Share this post

Link to post
Share on other sites
Hyunkel    401
I suppose it depends on what you're trying to do.
I have never used Direct2D or DirectShow unfortunately.

You should however have the most flexibility if you update a dynamic Texture2D every frame, which is what I would use.

Share this post

Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

Sign in to follow this