previous next

Chapter 2: Creating RealSystem Presentations

RealSystem G2 gives you the power to create compelling, complex multimedia presentations streamed over a network. It includes RealServer G2, the most advanced streaming media server available, along with RealPlayer G2 and RealPlayer Plus G2, the world's most popular desktop applications for playing streaming media clips. This chapter explains the basics of how you use RealSystem G2 to put together stunning multimedia presentations.

Tip
To experience the many possibilities of streaming media, download RealPlayer G2 from http://www.real.com, and visit http://realguide.real.com and http://www.real.com/showcase.

Streaming Multimedia Clips

A RealSystem presentation can consist of one clip, such as a single RealAudio clip, or multiple clips played in sequence or in parallel. RealSystem streams these presentations over a network. If you have ever downloaded a video or audio clip to your Web browser, you know that it can take several minutes to receive a clip that plays for a few seconds. In contrast, a clip streamed by RealServer G2 begins to play back almost immediately.

Choosing Media to Stream

RealSystem G2 gives you many possibilities for combining media clips into presentations. There are two basic types of file formats you can stream with RealSystem G2:

Audio

Chapter 4 discusses the audio formats you can stream:

Video

Chapter 5 describes the video formats you can stream:

Animation

RealFlash, which pairs Macromedia Flash animation with a RealAudio soundtrack, lets you stream animated presentations. See Chapter 6 for details.

Images

RealSystem presentations can include still images in these formats:

You can also assemble JPEG and GIF images in a RealPix presentation to create eye-catching slideshows with special effects such as dissolves and zooms. If you have RealPlayer G2 installed, you can view a RealPix sample.

Additional Information
Download RealPix Authoring Guide from http://service.real.com/help/library/encoders.html.

Text

RealText streams text at specific times within a presentation. You can use RealText to add subtitles to a video, for example, or lay out text from a live source to create a real-time stock ticker. If you have RealPlayer G2 installed, click here to see a static example of a RealText stock ticker.

Additional Information
Get RealText Authoring Guide, available at http://service.real.com/help/library/encoders.html.

Additional Streaming Formats

RealSystem's plug-in technology lets it stream nearly any type of clip or live event. Check http://www.real.com/devzone for the availability of plug-ins that let RealSystem stream additional video and audio formats, as well as exciting new types of media.

Clip Types Played by Previous RealPlayer Releases

Most RealPlayer users upgrade when a new version of RealPlayer becomes available. If you need to create presentations playable by older versions of RealPlayer, though, take into account RealPlayer and clip type compatibility. The table below indicates which RealPlayer versions, such as RealPlayer G2 or RealPlayer 5.0, can play which types of clips. RealPlayer 4.0, for example, plays only RealAudio and RealVideo.

RealPlayer Compatibility with RealSystem G2 Clips
Clip Type G2 5 4 3 2 1
RealAudio X X X X X X
RealVideo X X X
RealFlash X X
RealPix X
RealText X
Open formats such as WAV and AVI X
SMIL X

Note that this table covers general clip compatibility, not codec compatibility. Later versions of RealPlayer typically introduce new RealAudio and RealVideo codecs. Earlier versions of RealPlayer cannot play the new RealAudio G2 codecs, for example. So when planning for backwards compatibility, make sure you encode RealAudio or RealVideo clips with a codec available in your targeted versions of RealPlayer.

Additional Information
See also "Compatibility with Previous Releases". For more on codecs, see "Choosing RealAudio Codecs" and "Choosing RealVideo Codecs".

Using Editing and Production Tools

After choosing your streaming media formats, gather content and use your preferred editing tools to prepare your source files. Sound editing software, for example, lets you optimize an audio clip's dynamic range. With video editing software you can set the video's window size. RealSystem does not require you to use specific editing tools. Just ensure that your editing tools can save files in streaming formats, or in open formats you can easily convert to streaming formats.

Use Your Favorite Editing Tools to Prepare Media Files

RealNetworks Production Tools

If your editing program does not export files to the streaming format you want, you can use an encoding tool to convert the file. RealNetworks provides free, basic tools, and sells enhanced tools for converting popular sound and video formats to RealAudio and RealVideo. In addition, plug-ins for popular programs such as Adobe Premiere and Microsoft PowerPoint let you save presentations directly as RealVideo.

RealNetworks Production Tools Create Streaming Clips

Additional Information
Check http://www.real.com/products/tools/ for the tool that's right for you.

Additional Tools

