Forums

Full Version: Setting compression (codec) bitrate
You're currently viewing a stripped down version of our content. View the full version with proper formatting.

coolducky

Hi there,

I'm trying to build a simple audio capture program in Delphi with a compressor ( in this case QDesign MPEG) to capture directly to mpeg2-audio, but I can't find how to set the codec's bitrate. I want it to be set to 48K, 256 kbps. Now it only captures in 256 kbps if I set it in another audio program.

I've connected: ALDSAudioin1 > ALDSAudioLogger1

In ALDSAudiologger1 I've selected the codec as compressor and capturing works fine. But the params options says [No Config]. The codec has no dialog.

In GrapheditPlus (filtergraph editor) I can set the output format through IAMStreamConfig::SetFormat

Is there a way to set or enumerate and select these codec properties in Audioloab?
(aldsaudiologger1.Compression.Compressions.Items[0].???).

Any help, solutions or samples to capture audio with a compressor and bitrate/samplerate settings are welcome!

Best regards,
Paul
Reference URL's