Re: multiple audio channels represented in a single track
Re: multiple audio channels represented in a single track
- Subject: Re: multiple audio channels represented in a single track
- From: Tommy Schell <email@hidden>
- Date: Wed, 25 Feb 2009 12:01:27 -0800
Thanks for this.
If we interleave the audio as suggested below, would an extension be
required?
Also, for 24 bit lpcm audio with 8 channels, the
constBytesPerAudioPacket = 24?
And constLPCMFramesPerAudioPacket = 1?
Thanks a lot, Tommy Schell
On Feb 25, 2009, at 10:47 AM, Greg Chapman wrote:
But the audio layout in the QuickTime track must be interleaved, of
course:
sample 0 channel 0
sample 0 channel 1
sample 0 channel 2
sample 0 channel 3
sample 0 channel 4
sample 0 channel 5
sample 0 channel 6
sample 0 channel 7
sample 0 channel 8
sample 1 channel 0
sample 1 channel 1
sample 1 channel 2
sample 1 channel 3
sample 1 channel 4
sample 1 channel 5
sample 1 channel 6
sample 1 channel 7
sample 1 channel 8
etc....
You can also add an AudioChannelLayout as a SoundDescription
extension.
Greg
On Feb 25, 2009, at 10:36 AM, Greg Chapman wrote:
Yes it possible, and permissible.
There, in fact, is no real limit to the number of channels that
can be represented in a single QuickTime movie track (if you use
SoundDescriptionV2).
Greg
On Feb 25, 2009, at 11:17 AM, Tommy Schell wrote:
Hi,
Is it possible to have multiple audio channels in a single track,
with the individual samples interleaved,
in a Quicktime file?
In other words, can the SoundDescriptionV2 numAudioChannels field
be set to greater than 1 (up to 8) ?
So the data would be organized frame by frame together in the
Quicktime file:
(for example, 8 channel audio)
a single channel 1 sample, followed by
a single channel 2 sample, followed by
a single channel 3 sample, followed by
a single channel 4 sample, followed by
a single channel 5 sample, followed by
a single channel 6 sample, followed by
a single channel 7 sample, followed by
a single channel 8 sample, followed by
the next channel 1 sample, followed by
the next channel 2 sample, etc
All the audio would then correspond to a single track in the
Quicktime wrapper.
Is this permissible?
Thanks, Tommy Schell
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Coreaudio-api mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
40apple.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:
40apple.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