• 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: Which Audio Formats are supported directly by CoreAudio
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Which Audio Formats are supported directly by CoreAudio


  • Subject: Re: Which Audio Formats are supported directly by CoreAudio
  • From: Marc Van Olmen <email@hidden>
  • Date: Wed, 21 Sep 2005 16:09:56 -0400

Bill,

thx!

Interesting, the Audio File formats on 10.3.9 don't show the AAC,

        'mp4f' = MPEG4 Audio (.mp4)
                   data_formats: 'aac '
        'm4af' = MPEG4 Audio (.m4a)

Does this mean that these file types are not natively supported by coreAudio. But in both cases (Tiger and Panther) coreAudio will use the QuickTime component to do the decompression. Or is coreAudio having it owns decompressor (I guess not) but just trying to be certain....


regards,

mvo











Output on 10.3.9

'AIFC' = AIFC
data_formats: BEI8 BEI16 BEI24 BEI32 BEF32
BEF64 'ulaw' 'alaw' 'MAC3' 'MAC6' 'ima4'
'QDMC' 'QDM2' 'Qclp' 'agsm'
'AIFF' = AIFF
data_formats: BEI8 BEI16 BEI24 BEI32
'MPG3' = MPEG Layer 3
data_formats: '.mp3'
'NeXT' = NeXT/Sun
data_formats: BEI8 BEI16 BEI24 BEI32 BEF32
BEF64 'ulaw'
'Sd2f' = Sound Designer II
data_formats: BEI8 BEI16 BEI24 BEI32
'WAVE' = WAVE
data_formats: LEUI8 LEI16 LEI24 LEI32 LEF32
LEF64 'ulaw' 'alaw'
'ac-3' = AC3
data_formats: 'ac-3'
'adts' = AAC ADTS
data_formats: 'aac '
'caff' = Apple CAF File
data_formats: '.mp3' 'MAC3' 'MAC6' 'QDM2' 'QDMC'
'Qclp' 'Qclq' 'aac ' 'agsm' 'alac' 'alaw'
'drms' 'dvca' 'dvi ' 'ima4' 'lpc ' BEI8
BEI16 BEI24 BEI32 BEF32 BEF64 LEI16
LEI24 LEI32 LEF32 LEF64 'ms\x00\x02' 'ms\x00\x11'
'ms\x001' 'ms\x00U' 'samr' 'ulaw' 'vdva'




On Sep 21, 2005, at 3:09 PM, William Stewart wrote:

QT uses CoreAudio as its primary API for audio capabilities. Therefore, the formats that are available through CA will also be available through QT.

You can see what formats are available by building the afconvert tool in the AudioFileTools in our SDK. Then once built, type:
% afconvert


For instance on my tiger machine this is what I see (I've abbreviated this)
[~] % afconvert
Usage:
afconvert [option...] input_file [output_file]


Options: (may appear before or after arguments)
{ -f | --file } file_format:
'adts' = AAC ADTS (.aac, .adts)
data_formats: 'aac '
'ac-3' = AC3 (.ac3)
data_formats: 'ac-3'
'AIFC' = AIFC (.aif, .aiff, .aifc)
data_formats: BEI8 BEI16 BEI24 BEI32 BEF32
BEF64 'ulaw' 'alaw' 'MAC3' 'MAC6' 'ima4'
'QDMC' 'QDM2' 'Qclp' 'agsm'
'AIFF' = AIFF (.aif, .aiff)
data_formats: BEI8 BEI16 BEI24 BEI32
'caff' = Apple CAF File (.caf)
data_formats: '.mp3' 'MAC3' 'MAC6' 'QDM2' 'QDMC'
'Qclp' 'Qclq' 'aac ' 'agsm' 'alac' 'alaw'
'drms' 'dvca' 'dvi ' 'ima4' 'lpc ' BEI8
BEI16 BEI24 BEI32 BEF32 BEF64 LEI16
LEI24 LEI32 LEF32 LEF64 'ms\x00\x02' 'ms\x00\x11'
'ms\x001' 'ms\x00U' 'samr' 'ulaw' 'vdva'
'MPG3' = MPEG Layer 3 (.mpeg, .mp3)
data_formats: '.mp3'
'mp4f' = MPEG4 Audio (.mp4)
data_formats: 'aac '
'm4af' = MPEG4 Audio (.m4a)
data_formats: 'aac ' 'alac'
'NeXT' = NeXT/Sun (.snd, .au)
data_formats: BEI8 BEI16 BEI24 BEI32 BEF32
BEF64 'ulaw'
'Sd2f' = Sound Designer II (.sd2)
data_formats: BEI8 BEI16 BEI24 BEI32
'WAVE' = WAVE (.wav)
data_formats: LEUI8 LEI16 LEI24 LEI32 LEF32
LEF64 'ulaw' 'alaw'



What afconvert is doing here is using both the AudioFormat and AudioFileGlobal APIs to find out:
What file types are installed on the system
- AudioFile and AudioFileComponents
What codecs are installed on the system
- AudioCodec components (with bridging to *some* SM codecs)
What file types support what data formats


The CAF file ('caff') supports any data format - so this format will show you basically what data formats are installed

You can use the AudioFormat API to get more information about a particular encode/decode data format (its name, etc)

Bill

On 21/09/2005, at 10:30 AM, Marc Van Olmen wrote:

hi,

is there somewhere a list available which audio formats are supported natively by coreAudio. Is there a weburl or app that list them? is this list bigger under Tiger?
Is this the recommended way now to playback audioformats or is it still better these days to use the new QuickTime 7 audio decompression components...


regards,

mvo

_______________________________________________
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


-- mailto:email@hidden
tel: +1 408 974 4056
_______________________________________________________________________ ___
"Much human ingenuity has gone into finding the ultimate Before.
The current state of knowledge can be summarized thus:
In the beginning, there was nothing, which exploded" - Terry Pratchett
_______________________________________________________________________ ___



_______________________________________________ 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: Which Audio Formats are supported directly by CoreAudio
      • From: James McCartney <email@hidden>
    • Re: Which Audio Formats are supported directly by CoreAudio
      • From: William Stewart <email@hidden>
References: 
 >Which Audio Formats are supported directly by CoreAudio (From: Marc Van Olmen <email@hidden>)
 >Re: Which Audio Formats are supported directly by CoreAudio (From: William Stewart <email@hidden>)

  • Prev by Date: Re: CoreMidi and CoreAudio for software synth
  • Next by Date: Re: Which Audio Formats are supported directly by CoreAudio
  • Previous by thread: Re: Which Audio Formats are supported directly by CoreAudio
  • Next by thread: Re: Which Audio Formats are supported directly by CoreAudio
  • Index(es):
    • Date
    • Thread