Work at SourceForge, help us to make it a better place! We have an immediate need for a Support Technician in our San Francisco or Denver office.
In the sample project DxLogo I'd like to have control of the bitrate of the resulting video. Within the method SetConfigParms I tried to add:
v.BitRate = 320000;
Yet this doesn't have any affect.
Any help would be great!
If you want to control the bit rate, you have to control the encoder which generates the video. If the capture source has an encoder (eg. a TV capture card) you might be able to do this by using the ICodecAPI, IEncoderAPI or IVideoEncoder interfaces. Otherwise, you'll have to connect encoder filters into the graph to re-encode the incoming or outgoing stream.
I have an encoder filter working and have pulled the IAMVideoCompression interface out of it but it doesn't seem to give very much control over the encoder. Other than Quality, WindowSize, etc, is there anyway to control an encoder's options?
How you change the settings for an encoder depends on the encoder. Some don't even support the concept of "setting the bitrate." You'll need to check the docs for the specific encoder you are using (assuming there are any).