RealSystem G2 provides virtually unlimited possibilities for streaming media. It does not lock you into a small set of streaming formats or a specific set of tools. In addition to new types of streaming media, RealNetworks' partners and other parties are continually producing new tools that help you put together sophisticated presentations.

Tip
Visit http://www.realstore.com to find out about the many tools available to help you create streaming media. Also check http://www.real.com/devzone frequently for information about new media types and tools.

Working with Timelines and Bandwidths

As you create streaming media clips, you need to consider how to keep the clips synchronized to a single presentation timeline. You also need to create presentations for specific bandwidths. These are two important, interrelated steps for producing streaming multimedia presentations.

Synchronizing Clips to a Timeline

Because a static Web page has no timeline, images and text download without a preset order. You may notice when browsing a Web page that one image may download partially, then another image begins to appear, then the first image completes, and so on. A Web page does not have an internal timeline, so exactly when a certain image gets to the browser doesn't matter. What matters is that the entire page downloads as soon as possible.

When you stream multimedia, though, clips have timelines and must flow smoothly once they've started to play back. Imagine how jarring it would be for the visual track of a video to play silently for a minute, then pause as its audio track catches up to it a minute later. When you stream multimedia, therefore, it's important that your presentation keeps clips synchronized.

Clip Timelines Coordinate with an Presentation Timeline

There are three aspects of timelines you may work with:

Keeping a Bandwidth Budget

Any presentation streamed over a network has a bandwidth budget because each person viewing streaming clips has a network connection with a top speed, such as 28.8 Kilobits per second. Even when your clips are perfectly synchronized, the presentation may stall if at some point it requires more bandwidth than the viewer has available. This happens because RealServer needs to transmit at a certain point in the timeline more data than can get through the network connection to RealPlayer.

When you develop a streaming media presentation, you need to consider the bandwidth constraints your audience will have. This is crucial for creating presentations that start to play back quickly and flow smoothly. Web users don't like to wait more than a few seconds for something to happen after they click a link. And if your clips stop and restart frequently, viewers are not likely to stay watching. Fortunately, RealSystem offers sophisticated features that let you create a single presentation that looks good over a slow connection and great over a fast one.

Additional Information
Chapter 3 provides the details for considering bandwidth in streaming presentations.

Writing a SMIL File

With your clips in their streaming formats, you put your presentation together with SMIL. Pronounced "smile," SMIL stands for "Synchronized Multimedia Integration Language." A SMIL file is not necessary to stream just one clip. But when you have multiple clips, SMIL's simple mark-up language specifies how and when the clips play.

Advantages of Using SMIL

Here are some of the many advantages of using SMIL:

Hosting a Presentation on a Server

When your presentation is complete, you move the streaming media clips and SMIL file to RealServer G2 or a Web server for delivery. You can play back your presentation in RealPlayer or directly in your Web page. The latter option, which uses RealPlayer's Netscape plug-in or ActiveX Control, requires mark-up tags in your Web page that specify how the presentation displays.

Additional Information
Chapter 10 explains how to link your Web page to a RealSystem presentation hosted on a server. For information on embedding a presentation in your Web page, see Chapter 8.

Using RealServer G2 or a Web Server

RealServer G2 is the preferred host for RealSystem presentations. Designed specifically to stream multimedia over networks, RealServer keeps multiple clips synchronized and uses many advanced features to ensure that clips stream smoothly under adverse network conditions. Although you can use a standard Web server to host some streaming presentations, you will not get the results you'll experience when using RealServer.

Tip
If you don't have RealServer G2 available, check out the hosting services of Real Broadcast Network (RBN) at http://www.real.com/rbn. RBN provides full services for encoding, hosting, and broadcasting events to small or large audiences.

Web Server HTTP and RealServer RTSP

A Web server uses the HTTP protocol, as you can see in Web page URLs that begin with http://. The HTTP protocol downloads files without regard to timelines, making clips with timelines more likely to stall. Although RealPlayer can play back clips as they download, the HTTP protocol does not give RealPlayer the ability to adjust the download to compensate for changing network conditions.

In contrast, URLs for media clips streamed by RealServer begin with rtsp://, because RealServer uses Real-Time Streaming Protocol (RTSP), which is designed specifically to stream clips that have timelines. RTSP lets RealPlayer G2 and RealServer G2 exchange information about a presentation in progress and adjust the streaming data to keep the clips playing smoothly.

RealServer RTSP Streaming vs. Web Server HTTP Downloading

When two clips play side-by-side, for example, RealPlayer uses RTSP to communicate with RealServer about each clip's progress, indicating how much data it needs to keep the presentation synchronized. RealServer can then adjust the data flow, reducing low priority data if necessary to ensure that crucial data gets through. Communication like this is not possible when a Web server sends clips to RealPlayer.

