.mov into AudioFilePlayer Unit?
.mov into AudioFilePlayer Unit?
- Subject: .mov into AudioFilePlayer Unit?
- From: Seth Willits <email@hidden>
- Date: Tue, 13 Nov 2012 11:14:39 -0800
I have some .mov files with nothing but a single AAC track in them that I need to pipe through an AUGraph. I figured out all of the AUGraph stuff (*pats myself on the back*) but I was using AudioFileOpenURL with aif files to get an AudioFileID to use with kAudioUnitSubType_AudioFilePlayer units and now I see that AudioFileOpenURL doesn't open mov files — even being nearly identical to an mp4 file.
At this point one reasonable option I see is to transcode the .movs to .mp4s using passthrough since the files are relatively small so it'd be quick, but is there another way that's little work? I don't want to have to read the samples myself from the file, buffer them, and hand them off in a callback to an AudioUnit etc.
--
Seth Willits
_______________________________________________
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