Click here to Skip to main content
14,428,673 members
Rate this:
Please Sign up or sign in to vote.
See more:
This is the first C# program I've written and I'm having a slight problem trying to compress the video, I can get the video to display and save as an AVI, but it is uncompressed so takes a lot of disk space.
I have added a snippet of code to show I am using the <code>ICaptureGraphBuilder2</code> variables and stuff.
I've tried looking at other examples but get lost, so is anyone able to give me some help on this?
What directshow method should I use? how do I use it properly?

IBaseFilter Compressor = null;<br />
Guid VideoFormat = MediaType.Video;<br />
hr = this.captureGraphBuilder.RenderStream(PinCategory.Capture, VideoFormat, sourceFilter, Compressor,bas);



1 solution

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

Solution 1


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