You don't need to know the specifics of RTSP to create great presentations. You just need to ensure that RealServer G2 is available to stream your clips. If only a Web server is available, you can still create multimedia presentations, but you won't be able to use all RealSystem features. In either case, make sure you have a good understanding of RealSystem G2 production as described in this manual before you start creating your clips. This helps ensure that your presentation harmonizes with the server that hosts it.

Additional Information
For information on RealSystem features that do not work with Web server hosting, read "Limitations on Web Server Playback".

Launching a Presentation

Because some browsers may not be configured to launch RealPlayer when they receive a SMIL file or a media clip, you need to ensure that RealPlayer launches when a visitor to your Web page clicks the link to your presentation. When RealServer G2 hosts your presentation, you simply include a Ramgen parameter in the Web page URL to launch RealPlayer.

Additional Information
For more on Ramgen, see "Streaming Clips from RealServer G2".

When a Web server hosts your presentation, you launch RealPlayer by linking your Web page to a Ram file instead of a SMIL file or a media clip. When the browser receives the Ram file, it launches RealPlayer and gives it the Ram file, which contains the URLs to your media clips or SMIL file. RealPlayer uses this information to request the presentation from the Web server. Because the Ram file is a small text file, this interaction takes little time.

Additional Information
For more on Web server playback, see "Playing Clips from a Web Server".

Working with the RealServer Administrator

Because earlier versions of RealServer do not handle SMIL files and many of the RealSystem G2 clip types, make sure you have RealServer G2 available to host your presentation. When you host a presentation on RealServer G2, the RealServer administrator will give you the basic URL parameters, such as the server address and its RTSP and HTTP port parameters. The RealServer administrator can also set up many content delivery and security features, such as:

Using RealNetworks Logos

When you create RealSystem G2 content, RealNetworks encourages you to add RealSystem G2 logos to your Web page. You can provide a RealPlayer G2 download link button, for example, so that users can get RealPlayer G2 from RealNetworks' site and view your content. You can read RealNetworks' trademark policy and get RealSystem G2 and RealPlayer G2 logos from http://www.real.com/company/guide/index.html.

Playing Clips Back Locally

Although the main function of RealSystem is to stream media clips over a network, you can also create presentations that play back from a user's local machine. An example is a multimedia-enhanced book, like this online manual, written with HTML and containing links to RealSystem clips. Users then download all the book files to their local machines and play back the media clips in RealPlayer.

In this case, you produce clips as described in this manual, except that you don't have to target specific network bandwidths. When you put the presentation together, you simply use URLs that point to clips on the user's machine instead of on RealServer or a Web server.

Additional Information
For more on local URLs, see "Linking to Local Clips".

Viewing a Presentation with RealPlayer

With RealPlayer G2 installed, you simply click the presentation link in your Web page to view the media clips. RealPlayer buffers the clips for a few seconds, then begins to play the presentation back in its own window or your browser. RealPlayer downloads are available from RealNetworks at http://www.real.com.

Protecting Copyrighted Content

Unlike a Web browser, RealPlayer does not store clips in a disk cache or allow users to copy or download still images. This helps you keep copyrighted material secure when you stream clips from RealServer. Optionally, RealNetworks tools let you encode video and audio clips so that viewers can record the streamed clips to their local machines.

Downloading RealPlayer Plug-Ins

RealPlayer can play virtually any streaming clip because of its plug-in technology. RealPlayer plug-ins function like Web browser plug-ins. When RealPlayer receives a streaming RealVideo clip, for example, it uses its RealVideo plug-in to play the clip on your computer screen. If RealPlayer doesn't have a plug-in needed to play a certain streaming clip, it downloads that plug-in from the Internet.

RealPlayer Downloading a New Plug-in

Plug-in downloading lets you confidently develop presentations using the latest streaming file types available for RealSystem. If visitors to your Web page don't have a plug-in needed to play your presentation, RealPlayer quickly downloads the plug-in and can play the presentation without having to restart. Because RealPlayer is the world's most popular application for playing streaming media, you can be sure that your RealSystem G2 presentation can reach the widest audience possible.

Additional Information
For information about developing RealPlayer plug-ins or building RealPlayer capabilities into an application, visit http://www.real.com/devzone/realdevelopers/.


Copyright © 1998-1999 RealNetworks
For information on RealNetworks' technical support, click here.
Comments on this document? Click here.
This file last updated on 06/21/99 at 10:44:30.
previous next