Compression and communications technologies are in many ways unrelated. The same companies don’t offer them both and while communications companies are invariably old and crusty and huge, compression firms are small, undervalued and often unnoticed. But they carry the weight of the next generation of media on their shoulders.
Why are they related at all? Well as far as the Faultline goes, that relationship is crucial to delivering a different television or film signal, over cables to each house in any given neighborhood.
Raw video is made up of multiple bit-mapped frames, and to compress this signal, we need to describe what each pixel is doing. That means communicating the amount of red, green and blue components that make up color, more data to handle brightness. This was originally communicated using a 10-bit digital video word and as far as we know it still is today.
Old US NTSC television signals, when digitized required 480 scanning lines in 525 separate positions, in Europe make that 625 positions, to deliver a single digital frame of a film. If that really was just four 10-bit words per pixel that would be roughly 10 megabits of data per frame. So to deliver digital television, this amount of data has to be transmitted between 24 and 30 times a second, say 300 megabits a second. Actually uncompressed digital TV is slightly more efficient ranging between 135 megabits per second and 270 megabits a second.
This data volume will move steadily upwards as we move into the realm of High Definition television (HDTV).
And you either need to have more bandwidth to carry it or a more complex encoding mechanism to compress it ‘ although codecs are rarely technically about compression, they are more about agreeing what data to not bother sending, but more about that later.
HDTV provides high resolution programming in a widescreen format. A current analog TV picture is made up of 480 horizontal lines. An HDTV picture can have up to either 720 or 1080 lines, allowing for far more picture detail.
The 720p format makes a picture with 720 vertical lines, each with 1280 pixels horizontally. In computer display terms, this gives it a resolution of 1280 x 720. That would amount to more than 1 gigabit per second uncompressed.
The 720p format uses progressive scanning, like computers, which sends a complete picture 60 times per second. 720p provides the smoothest possible motion rendition, but it does not have as much resolution as 1080i. So actually that 1 gigabit a second is 2 gigabits.
The 1080i format makes a picture with 1080 vertical lines, each with 1920 pixels horizontally, again in computer display terms, it has a resolution of 1920 x 1080. 1080i uses interlaced scanning, like traditional TV, which alternates sending odd lines and even lines and thus sends a complete picture 30 times per second (half each, 60 times). 1080i provides the highest possible resolution, but has the same motion rendition as traditional TV. This is closer to sending 2.5 gigabits a second if it were uncompressed.
Clearly compression in a codec needs to bring this down substantially before our meager home networks can cope with it.
The communication world’s answer has been to try to meet the technologists half way, and bulk broadband delivery to the home has, in the last few years, been set around 512 kilobits per second, half a megabit, while compression has to deliver the other half of the equation.
For this to do its job on the emerging digital high definition technologies it would need compress the video stream by over 5,000 times. For normal NTSC this needs to be over 500 times.
For the high tech and electronics industries this compression effort has been a long road and it’s far from over.
We go back to the early 1990s to find the initial work of the Motion Pictures Experts Group which pioneered this compression. But even now there are considerable compromises being made in every digital video compression that is designed to squeeze down a half megabit line.
Compression though is the flexible, inventive partner here. It may have taken 13 years to bring decent video codecs to market, but it would take longer to tear up the 1.3 billion copper lines in the ground and replace them with almost limitless bandwidth fiber optic cable. Eventually that may happen. But the economic reward for doing it will have to be far clearer than it is today, before carriers will risk that kind of expenditure, roughly $2,000 per house connected at present, scaling down to maybe $1,200 over the next few years, certainly a figure measured in $trillions.
Even when a carrier merely upgrades a network, using lines that are already being used for analog voice and which must remain in use for analog voice, it has to change the components at both ends, in the home and at the local exchange. So even a shift to broadband over existing copper cable involves quite a bit of expense and we’ve seen how reluctant the telcos were to take on that relatively low level of investment, compared to re-wiring.
The carriers of the world are almost convinced that they are installing broadband simply for faster internet access. As such, they deliver what they think the market can afford for as little as they need to charge for it to make a profit.
But the Faultline event that we are dedicated to, is when there is sufficient capability that every house, in every street, can watch any entertainment that its bill payers want, over their own dedicated lines, preferably streamed in real time.
That’s when the route to market for video content will be forced to change its economic basis and cause disruption in the Hollywood-TV studios value chain.
As we stand today, the digital video delivery that current compression can deliver to us is not enough to watch streamed movies of any kind. The streaming isn’t fast enough, and the networks they travel over not reliable enough.
It is one thing to broadcast a signal over a multi-drop network like the US cable TV networks, where one MPEG 2 film is watched by multiple households sharing a high bandwidth line, and where it only needs to be transmitted once for everyone to enjoy it. It is another entirely to let every house on the block watch something different.
There is no getting away from it that cable TV companies either have fiber optic cable delivery or have superior, more recently, installed cable in the ground. Any benefit in compression systems will benefit them at least as much as it will benefit the carriers that are trying to do the same trick with ADSL.
But anyway it is the job of compression specialists everywhere to shift the goalposts closer to the 512 kbps that broadband lines are currently capable of delivering.
Is this possible?
Well bit mapped video is a very easy target to compress. If you look at a scene where two people are sat talking to each other and think in terms of pixels, we know quite a lot about those pixels. We know that the pixels that represent the suit that one person is wearing, are going to be identical from one frame to the next, and that apart from the edges of his or her suit, which might move, and some lighting effects that will introduce shadow, the color and hue will remain the same.
This is even more pronounced for their surroundings. Initial versions of MPEG focussed on looking at each frame and deciding how many pixels in a block were identical to each other, and then transmitting them with co-ordinates and a single description, instead of describing all the pixels separately.
Subsequent MPEG encoding began to take in the differences from frame to frame. You can easily describe a frame as ‘the same as the last one, except for these pixel locations,’ in far less bits than you would use to re-transmit the frame.
This is now extending to predicting some of those pixels that change. If a man is walking along, and he is more or less center shot, then the man will mostly stay the same and the scenery behind him will move. The scenery from the right will gradually come to the left, and codecs have now begun to calculate directional predictions of where pixel blocks might be in future frames. These are then compared to the frame and once again, only those that don’t comply with these directional guesses, are transmitted as raw pixels, the rest are formulas for movement from previous reference frames.
If you notice, the complexity of the software that is needed to manage such conversion and comparison with older, used frames, is going up. There is a management overhead in keeping those old frames to hand for reference.
There are speed and memory issues on the playing device that needs to keep track of these frames. The overall scheme of things is getting more complicated. So while we are bringing down the bandwidth required to send this signal, we are trading it for processing power to create the signal and to decode it. It is for this reason that nearly all modern MPEG 4 Level 10 AVC (H.264) codecs need a Digital Signal Processor or a specialist video processing chip. You can do it without, but it will mean that you will have to buffer the signal and not try to convert it to a stream in real time, which is more or less where we are going to be early next year when the first H.264 codecs hit the market in tested volume.
This complexity also means that less and less can a single team of four or five mathematicians write a brand new set of compression algorithms that will dominate the technology. More and more, a concerted standards effort which breaks each job into smaller pieces or a larger corporation that can afford a bigger team, are needed to take compression on, that last, extra mile to force high definition film into the half megabit data stream that over 80 million homes now have in the world.
Which is why Microsoft has stepped in with its Windows Media Player 9, and tried to use the codec as a differentiation point in its architecture. At the moment the Microsoft codec is no further ahead than the multiple standard H.264 codecs that are emerging, but the gamble here is that the codec world is just entering the phase of its development when a superpower like Microsoft and its money, might be able to make the difference between getting the first digital streaming signal to a home and onto a quality TV screen, without losing too much of the data and it being a poor picture.
In the meantime a full high definition signal is beyond streaming until we have commonplace 5 megabit per second lines, into the home. Most codecs manage to squeeze even the most active HDTV signal into a 2 to 5 megabit per second stream. But there remain many compromises possible. Opt deliberately to lose some detail on the screen, blur the edges, interlace less frequently, miss every third frame. At the moment the experimental nature of IP TV and IP Video on Demand, would probably accept the perfectly viable target of streaming old NTSC or PAL quality films with perhaps 15 minutes of download buffer before the film can be watched. That will only require the 500 to 1, approaching 1,000 to 1, compression that codecs are already achieving today.
If that’s what’s viable, then that must be the standard where IP TV is proven. There are no more magic codec improvements around the corner (compression technology moves at perhaps a few percentage point improvements a month), and carriers will only begin in earnest upgrading to faster broadband lines (1.5 to 2 megabits a second), once their payback is guaranteed on their older lines or when electronics suppliers can deliver 2 megabit per second components for the same price as 500 kilobit per second components.
And high definition TV, even downloaded and stored, is likely to remain the province of the broadcast or cable TV firms until 2 megabit ADSL and Cable modems are commonplace, unless you are prepared to wait several hours to watch your next film, by which time you could have popped down to Blockbuster.