Considerations for Streaming Media


 Other resources on streaming media

[ http://help.unc.edu/?id=5984 ] Why stream audio or video files?

[ http://help.unc.edu/?id=3935 ] Streaming Media Quick Start

[ http://help.unc.edu/?id=3941 ] Webcasting with Mediaserv.unc.edu (campus streaming server)

 File size and quality issues

One of the first things you will notice when working with media files is that they are big. This is especially true of sound and video files. Video can be thought of as a series of images that have sound associated with them, and each of these images is comprised of pixels that all must be recorded as data. Although new codecs are continually being developed that reduce file sizes by accounting for these pixels in inventive ways, we can expect video file sizes to continue to grow as the demand for larger and higher quality images increases. And so in the battle to provide video and audio, content designers need to make a compromise. Reducing the size of the files with compression or other techniques usually results in reduced quality. How much quality can you afford to sacrifice? To correctly answer the question of quality versus file size consider the following:

  • Intended Audience

  • Compression Format

  • Quality Issues

  • Bandwidth Available

 Intended Audience

When building media content for network distribution, it's important to tailor content to fit the needs of your users. If your target audience has robust connections and plenty of processing power (i.e., newer and more powerful computers), the use of compression may not be important. In contrast, if the target audience has low bandwidth access and limited processing power, heavily compressed information may be more appropriate.

What are the needs and expectations of the audience? Is the moving image essential for the message, or will an audio clip be sufficient?

 Compression Format

One of the advantages of digital information is the ability to compress data. In most cases this compression comes at the expense of quality. We are seeing increasing consolidation of standards as rival media companies move to support each others formats, but ultimately your choice of a compression format will restrict viewers in certain ways. Does your audience operate in a primarily PC-based environment such as we currently have at UNC, or do they use Macs? Do they prefer RealPlayer, or WindowsMedia player? Will this video be part of a larger web-based environment that might entail the use of Flash? Given how much time is involved in encoding media and how difficult it can be (if not impossible) to convert streaming media clips to other formats, it is best to address questions about compression format at the outset of a project.

 Quality Issues

All of the methods of reducing the file size of media files come at a price. The reduction of frame rates, the reduction of image size, and the addition of heavy compression can make a video clip a blurry mess. Somewhere there is a level of compromise that must be reached. Without any compression the audience for the files may be so limited it loses its value. In contrast, a file with extreme compression may not be clear enough to convey its message.

 Bandwidth Available

The amount of bandwidth available for a target audience is one of the biggest factors in deciding on the makeup of content. Bandwidth limitations can eliminate a vast part of the potential audience if content is not created carefully. Media meant for wide area distribution over the web will face bandwidth limitations that won't be present on an intranet. Content intended for end users with modem speed connections must be reduced in quality so much that it could be useless for the intended purpose.

Designers looking to provide smooth video in a streaming format have a good variety of options when delivering content over an intranet with plenty of available bandwidth and robust machines for playback. When trying to deliver the same content over networks with limited bandwidth and devices with limited resolution and processing capabilities (such as hand-held devices), the limitations make the job very difficult. The best chance at success would be a very small video window with significant compression. The good news is that some streaming solutions have come up with smart compression schemes that can produce relatively good quality audio for connections of 28.8 Kbps. They even support stereo audio at these speeds.

One of the biggest problems with bandwidth is that the level of available bandwidth changes with network traffic. A file that streams nicely across the country late at night may not be so smooth mid-morning. A common practice for combating these limitations is to create a variety of clips at different quality and compression levels. This way the clients with high bandwidth connections can go for the quality while the bandwidth-challenged can choose a more compressed version.

 Multimedia and the need for bandwidth

The issue of bandwidth is an important one. In the most basic sense bandwidth can be defined as the amount of information that can be moved at one time. A good analogy is that of water passing through a funnel. If the funnel has a wide opening at the bottom a lot of water can pass through at once. If you fill the funnel at a rate faster than it can pour out the bottom, then you've exceeded the available bandwidth. The TCP/IP protocols used to transfer data on the Internet are able to route the data to its destination even if the bandwidth is exceeded. It does this by holding the data until a route can be found, and then it checks to ensure that all of the data arrived.

If the bandwidth is limited, then the transmission of data can be delayed. This leads to long waits for the client as information is downloaded. In the case of streaming video or audio this becomes a crucial point because the player is interpreting the data stream as it is received. If the information is delayed the playback will either skip over the lost data packet or wait for its buffer to fill with enough packets to continue. Thus the lower bandwidth connection limits the capability to present information.

The need for an alternative solution to traditional downloading of video or audio files drove the creation of streaming technologies. The size of the files made them painfully slow to wait for in limited bandwidth situations. Even in a perfect world, with modems achieving the maximum speeds, 100 kilobytes would take just under 30 seconds to download.

 Estimated Transfer Rates

File Size 1 MB = 1,048,576 bytes

Method of Transfer

Time to Transfer (in seconds)

1 MB

14.4 modem

834

1 MB

28.8 modem

402

1 MB

33.3 modem

462

1 MB

64k ISDN

50

1 MB

Cable modem

1

1 MB

10Mbps ethernet

.1

Copyright 2002-2007 The University of North Carolina at Chapel Hill.

Creative Commons License
This work is licensed under a Creative Commons Attribution 3.0 United States License.

Post a Comment

This form is for document feedback. If you need technical assistance, and are affiliated with UNC-Chapel Hill, please Submit a Help Request
Optional
Optional
So that we may contact you.
Do not fill out this form, this is a spam trap.
Top
University of North Carolina - Chapel Hill