• 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: opening a quicktime file with AAC audio via AudioFileOpenURL
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: opening a quicktime file with AAC audio via AudioFileOpenURL


  • Subject: Re: opening a quicktime file with AAC audio via AudioFileOpenURL
  • From: John Clayton <email@hidden>
  • Date: Wed, 24 Sep 2008 06:05:03 +0200

Hi William,

No - not what I see. Core audio opens an .MP4 file that contains both video and audio without a problem, i.e. AudioFileOpen() opens a Quicktime movie OK.

It fails on a .MOV file though - which is really inconsistent. Well, at least - it is from a 'user drags some quicktime file into my app and expects my app to open it' point of view, because I'll have to deal with the fact that Core Audio sometimes can't handle quicktime files.

Oh yes, I should mention - I managed to modify the public utility CAAudioFile class (that I'm using as part of my core-audio impl) - so that it can be set up with either an AudioFileID or a Movie - either will work, so this problem is solved for now (until something else raises its ugly head). I used the Quicktime Audio Extraction API, since its able to feed the buffer lists used in Core Audio directly.

Thanks
--
John Clayton
Skype: johncclayton




On 24/09/2008, at 3:46 AM, William Stewart wrote:

yes - core audio APIs do not open QT Movies, as they aren't "audio" files (though they can contain audio data)

On Sep 19, 2008, at 6:25 AM, John Clayton wrote:

Hi All,

I get a 'dta?' error back from AudioFileOpenURL when I open an AAC quicktime file - is this expected? I've had success with a .MP4 file that contains AAC encoded audio, but I get a failure when opening a .MOV file with AAC encoded audio.

I don't understand why one would open ok and the other wouldn't - anyone able to shed some light?

Thanks
--
John Clayton
Skype: johncclayton




_______________________________________________
Do not post admin requests to the list. They will be ignored.
Coreaudio-api mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
@apple.com


This email sent to 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
  • Follow-Ups:
    • Re: opening a quicktime file with AAC audio via AudioFileOpenURL
      • From: William Stewart <email@hidden>
References: 
 >opening a quicktime file with AAC audio via AudioFileOpenURL (From: John Clayton <email@hidden>)
 >Re: opening a quicktime file with AAC audio via AudioFileOpenURL (From: William Stewart <email@hidden>)

  • Prev by Date: Re: Audio Input Queue on iPhone
  • Next by Date: Re: AudioQueue basics - elapsed time and seeking
  • Previous by thread: Re: opening a quicktime file with AAC audio via AudioFileOpenURL
  • Next by thread: Re: opening a quicktime file with AAC audio via AudioFileOpenURL
  • Index(es):
    • Date
    • Thread