Tradeoffs When Deploying Online Video

chnical considerations come into play when deploying• 320x240
online video content. It can be difficult to weed• 384x288
through all the techno-babble around video formats• 448x336
and codecs. Fortunately, the tools in the Flash• 512x384
platform make it relatively easy to set up videos andThese are excellent targets for downsizing such
compress them for online use. In addition, all of thevideos.
video software in the Adobe Creative Suite hasVideo quality can be, as you see, quite a balancing
features that support processing and delivering onlineact. It requires a careful examination of the content,
videos.the dimensions of the video image, the audio quality,
In fact, the meteoric rise of YouTube, Vimeo, andand other factors.
other hosting sites can be traced in part to Flash,Playback and Security
which is the best platform for delivering video toFlash videos can be delivered to viewers through.
different users, on various platforms, in multiple ways.• Embedded video
The Flash format is also widely supported across• Progressive download and playback
browsers, is fully customizable, and offers many• Streaming server
interactivity options.Embedded Video
This article summarizes the technical issues andThe well-known Shockwave Flash (.swf) video files
tradeoffs that you will encounter when developingare played directly by Flash Players. This
and deploying course videos, including:method’s advantages include:
• Image and audio quality• Playback requires only one file.
• Smooth playback• Videos and animations are easily synchronized.
• Content securityBut there are some disadvantages as well:
Quality• Files are limited to 16,000 frames.
Every video requires different compression levels,• Audio/video synchronization may prove
depending on its content. A typicalproblematic.
“talking-head” video, for instance, requires less• An entire video file must be downloaded before
compression than a fast-action video of an air show.playback begins.
Also, a video with a simple narrative is easier toThis method is usually practical only for videos that
compress than one that combines or layers aarea less than a minute long.
narrative and music track. Another key compressionProgressive Download and Playback
factor is the amount of motion in the video, plus howA standard called “Flash MX 2004” made it
much of it comes from the subject and how muchpossible to play externally stored video files. Its
from camera movements, zooms, and pans. This isproprietary .flv file format has built-in components for
an important factor because only the content thathandling them. The .swf file basically points to a
changes from frame-to-frame needs to be updatedspecific .flv file via a Flash Video Playback component,
by the player using keyframes. If nothing changeswhich has built-in features for playing, stopping,
between keyframes, less data must be compressedscrubbing, and other operations. This method’s
and sent to the viewer.advantages include:
Uncompressed video files are normally huge. For• Videos are easy to deploy and view, without
example, a 1-minute, 640x480-pixel movie with aspecial software or plug-ins.
stereo audio track could easily reach 1 GB in size. And• Videos start playing only when enough of their
delivering this low-resolution file uncompressed overfiles are downloaded.
the web won’t normally work well. There• Videos are streamed from the local disk, with no
usually will be playback problems, and people viewingperformance limitations on file size.
the video across the web will wait a long time forDisadvantages are:
the file to download. Therefore, even this small video• Video seeks can be done only to
will need to undergo both video and audioalready-downloaded keyframes. So viewers
compression, to play back acceptably on usercan’t advance through a video until its
computers.yet-to-be-viewed content has arrived in cache.
This compression is done through different• Content is downloaded to, and stored in, the
compression/decompression (codec) systems forviewer PC’s disk cache, from which it could be
video and audio. A video player reads thecopied or even re-distributed.
compressed information and decompresses it in realThis could be an solution for short videos. But if
time during playback. Several codecs are available forsecurity is a concern, it isn’t a good choice.
different purposes. And the compression schemesStreaming Server
they use have recently narrowed to a few standardFlash Media Server (FMS), and other such Streaming
options for online delivery.Servers, can deliver both live and on-demand videos
Video formats have also changed. High Definition (HD)with interactive options, buffering support, and built-in
displays offer much more pixel information per framesecurity. This method’s advantages include:
than non-HD displays. And until Flash Player 9 arrived,• Streaming videos start playing quicker.
Flash video were delivered through non-HD codecs.• “Live” video feeds are easily handled.
But with Flash Player 9, the H.264 codec became• Client-side and server-side API’s are
available for the MPEG-4 video format’savailable.
high-def quality.• Client-server interactions are controlled by Flash
CD-quality stereo audio also increases video-file size.itself, and video frames are transmitted only as they
So where possible, even it should be compressedare needed.
(using an appropriate codec), and converted to a• Dynamic buffering detects a client’s
Mono signal. And in most cases, users deal muchbandwidth and optimizes delivery quality around the
better with reduced audio quality than with reduceddynamic connection speed.
video quality.• Since the server stores all video data, the
These factors must all be considered when decidingclient’s Flash player can seek to any video
on the best video codec for a specific application.frame, at any time, through a simple server call.
During this step, you must also examine the pixel• Video content can be stored on multiple servers,
dimensions of the video image. Usually, it too mustto cope with potential bandwidth/demand issues. The
be trimmed down... to trim the file size. And whensame video can be sent to many simultaneous
this is done, you might even be able to boost theviewers, without bottlenecks. This strategy optimizes
video quality by switching to lower compressionbandwidth usage, because only the frames actually
levels or better compression methods. In effect,being watched are streamed to multiple clients.
cutting back the size of the video on-screen may• Content is never fully cached in viewers’
enable you to increase its quality through lower (orPCs, making this a highly secure approach. And extra
better) compression!security-management features are available.
For example, a client of ours had a 15-minuteThe only real disadvantage of streaming services can
“talking-head” movie of a man discussing abe their price. The cost of software, server storage,
business model. The image size was only 640x480support, and other factors might dissuade you. But
pixels... old-time VGA resolution. But even at this,plenty of providers offer these services at a
strong compression was needed to reduce the file toreasonable monthly rate. I’ve used Internap
an acceptable size for web transmission/playback.and Upstream Networks, which both offer a variety
And when I squeezed the dimensions of the imageof service plans and are simple to use. You can
down to 320x240 pixels, the strength of theupload your videos and send them to viewers’
compression could also be reduced, and the overallFlash players very easily.
image quality actually improved.So if you are concerned about video quality, playback
If (and when) you decide to reduce the sizes ofperformance, and security, Streaming Server is
your own videos, you’ll probably achieve theperhaps the best way to deploy your videos.
best results if you target a fairly standard displaySummary
size. Here, for example, are the best targetI shouldn’t need to convince anyone that
dimensions (in pixels) for web videos with a 4:3online videos benefit learners. The investment to
aspect ratio:deliver their content is worth it, because richer
• 128x96learning experiences come through videos… and not
• 192x144just text and images.
• 256x192