In order to configure an Audio Extraction Session to
extract discrete channels from the movie without mixing, you must set
the AllChannelsDiscrete property on the session. What you have
done below is to establish a destination channel layout that contains
no active channels, which, if it worked, would have resulted in
silence. You also hadn't set the extraction ASBD to match your
channel layout, which is probably why it failed.
You should then *Get* the
kQTMovieAudioExtractionAudioPropertyID_AudioStreamBasicDescription
property in order to determine how many channels this discrete
extraction will return, so you can allocate your pull buffers
appropriately.
Hello, i
think i have missed something in the audio extraction
api.
I need to
extract each audio track in each audio stream of a movie, to place
them in a time line for editing
For ex
a movie with two audio stream in it, one with a stereo track, and an
other with a stereo track too.
So for my
application i need to extract 4 mono tracks.
The audio
extraction failed (-50) with this configuration (i have changed the
asbd, layout properties & set the mixing as
discreet)
But if i
edit the movie in quicktime 7 (i leave the first stream as it was
(left and right), i set the left channel of the second stream as
center-left and the right channel of the second stream at
center-right)
The result
is L CL CR R and there everything is fine
So i think i
missed something about discreet channel mixing & the channel
layout.
_______________________________________________
Do not post admin requests to the list. They will be ignored.
QuickTime-API mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/quicktime-api/email@hidden
This email sent to email@hidden