Post Reply 
 
Thread Rating:
  • 0 Votes - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Setting compression (codec) bitrate
06-11-2013, 11:35 PM
Post: #1
Setting compression (codec) bitrate
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
Quote this message in a reply
Post Reply 


Forum Jump:


User(s) browsing this thread: 1 Guest(s)