Re: AAC/MP3 to raw audio
Re: AAC/MP3 to raw audio
- Subject: Re: AAC/MP3 to raw audio
- From: Ivan C Myrvold <email@hidden>
- Date: Mon, 8 May 2006 18:25:33 +0200
I have been looking at afconvert. I think this will be very close to
what I need. I want to convert from e.g. aac or mp3 format, to raw
audio, 8kHz sample rate, mono (single channel).
But I am overwhelmed by the list of options this tool can handle. Can
anyone give me the correct syntax with afplay for this?
I see that the output file is optional in afplay. If I omit the
output file parameter, will afplay then write to standard output? I
tried that, but I get 'Error: create audio file (5000)'. So why is
the output_file optional (i.e. in brackets):
Usage:
afconvert [option...] input_file [output_file]
Ivan
Den 7. mai. 2006 kl. 23:10 skrev Alexander v. Below:
The ConvertFile (1) sample contains such sample code, and feel free
to ask questions.
However, allow me to tell you from my experience. I have finally
given up on CoreAudio for this task, and switched to QuickTime. Let
me tell you why:
1) There is a bad bug in the Audio File API causing bad hangs with
some malformed MP3 files
2) CoreAudio does not support m4a files under 10.3. That is a
requirement for me, I am not sure about you.
I think that CoreAudio would be much more suited to my task, were
it not for above limitations. Once I the userbase allows me to
abandon 10.3, I might switch to CA.
Alex
Am 07.05.2006 um 18:33 schrieb Ivan C Myrvold:
Do anyone have any example file of converting from AAC/MP3 to raw
audio, using Core Audio?
(1) /Developer/Examples/CoreAudio/SimpleSDK/ConvertFile
_______________________________________________
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