In the past seven days of this tutorial we've learned how to create, edit, and publish our very own audio and video for the Web. We've also gotten mighty real, covering the ins and outs of RealPlayer, RealEncoder, RealPublisher, and RealServer. And today, we're going to top all that off with a look at an interesting new option for streaming media: RealFlash.
RealFlash represents the fruitful marriage of Macromedia's Flash 2.0 (sophisticated animation software) and RealNetworks' RealSystem (a software package that streams animation together with audio), a combination that allows you to sync up vector-based animations with streaming audio. And, since RealFlash can play on the RealPlayer 5.0, it inherits all the advantages of a large user base, distributed multicasting, bandwidth negotiation, and fast-forward/rewind control over playback.
Building Your RealFlash Toolbox
To make this breakthrough technology work, you'll need an audio capture/editing
set-up. You'll also need a copy of Macromedia Flash 2.0 to create the animation and sync up the audio (a free trial version is available at
Macromedia), as well as RealPublisher 5.0 or RealEncoder 5.0 to encode the file for the RealPlayer. You should also get the RealFlash optimization kit (which includes tools and documentation to streamline playback), the RealServer 5.0 (to stream the files), and the RealPlayer 5.0 with the ActiveX Control and Netscape plug-in (to actually view the files). All these RealNetworks products can be obtained at the
RealNetworks siteWorking with Flash 2.0
Flash 2.0 is vector-based animation software. Unlike rasterized images (which are pixels in a grid), vector images are composed of mathematically defined lines, curves, and fills. This means you can scale, or resize, these images without loss of quality or a dramatic change in file size. Flash does handle rasterized images quite nicely, but it's silly not to take advantage of its capability to use the smaller - and sharper - vector-based images.
If you have experience working with Adobe Illustrator or Macromedia's Director, you should have no problem finding your way around Flash 2.0. Flash has a toolbox, a timeline, and an array of utilities that you use to create and manipulate your images. Since the program happily imports Freehand and Adobe Illustrator files, you may want to do your work in those programs and use Flash just for assembly. But the toolbox does let you select geometric primitives - like lines, circles, and rectangles - which you can use to create basic shapes. And you can group sets of these primitives to make elements, which can also be manipulated. Use the timeline to assemble these elements into a coherent sequence and then sync the audio. And presto! It's multimedia!
Flash 2.0 is robust enough to develop or reproduce full-length features - maybe not Akira, but certainly something with relatively simple elements like
South Park. You can also create plain ol' animated GIFs using Flash (versus funkier, less precise shareware animation software), since not every animation needs to be streamed.
Encoding and Embedding Those Flashy Files
Now that you have a finished Flash animation, there are two ways to encode the file for streaming delivery over the Web. The first is to use the free RealEncoder; the second is to use the RealPublisher, which retails for US$49. The encoding process is identical with both tools, but the RealPublisher handles HTML and FTP for you.
If you dug out the clams for RealPublisher, all you need to do is enter the filepath and choose an audio codec (compression/de-compression algorithm), and your files will be automatically encoded and FTPed to your server.
If you opted for the free RealEncoder, the process is a bit more complicated. Once you've finished your masterpiece, export the animation as a .rm (RealMedia) file. Make sure to select the appropriate codec for the audio: If your animation is complex, pick a lo-fi codec that squashes the audio. By the same token, you can use a CD-quality audio codec if you've managed to keep your animation simple. Because RealFlash runs on Real's streaming media protocol, you'll also need to create a text "metafile" that points to the actual media clip. (This process, which is like the one used to configure all RealMedia files, is described in the
RealServer lesson.) FTP both files to your RealServer-equipped Web server, and you're ready to rumble. However, if a test-run fails to rumble right, double check your filepaths, and make sure you have all the proper plug-ins. To make sure you've got the right plug-ins and helper applications, go to the
ShockRave site and let its JavaScript/Java wizards guide you through the process.
Who Needs to Get Flashed?
RealFlash is all about animation (and little else). So, if you're a budding cartoonist looking to score a slot on Comedy Central, then RealFlash is worth it. But beyond that, I'm really not sure why anyone else would use it. Macromedia touts it as the perfect tool for advertisements, training courses, movie trailers, and karaoke. But why, unless said trailer or advertisement was animated, wouldn't you just use RealVideo? Don't feel compelled to invest in RealFlash just because it's the buzzword of the moment. Unless, of course, you want to do animation (in which case this product, in the words of the unsinkable Cartman, "kicks ass").
We hope you have enjoyed and learned some things from this tutorial. And now that we've given you the tools and tips, and dos and don'ts, it's up to you to go out there and do us proud with your own multimedia Web creation.
So shake a leg, rattle some cages, and get rolling!