But for all intents and purposes (i.e., the ATV), Kevin is correct.
Not quite. He is correct insofar as Dolby Digital 5.1-channel surround is concerned. It can only be transmitted either through TOSLink, S/PDIF, or six-channel RCA (requires a Dolby Digital decoder in the DVD player itself).
I think I should clarify, also, that Dolby Digital is a multichannel format that is not restricted to 5.1 channels. It can be 1.0, 2.0, 2.1, 3.1, 4.0, 5.1 or 7.1 (EX subformat). Technically Dolby Digital can be decoded and sent to a receiver over stereo RCA... supporting either a Dolby Digital 2.0 mix, or a stereo downmix of Dolby Digital 5.1 channel surround. Of course at that point it's no longer Dolby Digital.
To clarify my correction of Kevin's statement, it's the Dolby Digital bitstream format, not the number of channels, that can't be transmitted over stereo RCA.
But the AppleTV will pass through Dolby Surround analog that can be decoded into 5.1 channels of information, as it is. There is no additional software or hardware needed because the encoding is part of the analog signal that has been digitized. Upon reconstruction of the analog signal (whether it takes place in the ATV and is sent stereo to the receiver, or is sent digital to the receiver and decoded there) if Dolby Surround was present in the DVD master from which the ATV movie was duplicated, it will be present in the analog L-R signal decoded by the AppleTV or the receiver.
Try it. Download Isao Tomita's "Planets" or "Snowflakes are Dancing" from iTunes Music Store and send them to your receiver from your AppleTV's analog or optical output... and set your receiver to Dolby ProLogic II mode (DPLII Music if you have that subset). This is not a "phony" phase shift produced by the Dolby ProLogic decoder. Tomita's recordings were mastered in Dolby Surround and you will very distinctively hear separation as good as the original analog Dolby Surround master.
Once a Dolby Surround analog quadrature is in a stereo analog, PCM, AC-3 or other file, it's there to stay unless an engineer goes to the trouble of either remastering the original multitrack recording to stereo, or playing back the Dolby Surround 2-track master with a decoder, then dumping the quadrature and resampling the separated L-R, but this is so cumbersome it's rarely done for something like iTunes Music Store.
Really? Would this be true on DVDs that include a 2.0 stereo mix as well?
Depends...
Apple's documentation isn't that good on this stuff, so you will have to refer to IMDB or a DVD review site to find out the specifics of the DVD release from which the H.264 was encoded. If all it says there is Dolby Digital 2.0, then it's likely only stereo.
However, the designation "Dolby Digital 2.0 Surround" is used to indicate a recording that is 2 channel stereo with Dolby Surround quadrature in the L-R, but encoded as 2-channel Dolby Digital AC-3 instead of 5.1-channel (referred to as 3/2.1 in the technical documentation). That is the designation as specified by Dolby Laboratories, and with rare exception this is what you should find if Dolby Surround analog is present in the stereo AC-3 bitstream.
I'd be surprised... wouldn't this effectively increase the load on the encoder and waste bitrate in the surround stream by creating unnecessarily complicated L and R channels?
No. You have to think of it this way... If a constant sampling frequency and bit depth is used, such as in 16-bit Linear PCM for Red Book CD Digital Audio, then it doesn't matter how much sound there is... It's still going to be the same bitstream as the same format with a 1kHz sinewave.
What I think you're misconstruing here is the difference between the carrier frequency and the frequency and amplitude of the audio it can carry. Let's use Linear PCM as a really basic example:
The digital carrier has a frequency of 44.1 kHz, and a quantization interval size of 16 bits per channel, and 2 channels. This equates to 1411 Kbps. This bitstream can reproduce any audio reliably up to 22050 Hz (the Nyquist limit), with a dynamic range of around 96dB, meaning that it will support all frequencies within the human range of hearing ("A-weighted" range) and a range of amplitude values spanning 96 decibels from the softest to the loudest sounds. This bitstream does not get larger if you cram more sound into it.
What happens in Dolby Surround/ProLogic/ProLogic II is we're not adding more digital data. We're adding more analog frequencies... but these frequencies are shifted 90 degrees out of phase with the main audio, so as to be imperceptible in regular stereo playback.
Here is an example of a 90 degree phase shift:
In a quadrature they form a more complex soundwave but white noise can be said to be complex and it doesn't change the dynamics of the LPCM format. It's still 1411 Kbps to reconstruct that white noise. It's still 1411 Kbps to reconstruct a complex analog waveform that is later demultiplexed by a ProLogic decoder that looks at the complex waveform and mathematically separates the portion of the signal that's 90 degrees out of phase.
The same principle is used in fiber optic transmission on a massive scale in technologies like Dense Wavelength Division Multiplexing, where multiple frequencies (colors) of light are combined as separate carrier frequencies into one complex carrier frequency that consists of 80+ channels (wavelengths) of data at the same time over a single fiber. This led to breakthroughs by Bell Labs and others to break 400 gigabits per second over 400 kilometers along a single strand of fiber! In 1997, Bell Labs set a record transmitting 3.2 Terabits per second over a 7 strand fiber optic bundle... equivalent then to the per second traffic of the entire internet.
I always assumed that DVDs which had a 5.1 mix only were being downmixed to a Pro Logic-compatible stream by internal circuitry in the DVD player when the player was hooked up via a traditional stereo connection.
It is my understanding from Dolby's technical papers that this is not the case
The downmix feature that is required of all licensed Dolby Digital decoders downmixes the center and rear channels at -3dB into a stereo signal... sans surround quadrature.
This can occur at the DVD player if the DVD player is equipped with a Dolby Digital decoder internally (most today are), or at the receiver if running optical fiber from the DVD to the Dolby Digital decoder in the receiver. But a quadrature is not generated on the fly.
That would require some impressive hardware in a DVD player, AND it would have to be a licensed Dolby Surround encoder (which are expensive as hell relative to even premium DVD player prices today).
If you have a Dolby Digital processor in your receiver, then there's no need to downmix to 2 channels unless you only have two speakers in which case a Dolby Surround quadrature will do you no good.
What really happens is that the Dolby Surround analog signal, if there is one, is present in the L-R channels of the AC-3 bitstream. Either the audio goes to a stereo receiver as a stereo downmix with Center, SurL and SurR downmixed -3dB into the L-R. Or the audio goes to a ProLogic decoder which separates the phase shifted portion of the signal and sends it to the rear, or, in the case of ProLogic II, sends it to the rear, center and LFE using a combination of phase shifting and bandpass filtering.