• 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
Re: Converting to mp3 on the fly as data come in from a sequence grabber
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Converting to mp3 on the fly as data come in from a sequence grabber


  • Subject: Re: Converting to mp3 on the fly as data come in from a sequence grabber
  • From: Brad Ford <email@hidden>
  • Date: Thu, 19 Apr 2007 10:16:22 -0700


On Apr 19, 2007, at 8:04 AM, Philip Dow wrote:

Hi all, I'm looking to convert data coming in from a sequence grabber into mp3 on the fly.

My current setup uses the sequence grabber component by way of the SGAudio code to save the aifc directly to disk. Once the recording is finished, I open up the pre-installed lame mp3 component, get the atom settings, put the aifc data into a quicktime movie, then save the movie out again using the atom settings. That works nicely, but it requires time for the conversion once the recording is finished.

Is it possible to hook my mp3 component directly into the sequence grabber so that it converts the incoming data on the fly, writing it out to disk as it goes? I figure this would be a task often required, but I'm not sure how to go about it.

You could do this if you repackaged your mp3 encoder as a CoreAudio Audio Encoder component ('aenc' / '.mp3'). There's a sample audio encoder component in /Developer/Examples/CoreAudio/AudioCodecs/Codecs/ IMA4. If you get stuck, you could ask the core audio engineers for help at email@hidden. The WhackedTV sample app shows how to select a compressed output audio format.


-Brad Ford
QuickTime Engineering
_______________________________________________
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


  • Prev by Date: Re: RFCOMM + SCO connection
  • Next by Date: Re: Audio Unit Component Icon
  • Previous by thread: Re: RFCOMM + SCO connection
  • Next by thread: Fwd: AAC options dialog 'Encoder Quality'
  • Index(es):
    • Date
    • Thread