• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
How to configure AudioConverter to write VBR?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

How to configure AudioConverter to write VBR?


  • Subject: How to configure AudioConverter to write VBR?
  • From: Jens Alfke <email@hidden>
  • Date: Sun, 8 Feb 2009 15:28:24 -0800

I'm trying to get my ExtAudioFile-based export code to generate VBR AAC files. In the SDK I found CAAudioFileConverter.cpp, which configures VBR (it calls it the 'strategy') by setting the AudioConverter's kAudioCodecBitRateFormat property. I added the equivalent to my code, but it doesn't seem to be working — at least, if I import the resulting files into iTunes, the Info window doesn't say they're VBR.

Any idea what I might be doing wrong? There are several possible values for that property, so I chose kAudioCodecBitRateControlMode_Variable, which the comment says is usually the best tradeoff. I'm not getting any errors back when setting that value, so it seems to be supported by the AAC encoder.

Similarly, I've tried setting the encoding quality via the kAudioConverterCodecQuality property, but I'm not sure whether it has an effect. iTunes says "Low Complexity" either way. Is there any way to tell, other than listening really hard to both versions on expensive headphones?

—Jens

Attachment: smime.p7s
Description: S/MIME cryptographic signature

 _______________________________________________
Do not post admin requests to the list. They will be ignored.
Coreaudio-api mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:

This email sent to email@hidden

  • Follow-Ups:
    • Re: How to configure AudioConverter to write VBR?
      • From: Stephen Davis <email@hidden>
  • Prev by Date: ExtAudioFile format conversion (iPhone OS)
  • Next by Date: Re: How to configure AudioConverter to write VBR?
  • Previous by thread: Re: ExtAudioFile format conversion (iPhone OS)
  • Next by thread: Re: How to configure AudioConverter to write VBR?
  • Index(es):
    • Date
    • Thread