Click here to Skip to main content
15,885,875 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
Hi,
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);


Cheers

Stephen
Posted

1 solution

 
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