Mailing Lists: Apple Mailing Lists
Image of Mac OS face in stamp
Re: Compressing A & V to a movie file with QT for Windows
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Compressing A & V to a movie file with QT for Windows



Forgive me for repeating the original question...But is there anyway
SoundConverter can be used with the AddMediaSample2 API ?

-Raman

On 6/8/06, Brad Ford <email@hidden> wrote:

On Jun 8, 2006, at 12:29 AM, Joe Honoroff wrote:


> -----Original Message----- > From: quicktime-api-bounces > +jhonoroff=email@hidden [mailto:quicktime-api- > bounces+jhonoroff=email@hidden] On Behalf Of > Joe Honoroff > Sent: Tuesday, June 06, 2006 12:25 PM > To: email@hidden > Subject: Compressing A & V to a movie file with QT for Windows > >

<SNIP>

> My question is, which method and set of API's should I use to
> compress the Audio so I can pass the encoded samples into
> AddMediaSample2  Originally I thought I should use the SoundMgr's
> ConvertSound, but then windows update guide say to use CoreAudio's
> ConvertAudio, but that's not fully supported and finally I read
> that the SoundMgr is outdated and that I should use an Audio Exporter.

Joe,
You are correct about CoreAudio's AudioConverter.  It is not
available on Windows.  You have a few choices:

1) What compressed formats do you need to support?  Are you just
trying to do various flavors of PCM?  If so, you can use the
MovieAudioExtraction API set.  It will give you any PCM variant (it
can also do SRC).
2) You can use SoundConverter.  This is a deprecated API on the Mac
and is discouraged for new code, because it's limited to stereo and
sample rates below 65 khz, but it is available cross-platform, and
lets you encode to compressed formats besides pcm.
3) How soon do you need to finish?  If you are not in a time crunch,
consider the new SCAudio compression API's in QuickTime 7.1.  They
are cross-platform and give you all the AudioConverter goodness and
more.  Caveat: QT 7.1 has shipped, but the updated 7.1 SDK has not
(that's why I asked about the time crunch).  If these new API's sound
interesting to you, consider coming to our world wide developer
conference in August (WWDC San Francisco), where we'll be talking
about them in the QuickTime audio session.

-Brad Ford
QuickTime Engineering
 _______________________________________________
Do not post admin requests to the list. They will be ignored.
QuickTime-API mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden

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


References: 
 >FW: Compressing A & V to a movie file with QT for Windows (From: "Joe Honoroff" <email@hidden>)
 >Re: Compressing A & V to a movie file with QT for Windows (From: Brad Ford <email@hidden>)



Visit the Apple Store online or at retail locations.
1-800-MY-APPLE

Contact Apple | Terms of Use | Privacy Policy

Copyright © 2011 Apple Inc. All rights reserved.