Interlacing Sucks, Part 3
- Interlaced data where the fields are different moments in time (e.g. NTSC television, with 30 frames and 60 fields)
- Progressive data where each moment in time is spread over two fields (e.g. time lapse footage converted to NTSC)
- Progressive data with pulldown inserted (e.g. film shot at 24 fps which has been telecined to NTSC)
So how do you handle the first case? If you resize each field to the height of a full frame, resolution will suffer and the image will look soft. If you're clever, you'll try to compensate for motion that occurred between the fields. This is tricky and expensive to do. Another downside is that I don't know of a way to distinguish between the first two types of content. That means time lapse and stop motion footage may get degraded unnecessarily.
In the film case, things are more complicated. Four film frames, let's call them A through D, are pulled down by the telecine process into 10 interlaced fields. Typically the cadence for broadcast is 2-3-2-3, meaning that parts of frames B and D are repeated. If A1 is the even lines of A, and A2 the odd lines, the five interlaced frames would look like A1A2 B1B2 B1C2 C1D2 D1D2. It's up to the progressive device to reconstruct the original 24 frames from this pattern.
In theory this shouldn't be too hard, because DVDs have flags to mark the cadence. In reality, some DVDs are authored badly, and those flags can't be trusted. Therefore, good players will detect the cadence by performing memory comparisons of the fields. Of course, if the image is black, or no motion takes place, this kind of analysis will fail. Things get more complicated for material which switches back and forth between film and video sources, like a special feature which shows the making of the movie.
There are two more details about pulldown. First, it wastes 20% of the video bandwidth on duplicate fields. Smarter cameras and well authored DVDs will instead use MPEG flags to indicate that certain fields should be duplicated on playback, without wasting bits on them. Second, there is another cadence called advanced pulldown which runs 2-3-3-2. While this creates uneven motion, it's not meant to be viewed. The advantage is that this pulldown can be removed without decompressing the data, by throwing away the middle frame. This is useful in a video editor, since you don't incur a generation loss converting interlaced media back to progressive. Unfortunately, advanced pulldown is patented, which has prevented it from being universally adopted.
The result is that material which was shot as interlaced won't look very good on a progressive screen. By comparison, film originated material which is transported as interlaced can be reconstructed perfectly, but you may see glitches depending on your device.
Labels: video