• 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: William Stewart <email@hidden>
  • Date: Wed, 24 Sep 2008 13:58:12 -0700


On Sep 23, 2008, at 9:05 PM, John Clayton wrote:

Hi William,

No - not what I see. Core audio opens an .MP4 file that contains both video and audio without a problem,

yes, it will do that

i.e. AudioFileOpen() opens a Quicktime movie OK.

no, it will not open a .mov file - an MPEG-4 file is not a QT Movie file.


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.

ok, but if you want to handle QT files, then you have QT APIs to do that.


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.

not really. you only think this is solved because you think that a movie and an MPEG file are the same thing. They aren't.


Bill



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: 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
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>)
 >Re: opening a quicktime file with AAC audio via AudioFileOpenURL (From: John Clayton <email@hidden>)

  • Prev by Date: Re: ExtAudioFileSetProperty() fails
  • Next by Date: Re: ExtAudioFileSetProperty() fails
  • Previous by thread: Re: opening a quicktime file with AAC audio via AudioFileOpenURL
  • Next by thread: Matrix Mixer & Busses
  • Index(es):
    • Date
    • Thread