Re: WMA on the iPhone
Re: WMA on the iPhone
- Subject: Re: WMA on the iPhone
- From: Marco Papa <email@hidden>
- Date: Sat, 10 Jan 2009 01:57:42 -0800
Brian,
Nothing wrong with converting on-the-fly to linear PCM. The circular buffers are already provided by Audio Queue Services and I have that code up and running fine when submitting MP3 or AAC. FFMPEG seems to be including several Linear PCM formats to convert to, so that should work.
Thanks.
-- Marco
On Sat, Jan 10, 2009 at 1:35 AM, Brian Willoughby
<email@hidden> wrote:
MP3 was not designed as an interim memory storage format. It's totally inappropriate to convert to MP3 as a bridge between other technologies. The inventors of MP3 would shudder. Even if you don't care about quality, you'll probably find it harder to support MP3 playback, and all the encoding and decoding would surely sap the CPU.
What's wrong with convert-on-the-fly to Linear PCM? You could even use the 8.24 native format for the iPhone, or whatever the exact format is. That would entail very little CPU overhead. With a circular buffer, it would not even require significantly more memory.
Brian Willoughby
Sound Consulting
On Jan 10, 2009, at 00:05, Marco Papa wrote:
My app plays MP3 and AAC streams using Audio Queue Services. I would like to add streaming WMA (Windows Media Audio) . One suggestion that I have had is to use the version of ffmpeg which has been ported to the iPhone, let it parse the streamed audio (currently I do it with Audio File Stream Services) and convert on-the-fly from WMA into MP3 and feed the resulting MP3 stream to Audio Queue services. Would this work? Any other ideas?
--
Marco Papa, Ph.D.
Computer Science Department
University of Southern California
Henry Salvatori Computer Center
Los Angeles, California 90089-0781
Voice: +1-213-974-2137
Cell: +1-310-944-5468
E-mail:
email@hidden
_______________________________________________
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