3

35mm cinema film and digital audio

 3 years ago
source link: https://everydaything.substack.com/p/35mm-cinema-film-and-digital-audio?s=r
Go to the source link to view the article. You can view the picture content, updated content and better typesetting reading experience. If the link is broken, please click the button below to view the snapshot at that time.
neoserver,ios ssh client

35mm cinema film and digital audio

A while ago I decided to pick up some 35mm cinema film to help me experiment with projection optics. Old film trailers are by far the cheapest and easiest source of 35mm cinema film and can be picked up for a few dollars on eBay.

For those who, perhaps haven’t been to a cinema for a few years… these were short rolls of cinema film containing adverts spliced on to the beginning of feature.

In this case I acquired the trailer for mediocre 1997 disaster film volcano. The trailer I have seems more of less similar to this one.

While virtually all cinemas now use digital projection. Analogue film still holds a certain fascination. I suppose it’s just interesting to be able to see and interact with the storage medium itself. The image below shows the A in “A News Corporation Company”. You can clearly see the grain, and how this limits the optical resolution of the format:

Another curiosity of these late era analogue cinema films is that the audio is often encoded in up to 4 different analogue and digital formats. We can see how part of the frame has had some kind of data crammed into it:

The analogue soundtrack is used for legacy projectors with no digital decoder. The time code can also be used to sync the projection with external (often digital) sound sources.

But the SDDS (Sony) and Dolby digital both digitally encoded audio in a matrix like format on the film itself. This could then be decoded by an optical reader and decoder box. To me, this is pretty impressive for 90s technology. Each frame has 4 of these 78x78 matrices flying through the projector at 24 frames a second. That’s 96 matrices a second. You can now, 25 years later, pick up QR code readers that operate at ~60 scans/second, but I imagine it’s still “challenging”, particularly in real time.

I couldn’t find any public references to the dolby matrix encoding format. But this patent revealed some useful information. The matrices on the film shown above are 78x78 pixels, in the patent they suggest each matrix contains 5776 bits (38*19 bytes). This is in the same ballpark as the 6084 bits available in 78 square and subtracting out the fiducials we get 5684 bits. It’s possible that the approach evolved slightly from that show in the patent, but it seems like we’re in the right ballpark.

The patent suggest that data is stored in 8 bit bytes. Given that we have a data rate of ~584KB/s (Kilobytes/s) I suspect audio data is stored uncompressed. According to the patent, Reed-Solomon ECC also seems to be applied.

Using uncompressed data and applying error correction with Reed-Solomon probably helped simplify the electronics significantly. QR codes are relatively complex to decode, requiring the decoder to apply multiple masking patterns before the correct one is found.

In the dolby approach, the fiducials are likely used to keep the code correctly aligned to the sensor, and bytes directly encoded in matrix. The Reed-Solomon error correction then compensates for the (likely significant) damage and read out errors that occur.

Looking at the matrix itself, it certainly looks like single bytes are encoded in the X direction, we can often see identical blocks of 8 pixels adjacent in the Y-axis:

This suggests that the matrix should be relatively simple to decode. And it would be an interesting exercise to put together an image based dolby digital matrix decoder… so perhaps we’ll revisit this format again one day…

The evolution of film, and the different digital audio encoding methods proposed provides an interesting insight into a shared engineering journey based around the limitations of 35mm as the de facto standard. Now, almost completely abandoned and replaced by digital cinema… but at least analogue film still has some fans.

All content is CC-by-SA


About Joyk


Aggregate valuable and interesting links.
Joyk means Joy of geeK