QuickTime: ordinary Macs played video in software alone in 1991, and its file format became the basis of MPEG-4 files

Photo: QuickTime (cogdogblog · CC0 · Wikimedia Commons)

In May 1991, on the stage at Apple's Worldwide Developers Conference, Bruce Leak reached for the mouse and started a Macintosh playing a movie. Leak, the lead developer, was running the first public demonstration of QuickTime. For the film he had chosen Apple's own 1984 advertisement. It began to move inside a small window, a patch of screen far smaller than the computer's display, and The audience watched the old ad play as a tiny picture on a Mac.

QuickTime was created in 1991, a time when people called playing digital video directly on a computer “groundbreaking.” Before it, computers had shown video only with very expensive add-on technology, extra gear that had to be bought and bolted on before a single frame could move.

But a demo on a stage proves only so much. Could an ordinary Macintosh really play moving pictures without a costly add-on, and could Leak's team make that promise hold on the machines people actually owned?

A product announced before it existed

A year before Leak's demo, at the 1990 Worldwide Developers Conference, marketing manager Don Casey walked onto the stage and announced "QuickTime." He called it a new multimedia platform from Apple.

Some of the Apple engineers who would have to build it heard the news the same way the audience did. Casey's announcement blindsided them.

The demo that backed up Casey's words most likely ran on prototypes from ATG, an Apple research group. It looked like a preview of a product. In fact, none of its code would ever appear in the QuickTime that eventually shipped.

The company's answer was to move people. Systems engineers stepped away from their work on System 7, the next version of the Macintosh operating system, and started a new project with the code name "Warhol." Their goal was to deliver digital video in only a year.

Bruce Leak took charge of the team. He had already worked on Color and on 32-bit QuickDraw, the Mac's graphics machinery, so he knew how the machine drew a picture. Now he had to make that picture move.

The terms were strict. QuickTime would be an extension to the Macintosh operating system, a piece of software that added a new ability to the machine. Apple would develop it entirely in-house, with no third-party hardware support. No extra board would do the heavy lifting, and no outside company's chip would rescue a missed deadline.

How do you make an ordinary computer play video when nobody may give it any help?

The horses that needed their own chip

Leak did not have to look far for a model of what he was being asked to do, because Apple had already tried it the hard way. Steve Perlman had built a project called QuickScan in the mid to late 1980s, and its demo was easy to remember: horses running across the screen of a Macintosh.

The horses galloped, but they did not gallop on an ordinary Mac. QuickScan needed its own dedicated graphics chip to make them move, and Apple cancelled the project. A machine that needed special silicon to run a herd of horses could not be sold as a stock Mac, and the terms of Warhol ruled out any such help.

The other model was cruder and already in use. The best way to mix video into an interactive presentation was a piece of software that steered a laserdisc player over an RS-232 serial cable, a plain port for sending commands from computer to machine. The pictures never appeared on the Mac at all. They played on a television set beside it.

The horses had shown that the Mac could be made to do the trick. The question was where the trick would live, and Leak's team decided it would live in code. They set out to learn how to get in software what QuickScan could do only with extra hardware.

Perlman and Leak would later cross paths again, this time as partners, when they co-founded WebTV. But that came years afterward. In 1990, Leak had a year, a promise and a plan: to make a processor do the work of a chip. There was a catch, and it sat in every Mac on every desk: the disks were tiny.

Gigabytes of video, a 40 MB disk

Leak's engineers ran the numbers, and the numbers were bad. Uncompressed video would take multiple gigabytes, while the average Mac hard disk held only 40 MB. Footage in its raw form would swamp a drive before a clip got anywhere interesting.

Everything therefore hung on the codec, the compressor-decompressor that squeezes video into a small file and unpacks it again on playback. Leak did not have to build one from nothing. Down the hall at ATG sat a codec called Apple Video, code named "Road Pizza," and it did something the team badly needed. It could record and compress video in real time, while the picture was still coming in.

Borrowing it also meant borrowing from people Leak knew well. Road Pizza came out of the group that made Pencil Test, a 3-D video rendered wholly on a Macintosh and released in 1988. Andrew Stanton of Pixar illustrated it and helped write it, and John Lasseter advised. Leak had worked on Pencil Test himself, alongside Jim Batson, Perlman and others who would later work on QuickTime.

Road Pizza became a core component of QuickTime. The first release shipped with three codecs, one for video, one for animation and one for eight-bit images.

The animation codec used run-length encoding. Where a long run of pixels shared one color, it stored the color once along with a count, instead of repeating it pixel after pixel. Flat cartoon-style graphics, full of such runs, shrank dramatically. With all three codecs, the data at least had a chance of fitting on a 40 MB disk.

Even squeezed small, every frame still had to pass through the slow processors inside those Macs, and the processors would not wait.

Sacrificing frames to save the sound

Leak's engineers watched the clock, and the clock was the problem. The color Macintoshes of the day ran at speeds from 16 up to 40 MHz, and no amount of clever compression could make those processors move faster than they moved. Somewhere in every clip, the machine would fall behind, and something would have to be dropped, a frame of video or a slice of sound.

The color Macintoshes of the day ran at processor speeds ranging from 16 MHz up to 40 MHz.
Processor speeds of color Macintoshes.

The team had to decide which loss the viewer could live with. The answer came from watching the results. When audio drops out, speech turns into noise that nobody can follow. When video drops out, the picture only stutters, and the eye fills in the gap. So the sound would get first claim on the processor, and the picture would take whatever time was left.

That choice ruled out the obvious way to keep the two together. Locking each sound to a particular frame would mean that a late frame dragged the audio down with it. Leak's team synchronized by the clock instead. The sound ran steadily, and the video skipped ahead to whatever frame the moment called for.

