@TomArrow and others, did anything ever come out of this? I'm interested in trying to work out the Dolby Digital on film format too. I did find some things in my research not mentioned in this thread, most of which comes from
this Dolby patent (which has now expired). The most interesting parts are:
As you've already found, each dolby digital "fixel" (that's what Dolby calls the QR code like squares), is 76x76.
Each corner is a 7x7 sync pattern ("cross-multiplied 7-bit Barker code (1110010)") - but there seems to be a black border on the innder side so it's more like 8x8 I think.
And the middle is the 12x12 sync center of the Dolby double D logo
The signal carried in the Dolby Digital stream contains the following streams. Based on what TimArrow said previously about there being three types of block, maybe all of these aren't in each, and instead the data ones are in the software and directory ones? Although I also know that there's a bit of metadata in every block, so that might not be the case.
- x5 20kHz audio channels
- x1 125 Hz subwoofer channel
- x1 2400 bps data channel
- x1 9600 bps data channel
In terms of physical encoding, the black dots are 1s and the opaque dots are 0s. The bytes are arranged in 2x4 groups, ie 2 horizontal, 4 vertical, and therefore each block is 38 bytes wide, and 19 bytes high. This makes sense as the corners and center patterns fit into their own bytes then.
During the decoding, the data is error corrected using reed solomon encoding. There are "two levels of protection", "inner EDC codes and outer EDC codes". The data is passed through reed solomon correction *twice*, the first for outer EDC, and the second for inner.
The bit that concerns me most in the patent is this quote:
Quote:The digital information, after encoding, may be randomized prior to its application as symbols on the film so that the blocks of symbols will not be likely to contain large transmissive or opaque areas. The occurrence of a large area of opaque or transmissive symbols would therefore most likely indicate a large surface defect.
If it is randomized, then there must be a way of recovering the original order, but it doesn't seem to be described in the patent.
I'm a 35mm film collector, so I'm lucky enough to have a projector, and dolby digital reader and decoder (in fact I have two decoders, one I don't mind taking apart and looking at). There are a couple of extra things I've found when looking at the boards in it.
The reed solomon chip is a AHA4010-01, which looks like a relatively standard chip.
The AC3 decoding itself is done by a Zoran ZR38500 - which is actually a consumer AC3 decoder chip that's also found in DVD players and the like. Unfortunately, this chip also supports a "user designed program in external boot-strap ROM [to] add distinctions to industry standard decoder functions" - and I believe this is used in this case to read the non-standard datastream. Certainly, when I hooked up my logic analyser, it didn't resemble standard AC3 frames. And I can't get hold of the programmers guide for the Zoran chip, and dumping the ROM is beyond my capabilities at the moment.