Video in C#.

  • Thread starter Thread starter Nick
  • Start date Start date
N

Nick

I want to be able to encode a video from a bitmap or handle to bitmap source.
The bitmap object would be changing very quickly and I would record these changes to a video.
Basically it would be a bunch of image objects that I want to throw together to make a video.

My question is mainly this. What is the best way to create video files in c#? Interop DirectShow functions?
Windows media encoder? Anythign else?

As far as I know C# doesnt have much to deal with video. Managed DirectX only supports displaying a video file and playing audio.
What is the best way to go about creating a video.

Thank you.
Nick Z.
 
Yes, interop DirectShow. Or license some other third-party API.

Bill

Nick said:
I want to be able to encode a video from a bitmap or handle to bitmap source.
The bitmap object would be changing very quickly and I would record these changes to a video.
Basically it would be a bunch of image objects that I want to throw together to make a video.

My question is mainly this. What is the best way to create video files in
c#? Interop DirectShow functions?
Windows media encoder? Anythign else?

As far as I know C# doesnt have much to deal with video. Managed DirectX
only supports displaying a video file and playing audio.
 
William said:
Yes, interop DirectShow. Or license some other third-party API.

Bill



changes to a video.


together to make a video.


c#? Interop DirectShow functions?


only supports displaying a video file and playing audio.

I'll try that, thanks. Seems a little complicated though, at least the examples I've seen.
I was surprised to find that C# did not have some methods that dealt with video capture. I guess I'll have to do it the hard way.

Thanks.
Nick Z.
 
Back
Top