Around that rule the engineers built a structure. A QuickTime file held one or more tracks, and each track stored one kind of material: audio, video, effects, or text such as subtitles. The media data sat apart from the offsets and edit lists that told each track what to play and when. A clip could therefore be imported and edited in place, without copying a single byte of footage.

The team also reached for a larger idea. Video would become just another data type, something a user could cut and paste between applications the way people already moved text and graphics. A programmer would not have to learn the timing tricks underneath. QuickTime's APIs, the ready-made calls that let one program use another's features, kept the complexity of synchronizing digital video out of the developers' way.

From news kiosks to a book about Australia

At the fall 1990 Educom conference, Clate Sanders ran a news service that nobody outside Apple had seen before. He had digitized video from CNN Headline News into QuickTime and embedded it in HyperCard, Apple's card-based authoring tool, using XCMDs, small external commands that let HyperCard call code it did not contain. Underneath the program ran an early build of Warhol, and it was the first time the work left Apple's walls.

The product was called News Navigator, and it was hungry. Each issue produced about 40 MB of new content, which crossed a 10 Mbit Ethernet network to dozens of kiosks. Fresh news, moving pictures and ordinary Macs were working together, at least in a place where the cables were laid out for them.

Leak's team spent the summer of 1991 on the codecs and on the links between QuickTime and the operating system, until they judged it ready. QuickTime 1.0 went out on December 2, 1991, as a multimedia add-on for System 6 and later. Its first home was not an Apple box. It rode on a third-party CD-ROM, *From Alice to Ocean*, a book-on-disk about a journey across Australia.

John Sculley, Apple's chief executive, formally launched QuickTime at Macworld Expo in January 1992.

Real titles soon showed what the format could not yet hide. Early QuickTime games and CD-ROMs often had video clips that refused to blend into their pre-rendered backgrounds. The clips sat slightly out of alignment, and 8-bit color dithered them into a coarse stipple. Sound had its own flaws. Peter Hoddie later recalled apologizing to the musician Brian Eno for the poor audio quality, and Eno answered that every medium has its own characteristics.

Elsewhere in the industry, Microsoft was paying attention.

Knifing the baby

Leak's team had hardly shipped QuickTime 1.0 when the next version was due. QuickTime 1.5 arrived in November 1992 with a new codec, Cinepak, also called Compact Video, which came from SuperMac. Microsoft picked nearly the same month to release Video for Windows, its own answer to moving pictures on an ordinary PC.

Apple had already seen the Windows market coming. That year it hired San Francisco Canyon Co to port QuickTime to Windows. Andy Grove, the chief executive of Intel, was impressed by what the little Mac team had built, and he persuaded Apple to create the "Star Trek" Intel version of Mac OS.

Interest turned into a courtroom fight. Apple sued San Francisco Canyon in December 1994, then went after Intel and Microsoft two months later. The complaint claimed that several hundred lines of QuickTime code had ended up inside Video for Windows.

Testimony in the case reached back into the corridors of both companies. Apple executives said their Microsoft counterparts were "talking about knifing the baby," and the baby was QuickTime, the product Leak's engineers had rushed out in a single year. Microsoft disputed that account.

The fight ended in August 1997. Under the settlement, Apple agreed to bundle Internet Explorer, and it received a $150 million investment.

The Windows push left a mark that no settlement covered. Hoddie later said that the focus on Windows compatibility in the mid-1990s created an opening for RealNetworks, a rival that moved in while Apple's attention was elsewhere.

A million downloads from a postage-stamp idea

On February 11, 1998, the International Organization for Standardization (ISO) approved the QuickTime file format as the basis of the MPEG-4 file format. The Library of Congress says the two MPEG-4 file formats owe a debt to their predecessor, QuickTime. The container Leak's engineers had designed to hold tracks of sound and picture, so that video could be handled like any other data, had become part of an international standard.

The credit comes with a correction. Rob Koenen, who worked on the standard, calls it a common misconception that MPEG was built on QuickTime. MPEG-4 started in 1994, he says, and QuickTime was adopted as its file format only in 1997. It did not give birth to the standard. Its reach had been growing in other places, too. Cyan's game Myst was developed with HyperCard, Director and QuickTime, and players who had never heard of a codec were moving through its painted worlds on ordinary Macs.

Then came the codec that made the format a mass medium. QuickTime 3.0 arrived in March 1998 with the Sorenson codec, which laid the foundation for Apple's movie trailers site, and in 1999 one million people downloaded the *Phantom Menace* trailer in QuickTime within 24 hours. On a stage in 1991, Leak had shown one small window playing an old Apple ad and asked an audience to believe a stock Mac could do it. Now a million strangers sat at their own machines, watching a trailer move in a window, and none of them needed an add-on card.

Cover: cogdogblog · CC0 · Wikimedia Commons. Layout and headline text by Signal Titans. Logo: Apple, via Wikimedia Commons (Public domain).

Source: How 1991's QuickTime Architecture Brought Digital Video to Apple Macintosh Desktops · MPEG-4 File Format, Version 1 · The Apple Museum | QuickTime · US-CERT Technical Cyber Security Alert TA07-193A — Apple Releases Security Updates for QuickTime · Neohapsis Archives – VulnWatch – #0166 – [VulnWatch] iDEFENSE Security Advisory 03.31.03: Buffer Overflow in Windows QuickTime Player · QuickTime and the Rise of Multimedia – CHM · Happy birthday, Apple QuickTime • The Register · QuickTime prepared to make its comeback – CNET · Promising prospect: Perian | Macworld

Share this article
FacebookThreadsLinkedInX

Leave a Reply

Your email address will not be published. Required fields are marked *