Professional Documents
Culture Documents
Opticodec-PC Manual (Press)
Opticodec-PC Manual (Press)
OPTICODEC-PC
1010
AAC/HE AAC/aacPlus Audio Streaming Encoder
®
MANUAL:
Please review the Manual, especially the installation section, before installing the software.
You should observe the following precautions to avoid reconditioning charges in case you later wish to return the unit to
your dealer:
Note the packing technique and save all packing materials. It is not wise to ship in other than the factory carton. (Re-
placements cost $35.00).
Packing
When you pack the software for shipping:
Wrap the unit in its original plastic bag to avoid abrading the paint.
If you are returning the unit permanently (for credit), be sure to enclose:
The Manual(s)
The Registration/Warranty Card
The installation CD
Trouble
If you have problems with installation or operation:
(1) Check everything you have done so far against the instructions in the Manual.
(2) Check the other sections of the Manual (consult the Table of Contents and Index) to see if there might be some sug-
gestions regarding your problem.
(3) After reading the section on Factory Assistance, you may call Orban Customer Service for advice during normal Cali-
fornia business hours. The number is +1 510 351-3500.
Technical Manual
OPTICODEC-PC
1010
AAC/HE AAC/aacPlus Audio Streaming Encoder
®
Several years ago, one of the most successful radio stations in North America was
CKLW in Windsor/Detroit. Innovative, technically superb audio complemented “The
Big 8”’s excellent execution of their Top 40 program format to give the station a big
signature sound that I have never forgotten. Its striving for perfection has been an
inspiration and has influenced the goals, designs, and sounds of many Orban Opti-
mod products to this day.
If it weren’t for CKLW’s innovative audio texture and the chances that it took to ex-
pose the world to many great artists, these discoveries would never have become
part of the radio and music history that they now are. Just as many of these great
artists have moved on from creating hit music to fusing their old styles with newer
forms such as smooth jazz, Orban is evolving by giving the world new viable broad-
cast technology that build on its legacy.
I dedicate this technical manual to CKLW and those who made it the reality it once
was, and to Leo, my faithful dog, who was beside me, night after night and day af-
ter day in the long process of preparing this document.
As the world moves on embracing innovative ways to deliver audio to an audience,
“ladies and gentlemen, the beat goes on…” – Bill Drake, radio programmer
– Greg J. Ogonowski
Table of Contents
Section 1
Introduction
If the bookmarks are not visible, click the “Bookmarks” tab on the left
side of the Acrobat Reader window.
This manual has a table of contents. To search for a specific word or phrase, you can
use the Adobe Acrobat Reader’s text search function.
Overview
Opticodec-PC is the first standards-based MPEG-4 AAC/aacPlus™, AAC/HE AAC, ISMA
compliant and SHOUTcast/Icecast compatible encoding software for high quality
streaming audio. Opticodec-PC offers the most important feature that the basic net-
caster is looking for in an encoding product — entertainment-quality sound at eco-
nomical bitrates.
The software lets streaming providers supply content encoded with the Coding
Technologies® AAC/aacPlus codec, widely acknowledged as offering the highest
available audio quality at the lowest possible bitrate. Streams encoded with Optico-
dec-PC can be experienced through RealPlayer® 10, QuickTime 6, Winamp 5.05, vari-
ous Ethernet players, and 3G wireless devices. Streams can automatically list them-
selves on www.opticodec.net, a directory service for Opticodec-PC streams.
Opticodec-PC offers a choice of a standards-based RTSP/RTP streaming protocol for
use with streaming servers (such as the free enterprise-class, scaleable Darwin
Streaming Server from Apple) or the HTTP/ICY streaming protocol (for use with
SHOUTcast or Icecast Servers). Both server types are non-proprietary and available
for most computer platforms, and some servers are open-source.
Professional radio broadcasters would never consider going on the air without audio
signal processing. They consider it a vital component of the program content, con-
tent being what attracts listeners. This carefully crafted content is what holds listen-
ers and keeps them coming back. Broadcast ratings services have proven this true for
over 30 years. Over that period, Orban’s patented Optimod technology has helped
radio and television broadcasters everywhere shape their sound to grab and hold
their listening audiences.
1-2 INTRODUCTION ORBAN MODEL 1010
AUDIO Internet
INPUTS
ANALOG 1
DIGITAL 1
DIGITAL 2
Microphone Network
Pre-Amp
Mixer Metadata
To Server From Encoder To Internet
Streaming Server
OPTICODEC-PC
Streaming Audio
PCI Sound Card
OPTIMOD-PC
TCP/UDP/IP
TCP/UDP/IP
QTSS/DSS
Application
WAV OUT
WAV OUT
Encoder
WAV IN
WAV IN
Player
Figure 1-1: Typical streaming infrastructure where program material is sourced from a play-
out system application with live assist
OPTICODEC-PC INTRODUCTION 1-3
AUDIO Internet
From INPUTS
Broadcast
ANALOG 1
DIGITAL 1
DIGITAL 2
Program Line
Network
Metadata
To Server From Encoder To Internet
Streaming Server
OPTICODEC-PC
Streaming Audio
PCI Sound Card
OPTIMOD-PC
TCP/UDP/IP
TCP/UDP/IP
QTSS/DSS
WAV OUT
Encoder
WAV IN
Figure 1-2: Typical streaming infrastructure where program material is sourced from a
radio station on-air studio
AUDIO Internet
INPUTS
ANALOG 1
DIGITAL 1
DIGITAL 2
E t he r n e t
Streaming Server
OPTICODEC-PC
Streaming Audio
TCP/UDP/IP
TCP/UDP/IP
QTSS/DSS
Encoder
WAV IN
Streaming Server
OPTICODEC-PC
Streaming Audio
TCP/UDP/IP
TCP/UDP/IP
SHOUTcast
Encoder
localhost 127.0.0.1:8000
WAV IN
Streaming Server
OPTICODEC-PC
Streaming Audio
PCI Sound Card
Playout System
OPTIMOD-PC
TCP/UDP/IP
TCP/UDP/IP
WAV OUT
WAV OUT
Encoder
Icecast2
localhost 127.0.0.1:8010
WAV IN
WAV IN
Figure 1-3: Typical multiple streaming encoder/server infrastructure where program ma-
terial is sourced from a player application
1-4 INTRODUCTION ORBAN MODEL 1010
Opticodec-PC offers the best available tradeoff between audio quality and bitrate.
Compared to MP3, Opticodec-PC provides a better than 60% improvement in audio
quality versus bitrate, reducing network streaming bandwidth requirements and
costs accordingly. At 32 kbps, Opticodec-PC streams offer close to FM quality, with-
out the phasey, watery character of other codecs operating at this bitrate. Many lis-
teners prefer the audio quality of 48 kbps streams to FM.
There is a vast Internet and 3G wireless audience waiting for the entertainment-
quality audio that Orban Opticodec-PC and Optimod-PC can provide.
PE Version
COMPUTER
Minimum System Requirements:
This specification denotes the minimum CPU power necessary to control one
OPTIMOD-PC card with external audio sources and one instance of the OPTICODEC-
PC encoder. Additional cards, audio player and/or encoder software will require addi-
tional CPU power.
Processor and Chipset: This software has been tested and qualified with Intel CPUs and
chipsets.
Sound Device: An Optimod-PC 1100 audio processor / sound card must be installed in the
host computer in order to run the Opticodec-PC PE application.
Interface: Graphical User and Command-Line, batchable
ENCODER
Codec Technology: MPEG-2/MPEG-4 AAC/HE AAC /aacPlus v2 — Coding Technologies®
Sample Rates: 24 kHz, 32 kHz, 44.1 kHz, 48 kHz
Bitrates: 8, 10, 12, 16, 20, 24, 32, 40, 48, 56, 64, 80, 96, 128, 160, 192, 224, 256, 320 kbps
Number of Channels: 1-Mono / 2-Stereo
Coding Options: General; Voice
Number of Encoder Instances per Computer: Limited only by available CPU power.
STREAMING
Transport Protocols: RTSP/RTP, HTTP/ICY SHOUTcast, HTTP/ICY Icecast
RTP Payload Format: ISMA (audio/mpeg4-generic) / 3GPP/3GPP2 (audio/MP4A-LATM)
Method: Unicast RTP/TCP (External RTSP Server)
OPTICODEC-PC INTRODUCTION 1-5
Transmission: Automatic Unicast – Announce – Session Description
Protocol (.sdp) file per stream generated and transferred to server
Multicast RTP/UDP (Internal RTSP Server)
TTL: 255 default
Unicast HTTP/TCP
Packet Size: 1450 bytes plus IP Header Bytes = Total < 1500 byte MTU
Connection Fallback: Automatic Reconnection upon Connection Failure
Stream Information: Stream Name and Description; all server supported metadata
Metadata Input: Text File, Serial, Ethernet, Nullsoft Winamp
Server Requirements: Darwin Streaming Server 5.0 and later, QuickTime Streaming
Server 5.0 and later, Nullsoft SHOUTcast DNAS 1.9.4 and later, Icecast2 2.0.2 and later
Server Platform: Available for Microsoft Windows 2000 Professional/Server, Windows 2003
Server, Windows XP Professional, Apple Mac OS X 10.2.8 and later Server and Proxy,
Red Hat Linux 9, FreeBSD, Sun Solaris 9
LE Version
COMPUTER
Minimum System Requirements:
This specification denotes the minimum CPU power necessary to control one
OPTIMOD-PC card with external audio sources and one instance of the OPTICODEC-
PC encoder. Additional cards, audio player and/or encoder software will require addi-
tional CPU power.
Processor and Chipset: This software has been tested and qualified with Intel CPUs and
chipsets.
Sound Device: Opticodec-PC LE will operate with any Windows-qualified sound card capa-
ble of the required sample rate and bit depth.
Interface: Graphical User and Command-Line, batchable
ENCODER
Codec Technology: MPEG-2/MPEG-4 AAC/HE AAC /aacPlus v2 — Coding Technologies®
Sample Rates: 24 kHz, 32 kHz, 44.1 kHz, 48 kHz
Bitrates: 8, 10, 12, 16, 20, 24, 32 kbps
Number of Channels: 1-Mono / 2-Stereo
Coding Options: General; Voice
Number of Encoder Instances per Computer: 1.
1-6 INTRODUCTION ORBAN MODEL 1010
STREAMING
Transport Protocols: RTSP/RTP, HTTP/ICY SHOUTcast, HTTP/ICY Icecast2
RTP Payload Format: ISMA (audio/mpeg4-generic)
Stream Information: Name and Description
Method: Unicast RTP/TCP (External RTSP Server)
Transmission: Automatic Unicast – Announce – Session Description
Protocol (.sdp) file per stream generated and transferred to server
Multicast RTP/UDP (Internal RTSP Server)
TTL: 255 default
Unicast HTTP/TCP
Packet Size: 1450 bytes plus IP Header Bytes = Total < 1500 byte MTU
Connection Fallback: Automatic Reconnection upon Connection Failure
Stream Information: Stream Name and Description, all server supported metadata
Metadata Input: Text File, Serial, Ethernet, Nullsoft Winamp
Server Requirements: Free Darwin Streaming Server 5.0 and later, QuickTime Streaming
Server 5.0 and later, Nullsoft SHOUTcast DNAS 1.9.4 and later, Icecast2 2.0.2 and later
Server Platform: Available for Microsoft Windows 2000 Professional/Server, Windows 2003
Server, Windows XP Professional, Apple Mac OS X 10.2.8 and later Server and Proxy,
Red Hat Linux 9, FreeBSD, Sun Solaris 9
These specifications are subject to design improvements and changes
without notice.
Opticodec-PC TE, Test Edition is available upon request for testing en-
coder/server connectivity. With limited functionality, it allows testing
network connectivity and authentication to verify server configuration.
Applications
Putting your audio content on the Internet or your LAN can be divided into three
main steps: preprocessing the audio signal, encoding it, and streaming it to the net-
work.
High quality streams begin with the cleanest possible audio source material. For best
results, all material should be sourced in digital form to prevent any potential distor-
tion from occurring in the analog-to-digital conversion process. CDs should be digi-
tally extracted (ripped) to a PCM audio format if the digital storage system allows
this, or to a 384 kbps or higher MPEG-1 Layer 2 format. Avoid Layer 3, as well as
other codecs. More information on this topic can be obtained from the Orban publi-
cation, “Maintaining Audio Quality in the Broadcast Facility,” available as a free
download from http://www.orban.com.
Preprocessing
For optimum sound, loudness, and peak control, you should digitally preprocess the
Internet audio signal to condition it prior to encoding. The appropriate preprocess-
ing has much in common with the preprocessing required for DAB, HD Radio™, CD
mastering, or digital satellite.
OPTICODEC-PC INTRODUCTION 1-7
Preprocessing is necessary for several reasons. Automatic gain control and equaliza-
tion achieve a consistent sound, while accurate peak control maximizes loudness.
Preprocessing each program element before it is stored on a playout system is not as
effective as preprocessing the mixed audio on the program line immediately before
it is streamed. The latter technique maximizes the smoothness of transition between
program elements and makes voice from, announcers, or presenters merge smoothly
into the program flow, even if the announcer is talking over music.
Peak clipping sounds terrible in digital systems because these systems do not rely on
pre-emphasis/de-emphasis to reduce audible distortion. Instead of peak clipping, the
best sounding processors use some form of look-ahead limiting. The carefully peak
limited signal is then digitally connected to Opticodec-PC to preserve the audio sig-
nal waveform integrity.
Orban Optimod-PC (recommended for Opticodec PC LE and required for Opticodec-
PC PE to operate) is a PCI sound card with on-board digital signal processing that is
suitable for both live streaming and on-demand programming. Its three on-board
Motorola DSP56362 DSP chips provide a loud, consistent sound to the consumer by
performing automatic gain control, equalization, multiband gain control, and peak-
level control. Optimod-PC’s sound card emulation allows it to talk through the oper-
ating system via the Windows’ WAVE mechanism to Opticodec-PC, running on the
same computer that houses Optimod-PC.
While there are several types of audio processors available other than Optimod-PC,
conventional AM, FM, or TV audio processors that employ pre-emphasis/de-emphasis
and/or clipping peak limiters are most inappropriate for use with perceptual audio
coders such as Opticodec-PC. The pre-emphasis/de-emphasis limiting in these devices
unnecessarily limits high frequency headroom. Further, their clipping limiters create
high frequency components— distortion—that the perceptual audio coders would
otherwise not encode. None of these devices has the full set of audio and control
features found in Optimod-PC.
Without Optimod-PC processing, audio can sound dull, thin, or inconsistent in any
combination. Optimod-PC’s multiband processing automatically levels and re-
equalizes its input to the “major-market” standards expected by the mass audience.
Broadcasters have known for decades that this polished, produced sound attracts
and holds listeners.
You can expect a very large increase in loudness from Optimod-PC processing by
comparison to unprocessed audio (except for audio from recently mastered CDs,
which are often overprocessed in mastering). Broadcasters generally believe that
loudness relative to other stations attracts an audience that perceives the station as
being more powerful than its competition. We expect that the same subliminal psy-
chology will hold in netcasting too.
Remote Access & Control:
Optimod-PC has the unique ability to be remotely accessed and controlled over any
TCP/IP network. After the appropriate security and administration setup, Optimod-
PCs I/O mixer, processing parameters, and presets can be controlled from anywhere,
including from other applications.
1-8 INTRODUCTION ORBAN MODEL 1010
Mixing Facilities:
In addition to sound card and audio processing functionality, Optimod-PC is also a
capable mixer, having one stereo analog input, two AES3 / SPDIF digital inputs
(which can accept any sample rate from 32 to 96 kHz), and one WAVE input (to ac-
cept Windows sound sources), all of which can be mixed. Thanks to onboard sample
rate converters, the two digital inputs can accept and mix asynchronous sources,
which may have different sample rates. In practice, the four inputs might be used
for a local feed, a network feed, a voice channel, and a wave player, making Opti-
mod-PC the heart of a “desktop netcasting studio.” In many cases, this versatility
allows you to avoid use of an external mixing desk, thereby keeping the audio path
100% digital. The wave player could be any one of a number of broadcast-oriented
automated playout systems.
Using Optimod-PC’s separate “processed” and “unprocessed” mixers, any of the in-
puts in any combination can be processed or passed directly to the input of Optico-
dec-PC without processing—you can always choose how much processing (if any) to
apply to the audio. These features allow local program insertion, such as those re-
quired in order to address the broadcast rights issues of many commercials, pro-
grams, and events.
Because it uses Microsoft DirectSound Drivers, Optimod-PC is able to play multiple
audio streams from multiple audio sources, eliminating the need for multiple or
multi-channel sound devices for professional playout systems used in automation
mode. Given the CPUs available today, MPEG1 Layer 2, and/or Layer 3 decoding can
occur at the operating system level, eliminating the requirement for expensive
hardware-based MPEG decoder sound devices.
Encoding
Opticodec-PC receives the output of Optimod-PC, which looks like a sound card to
the operating system. Opticodec-PC then reduces the bitrate of the processed signal
by applying it to an AAC or aacPlus perceptual coder and packetizing the resulting
data for an Ethernet network. When the encoder connects to the streaming server,
the encoder generates the Session Description Protocol file and transfers it auto-
matically to the streaming server.
The most basic use of Opticodec-PC is to create a single stream at a single bitrate.
However, the output of a given Optimod-PC card can feed several Opticodec-PC en-
coders running at different bitrates to service different audience bandwidths; all of
these streams will carry the same audio program.
If you need more than one audio program stream, use multiple Optimod-PC cards
(some of which can be housed in one or more PCI expansion chassis). If you need
multiple streams at different bitrates, configure each Optimod-PC card to feed its
own array of Opticodec-PC PE encoders.
Each installation of Opticodec-PC PE is keyed to one Optimod-PC card, so
running more than one audio program stream requires one Opticodec-PC
PE installation per audio program stream even if all of these installations
are on one computer. However, a single Opticodec-PC installation can
create multiple streams at different bitrates if all of these streams contain
the same audio program.
OPTICODEC-PC INTRODUCTION 1-9
About Perceptual Coders
CD-quality audio (16-bit words at 44.1 kHz sample rate) requires 705,600 bits per
second per channel, which is far too high for economical streaming. Perceptual cod-
ing reduces the number of bits per second necessary to transmit a high-quality audio
signal.
Perceptual coders exploit models of how humans perceive sound. In particular, per-
ceptual coders exploit the phenomenon of psychoacoustic masking. This means that
louder sounds will “drown out” (or “mask”) weaker sounds occurring at the same
time, particularly if the frequency of the louder sound is close to the weaker sound’s
frequency. Loud sounds not only mask weak sounds occurring simultaneously in
time (spectral masking), but can also drown out weak sounds occurring a few milli-
seconds before the loud sound starts or a few milliseconds after it stops (temporal
masking).
The basic principle of perceptual coding is to divide the audio into frequency bands
and then to code each frequency band with the minimum number of bits that will
yield no audible change in that band. Reducing the number of bits used to encode a
given frequency band raises the quantization noise floor in that band. If the noise
floor is raised too far, it can become audible and cause artifacts.
A second major source of artifacts in codecs is pre- and post-echo caused by ringing
of the narrow bandpass filters used to divide the signal into frequency bands. This
ringing worsens as the number of bands increases, so some codecs may adaptively
switch the number of bands in use, depending on whether the sound has significant
transient content. This ringing manifests itself as a smearing of sharp transient
sounds in music, such as those produced by claves and wood blocks.
Psychoacoustic Models
Perceptual coders exploit complex models of the human auditory system to estimate
whether a given amount of added noise can be heard. They then adjust the number
of bits used to code each frequency band such that the added noise is undetectable
by the ear if the total “bit budget” is sufficiently high. Because the psychoacoustic
model in a perceptual coder is an approximation that never exactly matches the be-
havior of the ear, it is desirable to leave some safety factor when choosing the num-
ber of bits to use for each frequency band. This safety factor is often called the
“mask-to-noise ratio,” measured in dB. For example, a mask-to-noise ratio of 12 dB
in a given band would mean that the quantization noise in that band could be
raised by 12 dB before it would be heard. (That is, there is a safety margin of two
bits in that band’s coding.) For the most efficient coding, the mask-to-noise ratio
should be the same in all bands, ensuring that the sound elements equitably share
the available bits in the transmission channel.
Increasing the number of bits per second in the transmission always improves the
mask-to-noise ratio. It is important to allocate extra bits to the transmission if the
audio will be processed after it has been decoded at the output of the perceptual
coder (for example, by a second “cascaded” perceptual coder, or by a multiband au-
dio processor such as Optimod-PC). Done correctly, this increased bitrate will raise
the mask-to-noise ratio far enough to prevent downstream processing from causing
the noise to become unmasked.
Because it occurs in narrow frequency bands, unmasked noise does not
sound like familiar white noise at all. Instead, it most often sounds like
1-10 INTRODUCTION ORBAN MODEL 1010
The Coding Technologies “Spectral Band Replication” (SBR) process can be added to
almost any codec. This system transmits only lower frequencies (for example, below
8 kHz) via the codec. The decoder at the receiver creates higher frequencies from
the lower frequencies by a process similar to that used by “psychoacoustic exciters.”
1ch-Mono 8 24 8.3
Table 1-1: aacPlus Audio Bandwidth vs. Bitrate, Sample rate, and Channel Mode
1-12 INTRODUCTION ORBAN MODEL 1010
1ch-Mono 16 24 5.2
1ch-Mono 20 24 7.2
2ch-Stereo 24 24 6.6
2ch-Stereo 28 24 6.6
2ch-Stereo 32 24 6.6
Table 1-2: AAC Audio Bandwidth vs. Bitrate, Sample rate, and Channel Mode
OPTICODEC-PC INTRODUCTION 1-13
A low-bandwidth signal in the compressed bit stream provides “hints” to modulate
these created high frequencies so that they will match the original high frequencies
as closely as possible. Adding SBR to the basic AAC codec creates aacPlus, which of-
fers the best subjective quality currently available at bitrates below 128 kbps. At bi-
trates below 128 kbps, full subjective transparency cannot be achieved at the cur-
rent state of the art, yet the sound can still be very satisfying. (In the phraseology of
the ITU 1 to 5 subjective quality scale, this means that audible differences introduced
by the codec are judged by expert listeners to be “detectable, but not annoying.”)
Coding Technologies’ aacPlus v2, the latest in MPEG-4 Audio and previously known
as "Enhanced aacPlus," is aacPlus coupled with the new MPEG Parametric Stereo
technique created by Coding Technologies and Philips. Where SBR enables audio
codecs to deliver the same quality at half the bitrate, Parametric Stereo enhances
the codec efficiency a second time for low-bitrate stereo signals. Both SBR and Pa-
rametric Stereo are backward- and forward-compatible methods to enhance the ef-
ficiency of any audio codec. As a result, aacPlus v2 delivers streaming and
downloadable 5.1 multichannel audio at 128 Kbps, near CD-quality stereo at 32
Kbps, excellent quality stereo at 24 Kbps, and great quality for mixed content down
to 16 Kbps and below.
MPEG standardized Coding Technologies’ aacPlus as MPEG-4 HE AAC (MPEG ISO/IEC
14496-3:2001/AMD-1: Bandwidth Extension). With the addition of MPEG Parametric
Stereo (MPEG ISO/IEC 14496-3:2001/AMD-2: Parametric coding for high quality au-
dio), aacPlus v2 is the state-of-the-art in low bitrate open standards audio codecs.
The Coding Technologies codecs provide the absolute best possible sound per bit the
current state-of-the-art will allow, without the typical resonant, phasey, watery
character of other codecs.
Trading-Off Audio Bandwidth against Bitrate, Sample rate, and Channel Mode
High audio bandwidth does not guarantee good sound in codecs. In many cases,
especially at low bitrates, it is actually just the opposite. For example, FM radio is a
15 kHz medium, yet there are plenty of codecs claiming to have 20 kHz response
that sound much worse than FM radio.
The designers of the various codecs usually determine the optimum tradeoff be-
tween bitrate, sample rate, and channel mode (stereo or mono) by performing ex-
tensive listening tests. To maximize overall audio quality at lower bitrates, it is im-
portant to allocate the bits efficiently. This usually means allocating more bits to
those frequency ranges most important to music and speech.
Below a certain sample rate (which depends on the design of the individual codec),
codec designers have determined that limiting audio bandwidth to less than 20 kHz
achieves highest overall quality. For example, AAC requires 192 Kbps or more for 20
kHz+ response (Table 1-2 on page 1-12) and aacPlus requires 64 Kbps or more for 20
kHz+ response (Table 1-1 on page 1-11).
We recommend using aacPlus v2 for stereo streams below 48kbps. Be sure your tar-
get players support it; otherwise, the streams will play in mono.
1-14 INTRODUCTION ORBAN MODEL 1010
Cascading Codecs
There are two general applications for codecs in broadcasting — “contribution” and
“transmission.” A contribution-class codec is used in production. Accordingly, it must
have high enough “mask to noise ratio” (that is, the headroom between the actual
codec-induced noise level and the just-audible noise level) to allow its output to be
processed and/or to be cascaded with other codecs without causing the codec-
induced noise to become unmasked. A transmission-class codec, on the other hand,
is the final codec used before the listener’s receiver. Its main design goal is maximum
bandwidth efficiency. Some codecs, like Layer 2, have been used for both applica-
tions at different bitrates (and Layer 2 continues to be used as the transmission co-
dec in the Eureka-147 DAR system and many DBS satellite systems). However, assum-
ing use of an MPEG codec, modern practice is to use Layer 2 for contribution only
(minimally at 256 kbps, with 384 kbps preferred), reserving transmission for AAC or
aacPlus. Layer 3 has become a consumer format, and even that is being replaced by
the next generation AAC/HE AAC/aacPlus.
The most general operational advice is this:
• Use compression only when necessary. Hard drives have become very in-
expensive, and there is little excuse for excessively compressing a source li-
brary. Linear PCM is best.
• A good codec such as AAC/HE AAC/aacPlus requires a good source to produce
excellent results. If you must use compression in production or transmis-
sion ahead of the audio preprocessor (like Optimod-PC) and have the luxury
of high bitrates, use Layer 2 at 128 kb/sec/channel or above (256 kb/sec
stereo). This will be audibly transparent for as many as ten passes. Avoid
Layer 3 sources; Layer 3 was never rated transparent at any bitrate.
• Do not use a higher sampling frequency than necessary. 32 kHz is ade-
quate for AM, FM. analog television, and low bitrate (~32 kbps) streaming.
However, if you are creating a hard-disk music library and plan to use it for
DAB or high bitrate streaming now or in the future, 44.1 kHz will yield CD-
quality bandwidth 20 kHz frequency response. Especially with low bitrate co-
decs, a 32 kHz sample rate is generally optimum and sounds better than
higher sample frequencies because the bit allocation for the codec is concen-
trated in the most audible region of the audio spectrum. This is a case where
less is truly more.
• Carefully monitor any cascade of codecs by listening tests. There are
an infinite number of combinations possible, and the human ear must be the
final arbiter of quality. Be particularly sensitive to loss of “snap” and transient
definition, loss of stereo imaging, loss of very high frequencies, comb-filtering
or “underwater” sounds, and buildup of distortion.
• Do not use Microsoft Windows Media Player to play MPEG-1 Layer 2
files. There is a confirmed problem with the MPEG-1 Layer 2 decoder filter
used in the current and several past releases of Windows Media Player. This
filter causes a poor signal-to-noise ratio in the form of low-level noise that is
only there when the least significant bits are present. It is audible during quiet
portions of audio and prevents the filter from being usable in professional
applications. Audio signal processing will make this more apparent. We hope
that Microsoft will someday address this issue.
OPTICODEC-PC INTRODUCTION 1-15
Networking
Opticodec-PC supports both unicast and multicast streams. Each method has its own
advantages and your streaming application will determine which one to use.
To connect to the Internet using unicast, a server is required. This receives the out-
put of the encoder and creates the streams to which your listeners connect. Optico-
dec-PC supplies an output compatible with the free Darwin Streaming Server, which
is available for multiple platforms including Linux®, FreeBSD®, Sun Solaris®, Micro-
soft Windows®, and QuickTime Streaming Server for Apple Macintosh®. It is also
compatible with the SHOUTcast DNAS and the Icecast2 servers, also freely
downloadable.
puters can simultaneously access. The users of a multicast have no control over
the media content. Multicasts are an efficient way to deliver the same mate-
rial to a group of people over a LAN, as only one copy of the stream is sent
over the network. (See Multicast on page 1-25.)
Because Opticodec-PC contains a multicast server, more than one listener can
connect to the same IP address without increasing network traffic. This is an
excellent way to deliver corporate or academic content to an internal audi-
ence or to stream radio stations to the staff at their computer workstations.
Unless your LAN contains a router that is not multicast enabled and that sepa-
rates the encoder from your listeners, you do not need to use a server to mul-
ticast within a LAN. For listeners to connect to your stream via a typical LAN,
they have to connect their decoder applications to the same local IP address as
the one you assigned to the output of Opticodec-PC.
Bandwidth Requirements
Streaming puts demand on your server system in a number of ways, the most impor-
tant being bandwidth. For example, three different unicast streams for different
purposes will attract different audiences with different network connectivity re-
quirements.
For example, if you have a 100 Mbps network and you want to know how many 32
kbps streams you can support, the equation is 10,000,000 * 70% / 32000 = 2187 si-
multaneous streams.
Your required network bandwidth will be determined by your intended audience
size and whether you are using unicast or multicast streaming.
• Unicast streaming bandwidth, the most common, is the total number of simul-
taneous streams multiplied by the stream bitrate, plus some network overhead,
or:
Bandwidth (Unicast) = (Number of Concurrent Streams) * (Stream Bitrate) + 20%
• Multicast streaming bandwidth is simply that of a single stream plus some net-
work overhead, or:
Bandwidth (Multicast) = (Stream Bitrate) + 20%
To ensure reliability, bandwidth projections must be based on peak usage, not aver-
age usage.
Streaming Architecture
Live Streaming
Live events, such as radio broadcasts, concerts, speeches, lectures, and sporting
events are commonly streamed over the Internet as they happen with the assistance
of broadcasting encoding software such as Orban Opticodec-PC Streaming Encoder.
The broadcasting software encodes a live source, such as studio originated audio, in
real time, and delivers the resulting stream to the server. The server then serves, re-
flects, and/or relays the live stream to media player clients.
Like a radio broadcast, a live stream provides identical, essentially synchronized con-
tent to all listeners. (The only factor that prevents perfect synchronization is varying
network latencies between the server and the various listeners.) This live experience
can be simulated with recorded content by broadcasting from an archive source such
as a playout system or by creating playlists of media on a media server.
File Streaming
With file streaming, or on-demand delivery, such as archived broadcasts, concerts,
speeches, lectures, and sporting events, each user initiates the stream from the be-
ginning, so no user ever comes in late to the stream. No broadcasting or streaming
encoder software is required. The files are encoded prior to upload to the server us-
ing software such as Orban Opticodec-PC File Encoder.
1-18 INTRODUCTION ORBAN MODEL 1010
Network Transports
Different servers use different network transports and protocols. Knowing the struc-
ture of the transports and protocols used for the different server technologies will
help you understand the differences in these servers. Figure 1-4 shows the various
IP IP IP IP IP
• No special server software is required. Your web server software can deliver
media content.
• Files downloaded to the user’s computer can be used later without additional
network connectivity.
• Media content downloads to the user’s computer as fast as the network con-
nection will allow.
• Media content gets to the user no matter how slow the network connection.
• With fast network connections, media content can play as it downloads. How-
ever, there are no advanced stream control facilities.
• Lost packets are retransmitted until they are received.
• There are no problems with routers and/or firewalls.
Player
Client
Streaming Control
Server
U DP/IP
S treaming QTSS/DSS
E ncoder
Orban
Odd Port UDP /IP - RTCP Port 6971 Por t 2n + 1
Optico dec-PC Packet Resend Request
Player
Client
Streaming
Server
TCP/IP
Streaming QTSS/DSS
E ncoder
Orban
Opticodec-PC
Player
Client
S treaming
Server
TCP/IP
QTSS/DSS H TTP
Streaming
Tunneling
E ncoder
Orban
Opticodec-PC
• A special HTTP tunneling protocol that wraps RTSP/RTP packets inside HTTP
packets, only supported by Apple QuickTime Player, can be used to help cir-
cumnavigate firewalls and/or routers by using the same port that web serv-
ers/browsers use. The advantage to this is that streaming protocols are still
used for media content stream control and TCP/IP reliability is gained. The dis-
advantage is since it is less efficient, it adds server load, slight network over-
head and increased bitrate.
Streaming
Server
SHOUTcast
Player
Streaming Client
Encoder
Ports TCP/IP
TCP/IP - HTTP /ICY Port 8001 TCP/IP - HTTP /ICY Port 8000
n+1 n
Auth & Audio/Meta Data Request & Audio/Meta Data
Orban
Opticodec-PC
S treaming
Server
Icecast2
Player
S treaming Client
Encoder
Ports TCP/IP
TCP/IP - HTTP/ICY Port 8000 TCP/IP - HTTP /ICY Port 8000
n n
Auth & Audio/Meta Data Request & Audio/Meta Data
Orban
Optico dec-PC
Web
Server
Player
Client
TCP/IP
TCP/IP - HTTP Port 80
Request & Data
Unicast
In a unicast, each user or player client initiates its own stream, resulting in several
one-to-one connections between client and server, which is less efficient use of
bandwidth. Many clients connected via unicast to a stream in a local network can
result in heavy network traffic. However, this technique is the most reliable and
most common for delivery over the Internet because no special transport support is
required. For file or on-demand streams, each user can randomly access the media
content, playing only the parts they want. Unicast uses either TCP/IP or UDP/IP.
Client Playe r
C li en t Pla ye r
A udio
Source
Client Playe r
Client Playe r
C li en t Pla ye r
A udio
Source
Client Playe r
Relay Servers
A relay server is a specially configured streaming server that listens to an incoming
stream and then forwards the stream to one or more destination servers. A relay can
reduce network bandwidth consumption by load balancing the stream network traf-
fic or by separating unicast and multicast streams.
If the streaming server used supports it, Unicast and multicast can be used together
with relays to create larger network infrastructures. For example, a unicast stream
can be sent to a multicast server on a multicast enabled network. Alternatively, a
multicast stream can be sent to a local multicast enabled LAN, and the same stream
can be sent to the Internet as a unicast stream.
1-26 INTRODUCTION ORBAN MODEL 1010
Client Playe r
Str eaming Server
Multicast
C l ie nt Pl aye r
A udio
Source
Live Streaming ■ ■
Playlist Streaming ■ ■
File Protection ■ ■
Unicast ■ ■ ■
Multicast ■
Relay ■ ■
Multiple Streams ■ □
Authentication ■ □ □
3GPP/3GPP2 Streaming ■
Metadata □ ■ □
ISMA Compliant ■
Section 2
Installation — Streaming Encoder
Installing Opticodec-PC
Opticodec-PC PE
For the PE version of Opticodec-PC, one Optimod-PC 1100 PCI Audio Card is required
per audio program source. In a given computer, you can use as many cards as there
are available PCI slots (including slots in an external PCI expansion chassis).
Multiple encoder instances (including encoders other than Opticodec-PC) can oper-
ate simultaneously to generate multiple bitrates and/or stream formats from the
same program source. You may create unlimited numbers Opticodec-PC PE in-
stances, constrained only by CPU resources. Multiple encoder instances require
multi-client driver operation. Windows XP supports multi-client audio driver opera-
tion directly, while Windows 2000 requires an audio bridge application such as
Ntonyx Virtual Audio Cable (http://www.ntonyx.com).
Each Opticodec-PC PE application is serialized to match the Optimod-PC card with
which it will be used. It cannot be used with another Optimod-PC card. For each Op-
timod-PC card in a given computer, one Opticodec-PC PE application must be in-
stalled. An Opticodec-PC PE application may be moved to any computer provided its
mating Optimod-PC is moved with it to the same computer.
Opticodec-PC LE
Opticodec-PC LE will operate with any quality Microsoft Windows qualified sound
device. If physical audio inputs are not required (for example, by sourcing audio
with a player on the same computer as the encoder) it is possible to use a virtual au-
dio driver program, such as Ntonyx Virtual Audio Cable (http://www.ntonyx.com) to
feed Opticodec-PC LE. In this way, sound device hardware, whether installed in a PCI
slot or on main board, is available for other uses, such as monitoring a stream.
Only one encoder instance of Opticodec-PC LE will operate on a single computer.
Software Installation
Installation consists of:
• Installing Optimod-PC (if you are using Opticodec-PC PE, which requires the
presence of Optimod-PC to start up)
• Unpacking Opticodec-PC
2-2 INSTALLATION — STREAMING ENCODER ORBAN MODEL
[Skip this step if you are installing an Opticodec-PC LE and are using a sound card
other than Optimod-PC.]
For instructions on installing Optimod-PC, refer to the separate Operating Man-
ual for Optimod-PC.
If you are using a sound card other than Optimod-PC, be sure that this sound
card is installed and has been verified to operate correctly in Windows.
A) If you note obvious physical damage, contact the carrier immediately to make
a damage claim. Included in the package are:
1 Operating Manual
1 Software CD-ROM.
B) Save all packing materials! If you should ever have to ship Opticodec-PC, it is
best to ship it in the original carton with its packing materials because both
the carton and packing material have been carefully designed to protect the
manual and CD from damage.
C) Complete the Registration Card and return it to Orban. (please)
The Registration Card enables us to inform you of new applications, per-
formance improvements, software updates, and service aids that may be
developed, and it helps us respond promptly to claims under warranty
without our having to request a copy of your original invoice or other
proof of purchase. Please fill in the Registration Card and send it to us
today. (The Registration Card is located after the cover page).
We do not sell our customer’s names to anyone.
Software Authentication
• Opticodec-PC PE does not require software authentication. Opticodec-PC is
tied to an associated Optimod-PC by serial number and can be used in or
moved to any computer containing its associated Optimod-PC card.
• Opticodec-PC LE requires software authentication to activate it and to bind it
to the computer hardware in which it is installed. Once the software is prop-
erly installed and runs the first time, it will guide you through the details of
authentication.
To summarize the authentication procedure:
a) Copy the Opticodec-PC hardware ID number presented to you by the
software.
b) Submit this number by email to Orban for authentication.
c) Orban will supply you a hardware validation number that you will enter
into Opticodec-LE to complete the authentication. Once authenticated,
Opticodec-PC LE will only run on the computer system to which it has been
authenticated.
Configuring Opticodec-PC
This section provides the necessary information to configure , and connect the Opti-
codec-PC Encoder as quickly as possible. It assumes that:
• The software will be used with a TCP/IP network.
• One or more of the supported Streaming Servers, if used, are available and
configured for connection from Opticodec-PC.
• Unicast or multicast operation has been decided and understood,
• Firewalls, if any, are properly configured.
For details on various streaming encoder configurations, see Section 3: Configura-
tion — Streaming Encoder starting on page 3-1. For details on how to setup TCP/IP
2-4 INSTALLATION — STREAMING ENCODER ORBAN MODEL
networking and streaming servers, see the Section 4: Streaming Servers starting
page 4-1.
1. Bitrate
Sets the data rate. This determines the audio quality that will be served to the in-
tended audience. See Table 2-1.
OPTICODEC-PC INSTALLATION — STREAMING ENCODER 2-5
Bitrate Bitrate
Connection Speed
Safe Maximum
2. Sample-Rate
Sets the audio sample rate. This either should be set to match the source audio
or audio files or should be set lower.
We do not recommend upsampling or setting the sample rate higher
than the input rate. This does not improve quality because the original
source determines the quality.
3. Encoder
4. Channel
5. Optimize
DEFAULT / VOICE
• Use DEFAULT for mixed speech and music programming.
• Use VOICE for programming that is exclusively speech.
Stream Description
2-6 INSTALLATION — STREAMING ENCODER ORBAN MODEL
1. Name
Set the Stream Name that you want compatible player clients to display.
2. Description
Set the Stream Description that you want compatible player clients to display.
3. Title
Set the Metadata Title Field that you want compatible player clients to display.
4. Genre
Set the Metadata Genre that you want compatible directory list servers to dis-
play.
Destination Server
1. Server
• HTTP/ICY SHOUTcast
• HTTP/ICY Icecast2
2. RTP
3. URL
Choose the IP address or domain name of streaming server. This address or name
must contain the characters rtsp or http, depending upon type of server.
4. Port
6. User
If you are using a RTSP/RTP streaming server, provide the server encoder user-
name.
7. Pass
8. Encode
Click Encode.
This will:
• Start the Encoder.
• Authenticate the Encoder with the streaming server.
• If using RTSP/RTP, send the .sdp file to the streaming server.
• Initiate streaming.
9. Stop
Click Stop.
This will:
• Stop the Encoder.
• If using RTSP/RTP, the .sdp file on streaming server will be removed from the
server after expiration time specified by the streaming server configuration.
A reconnect is only possible after .sdp expiration.
• Terminate streaming.
2-8 INSTALLATION — STREAMING ENCODER ORBAN MODEL
Audio Levels
Ordinarily, analog levels are calibrated to 0 VU. A properly designed audio system
provides at least 20dB of headroom above 0 VU to compensate for the fact that VU
meters do not indicate peaks, instead indicating average levels.
In the digital domain, it is perfectly acceptable for audio levels to reach 0 dBfs
(meaning 0 dB with reference to “full-scale”: the largest peak level that the system
can represent). Note that there is no headroom above 0dBfs, so any attempt to go
above 0 dBfs is likely to cause audible distortion. Digital audio metering (like that
found in Optimod-PC and Opticodec-PC) typically indicates true peaks, displays the
exact dynamic range usage accurately, and makes it easy to prevent distortion
caused by peak overloads.
Not all sound device software can accurately meter audio peak levels. Use
Opticodec-PC and/or Opticodec-PC meters to ensure that Opticodec-PC is
not over-driven.
Precision peak level control is an important feature of Optimod-PC — it automati-
cally prevents Opticodec-PC from ever being overdriven. This prevents the distortion
often associated with excessive levels and keeps your audio sounding professional.
Opticodec-PC LE supports any Windows sound device, not just Optimod-PC. That
sound device’s capabilities determine what audio sources can be used with LE. Some
audio devices do not have WAV Out capability and therefore cannot route audio
files between a player application and Opticodec-PC. Only physical audio inputs can
be used on such devices. If WAV Out capability is required and the sound device
hardware does not support it, a virtual audio driver program, such as Ntonyx Virtual
Audio Cable (http://www.ntonyx.com) can feed Opticodec-PC LE. This driver will ap-
pear as another available audio device or port and will not use any hardware sound
devices, leaving them free for other uses such as monitoring.
Arguments
<input-port-number>
audio device number derived from running:
showAudioInputPorts.exe
1, 2, 3, 4, etc.
<sampling-frequency>
24000, 32000, 44100, 48000
<isStereo>
0 - mono, 1 – stereo
<kbps>
stream bitrate:
8, 10, 12, 16, 20, 24, 32, 40, 48, 56, 64, 80, 96, 128, 160, 192, 224, 256, 320
<use-aacPlus>
0 – AAC, 1 – HE AAC/aacPlus
<optimizeForSpeech>
0 – Normal, 1 – Voice
<generate-LATM>
RTP packet format
0 – MPEG-4-generic, 1 – MP4A-LATM
<session-name>
Stream Name of choice, enclosed in quotes if spaces are included
<session-info>
Stream Information of choice, enclosed in quotes if spaces are included
<session-author>
Stream Author of choice, enclosed in quotes if spaces are included
<stream-copyright>
Stream Copyright of choice, enclosed in quotes if spaces are included
<rtsp-server-port>
554 default, must be different for multiple multicast instances
2-10 INSTALLATION — STREAMING ENCODER ORBAN MODEL
<stream-multicast>
0 – Unicast, 1 - Multicast
<rtsp-server-name-or-address>
123.45.67.8 – ip address or domain name of streaming server
<remote-file-name>
xxxx.sdp – must end with .sdp extension and contain no spaces
<username>
Streaming server encoder username
use “” if username is not used
<password>
Streaming server encoder password
use “” if password is not used
Section 3
Configuration — Streaming Encoder
• Any encoder running on the same computer as DSS can connect without au-
thentication.
• A Username and Password are not required for the encoder.
3-2 CONFIGURATION — STREAMING ENCODER ORBAN MODEL 1010
Server Connection
When Opticodec-PC Streaming Encoder negotiates a connection with the streaming
server, the .sdp file is automatically uploaded to the server. If the encoder is discon-
nected for any reason, there is a timeout period set by the server configuration that
must be expired before another connection is allowed with the same .sdp file name.
Firewall Considerations
Most hardware firewalls and routers will automatically open the necessary out-
bound ports. Opticodec-PC Streaming Encoder uses TCP/IP for all server connections,
so there should be nothing to configure in a hardware firewall and/or router. In the
event that outbound ports are blocked, or a software firewall is used, the appropri-
ate ports will require opening.
Table 3-1: Firewall or router configuration for RTSP/RTP Darwin Streaming Server
3-4 CONFIGURATION — STREAMING ENCODER ORBAN MODEL 1010
Multicast Relay
Relaying a multicast stream requires a multicast enabled network and an RTSP/RTP
server such as QuickTime Streaming Server or Darwin Streaming Server. Configure
Opticodec-PC to supply a unicast stream to the streaming server; the streaming
server handles the multicast.
Multicast Addresses
Multicast uses Class D addresses, 224.0.0.0 through 239.255.255.255. If you are to
multicast on the Internet, you must allocate these addresses through IANA. Optico-
dec-PC will dynamically assign a multicast address to multicast sessions. To view this
address, you can use a TCP/UDP port program such as TCPView.
Firewall Considerations
Whenever using multicast, through a firewall or router, it must be configured to
pass the multicast address range. Many firewalls and routers are configured by de-
fault to block the entire multicast address range. This is an important consideration
if streaming on Intranets or the Internet.
3-6 CONFIGURATION — STREAMING ENCODER ORBAN MODEL 1010
Because Nullsoft Winamp, the primary player for Icecast2 streams, supports for HE
AAC/aacPlus v2, we recommend using a Channel setting of Stereo v2. This will pro-
vide the best codec performance at low bitrates.
Because Nullsoft Winamp, the primary player for Icecast2 streams, supports for HE
AAC/aacPlus v2, we recommend using a Channel setting of Stereo v2. This will pro-
vide the best codec performance at low bitrates.
3-8 CONFIGURATION — STREAMING ENCODER ORBAN MODEL 1010
Firewall Considerations
Most hardware firewalls and routers will automatically open the necessary out-
bound ports. Opticodec-PC Streaming Encoder uses TCP/IP for all server connections,
so there should be nothing to configure in the firewall and/or router. In the event
that outbound ports are blocked or a software firewall is used, the appropriate
ports will require opening.
Section 4
Streaming Servers
Introduction
Orban Opticodec-PC Streaming Encoder supports several different streaming server
platforms. Choosing which platform to use will depend upon several things, includ-
ing intended audience, supported client players, supported client player features,
compatibilities, server features, and administration complexity. You could even con-
sider using more than one server platform.
Supported Protocols
• RTSP over TCP. The Real Time Streaming Protocol (RTSP) is a client-server
multimedia presentation control protocol that provides efficient delivery of
streamed multimedia over IP networks. RTSP provides a basis for negotiating
unicast and multicast transport protocols, such as RTP, and negotiates codecs
in a way that is independent of file format. It works well for large audiences
as well as single-viewer media-on-demand. RFC 2326 defines the IETF standard
for RTSP. Both QuickTime Player 6 and RealPlayer 10 support this protocol.
• RTP over UDP. The Realtime Transport Protocol (RTP) is a packet format for
multimedia data streams. RTP is used by many standard protocols, such as
RTSP (for streaming applications) and SDP (for multicast applications). RTP
provides the data delivery format for RTSP and SDP. RFC 1889 defines the IETF
proposed standard for RTP. Both QuickTime Player 6 and RealPlayer 10 sup-
port this protocol.
• RTP over Reliable UDP. If an RTP player client requests it, the server sends
RTP packets using Reliable UDP. Reliable UDP is a set of quality-of-service en-
4-2 STREAMING SERVERS ORBAN MODEL 1010
Installation
1. Install ActivePerl.
Using QuickTime, try to play one of the test files that installed with the server
software installation.
This can be done on the local or a remote computer.
A) Start QuickTime.
B) From the File menu, Open the URL using the following syntax:
OPTICODEC-PC STREAMING SERVERS 4-5
rtsp://dss.server.ip.address/sample_100kbit.mp4
where dss.server.ip.address is the IP address or hostname of DSS.
The test file should play the QuickTime logo with audio and video.
The supplied test files will not work with RealPlayer, as they are in an un-
supported format.
• AuthName <message>
Name of the authentication domain (optional). This is the text that us-
ers see when the login window appears. If your message includes
spaces, make sure you enclose the entire text within quotation marks.
This is not supported in the current login window dialog box, so this
option will have no effect on client systems.
• AuthScheme
Authentication scheme, either digest or basic, providing the ability to
specify the authentication scheme on a directory-by-directory basis.
• require valid-user
Limits access to the media directory to any valid users defined in the
qtusers file. The statement require valid-user specifies that any
authenticated user in the qtusers file can have access to the media
files. If this tag is used, the server will prompt users for an appropriate
username and password.
OPTICODEC-PC STREAMING SERVERS 4-9
• require any-user
Provides unlimited access to the media directory. Allows any user to
access media without providing a username or password. This is the
most common type of access for streaming media.
• <Limit Write>
Provides access control for encoder write access to DSS. The require
statements above can be placed within the <Limit Write></Limit>
tags. This construct is used for the RTSP announce protocol to limit the
users or encoders, that can broadcast through the server.
• </Limit>
To Add a User:
A) Open a Command Prompt.
B) Change the directory to C:\Program Files\Darwin Streaming Server.
C) Run: qtpasswd –f <user filename> <username>
where qtusers is the DSS user filename and encoder is the username.
D) DSS will prompt for user password. Enter it.
E) To add additional Users, repeat steps (B) through (D).
Be careful when using qtpasswd in with the -c option. The qtusers file
also contains the account information of the “admin” user and it is pos-
sible to overwrite the original qtusers file.
D) DSS will prompt for user password. Enter it. The password you enter replaces
the previous password.
To Add a Group:
A) Open the groups file with a text editor.
Use a text editor program such as Notepad.
B) Add the appropriate groupname(s) and username(s) to the file.
Example:
encoders:encoder1 encoder2
players:player1 player2
Remote Administration
A Perl script controls DSS Remote Administration. By default, and to supply extra
security, DSS Remote Administration does not start automatically on boot. To allow
DSS Remote Administration to be available after any reboot, it is recommended, but
not required, that a Shortcut or Alias be created and placed in the Programs Startup
folder. Without this Shortcut, DSS Remote Administration will be unavailable until
streamingadminserver.pl is executed manually by double-clicking it.
In other words, create a Shortcut for:
C:\Program Files\Darwin Streaming Server\streamingadminserver.pl
and include it in:
C:\Documents and Settings\All Users\Start Menu\Programs\Startup
If the firewall or router is using NAT, it is necessary to configure DSS with the IP ad-
dress of the Internet side of the router or firewall for UDP streams to work properly.
Do this by editing the alt_transport_src_ipaddr option in the stream-
ingserver.xml file located in the Darwin Streaming Server root directory.
The default value is empty:
<PREF NAME="alt_transport_src_ipaddr" ></PREF>
Change it to contain the Internet IP address (for example):
<PREF NAME="alt_transport_src_ipaddr" >123.45.67.8</PREF>
DSS must be restarted in order for this to take effect.
If you do not have a static IP address, then DSS needs to be reconfigured every time
your IP address changes.
It is wise to have a static IP address when streaming.
4-12 STREAMING SERVERS ORBAN MODEL 1010
Supported Protocol
• SHOUTcast HTTP/ICY over TCP. The SHOUTcast HTTP/ICY protocol is based
on the same TCP HTTP protocol used for web servers. The encoder and player
client negotiation, authentication, metadata, and media data are specific to
SHOUTcast. This protocol has the advantage of working through most fire-
walls easily.
Software Requirements
SHOUTcast DNAS 1.9.4 or above:
http://www.shoutcast.com/download/serve.phtml
Installation
http://www.shoutcast.com/download/license.phtml
A) Accept the license agreement.
B) Save the SHOUTcast WIN32 Console/GUI server file to any directory.
C) When finished, save the file with a .bat file extension in the same directory as
SHOUTcast DNAS.
D) Double-clicking the .bat file will start the SHOUTcast DNAS servers.
E) DNAS installation is now complete.
Remote Administration
SHOUTcast DNAS provides remote administration via a web browser.
A) Open a web browser to:
http://serverIP-or-domain:port
B) Log in using the admin password that is specified in the config file.
Firewall Considerations
SHOUTcast DNAS is a very secure, robust streaming server that is designed to be con-
nected directly to the Internet if required. Operating SHOUTcast DNAS from behind
OPTICODEC-PC STREAMING SERVERS 4-17
a firewall or router using NAT is not required or recommended. However, if SHOUT-
cast DNAS is located behind a firewall or router, and access from the Internet is re-
quired, specific ports need to be opened and forwarded in the firewall to allow in-
bound encoder connections and outbound HTTP requests from player clients to
stream media data to them.
Note: Ports shown in this chart are default values. Actual ports used must
be configured in the firewall and/or router.
Icecast2
Icecast2 is a free downloadable open-source streaming audio server capable of
streaming both live streams encoded with Orban Opticodec-PC Streaming Encoder
and files produced by Orban Optidodec-PC File Encoder, including stream-related
metadata. Icecast2 also offers additional server security by using encrypted pass-
words for encoder access. It is available for Microsoft Windows and various UNIX
platforms and uses the popular HTTP/ICY protocol. The Windows version offers both
a command line (CLI) and graphical user interface (GUI). Icecast2 supports mount-
points, thus allowing multiple streams on a single server using the same port. Ice-
cast2 produces streams compatible with the popular free Windows Winamp player
client.
Supported Protocol
• Icecast2 HTTP/ICY over TCP. The Icecast HTTP/ICY protocol is based
on the same TCP HTTP protocol used for web servers. The encoder and
player client negotiation, authentication, and metadata and media
data is specific to Icecast2. This protocol has the advantage of working
through most firewalls easily.
4-18 STREAMING SERVERS ORBAN MODEL 1010
Software Requirements
Icecast2 2.0.1 or above:
http://www.icecast.org/download.php
Installation
1. Download Icecast2.
http://www.icecast.org/download.php
A) Download the Windows version.
OPTICODEC-PC STREAMING SERVERS 4-19
B) Save the Icecast2 server file to any directory.
2. Install Icecast2.
Configuration
1. Start Icecast2.
B) If a port other than the default is to be used, edit the item under the <lis-
ten-socket> header.
The default value is:
<port>8000</port>
Streaming Files
Icecast2 provides a means of streaming static on-demand AAC/HE AAC/aacPlus files
produced with Opticodec-PC File Encoder. This is not the same as a web server. A
web server downloads the file to the client player computer, even though the file
will play as it is downloading. Conversely, Icecast2 streams the file. It does not
download the file.
If the default directory is used, then files may be placed in:
C:\Program Files\Icecast2 Win32\web
Remote Administration
Icecast2 provides remote administration via a web browser. Open a web browser to:
http://serverIP-or-domain:port/admin/stats.xsl
Log in using the admin password that is specified in the config file.
4-22 STREAMING SERVERS ORBAN MODEL 1010
Firewall Considerations
Icecast2 is a very secure, robust streaming server that is designed to be connected
directly to the Internet if required. Operating Icecast2 from behind a firewall or
router using NAT is not necessary or recommended. However, if Icecast2 is located
behind a firewall or router and access from the Internet is required, specific ports
need to be opened and forwarded in the firewall to allow inbound encoder connec-
tions and outbound HTTP requests from player clients to pass to and from the
server.
Note: Ports shown in this chart are default values. Actual ports used must
be configured in the firewall and/or router.
Multiple Servers
It is possible to operate several type of streaming servers on a single computer in
order to cover all possible combinations of features and client player compatibilities.
If your server is single-homed (that is, having a single IP address), make sure each
server has its own port allocation so there are no conflicts. If your server is multi-
homed and each streaming server is on a separate IP address, then port allocation is
not an issue.
OPTICODEC-PC CLIENT PLAYERS 5-1
Section 5
Client Players
Comparisons
Opticodec-PC AAC/HE AAC/aacPlus streams can be played on various software and
hardware client players, including 3GPP/3GPP2 wireless devices. Software client play-
ers are available for different computer operating systems or platforms. All player
clients are not created equal; they support different features and connection proto-
cols. This chart is a comparison of some of the available players and their supported
protocols. More players are adding support for AAC/HE AAC/aacPlus as users dis-
cover its superior sound quality and bandwidth efficiency. Open-source players are
also available, although currently they do not offer reliable performance.
QuickTime 6 ■ ■
RealPlayer 10 ■ ■ ■
Winamp 5.05 ■
QuickTime 6 ■
RealPlayer 10 ■ ■ ■
Winamp 5.05 ■ ■ ■
QuickTime 6 ■ ■ ■ ■
RealPlayer 10 ■ ■ ■ ■
Winamp 5.05 ■
UNICAST MULTICAST
QuickTime 6 ■ ■ ■
Winamp 5.05 ■
Coding Technologies ■
1. Start RealPlayer.
A) If the file or live stream is served from the server root media directory, the
syntax is:
rtsp://ip.address.or.domain:rtsp_port/stream.sdp
Examples:
rtsp://123.45.67.8:554/live.sdp
rtsp://opticodec.net:554/live.sdp
B) If the file or live stream is served from a directory within the server root media
directory, the syntax is:
rtsp://ip.address.or.domain:rtsp_port/directory/stream.sdp
Examples:
rtsp://123.45.67.8:554/source1/live.sdp
rtsp://opticodec.net:554/source2/live.sdp
5-4 CLIENT PLAYERS ORBAN MODEL 1010
A) If the file stream is served from the server root media directory, the syntax is:
rtsp://ip.address.or.domain:rtsp_port/file.mp4
Examples:
rtsp://123.45.67.8:554/file.mp4
rtsp://opticodec.net:554/file.mp4
B) If the file stream is served from a directory within the server root media direc-
tory, the syntax is:
rtsp://ip.address.or.domain:rtsp_port/directory/file.mp4
Examples:
rtsp://123.45.67.8:554/source1/file.mp4
rtsp://opticodec.net:554/source2/file.mp4
Metafile/Playlist Files
RealPlayer can play live or file streams that are referenced in metafiles or playlist
files. This is useful for creating aliases or shortcuts that the user simply double-clicks
to automatically launch RealPlayer and start playing the stream, distribution to
other users, or for use as streaming links on a web pages. Metafiles or playlist files
are text files that simply contain information about the stream, such as the stream
URL, and depending upon the type of metafile or playlist file, some optional infor-
mation to control the player.
There are two common types of metafiles or playlist files for use with RealPlayer,
.ram and .rpm. These are text files and the syntax for them is exactly the same. The
.ram file is used to launch RealPlayer and the .rpm file is used to start an embedded
RealPlayer from within a web page. Microsoft Windows systems register both of
these file types upon a RealPlayer installation. Because both the .ram and .rpm ex-
tensions are exclusive to RealPlayer, it is therefore a sure way to always launch
RealPlayer by using either of them. It is highly unlikely that another program would
have appropriated the .ram and .rpm file extensions, preventing RealPlayer from
being associated incorrectly. Additional features of the .ram and .rpm files include
the ability to pass titling information and additional instructions to RealPlayer.
rtsp://opticodec.net:554/live.sdp
rtsp://opticodec.net:554/live1.sdp?rpcontextheight=240&rpcontextwidth=320
&rpconteturl="http://www.opticodec.net/playlist1.html"&title="OPTICODEC.net"
&author="Hi-Fi Audio for the Internet"©right="©2004, Orban, Inc."
rtsp://ip.address.or.domain:rtsp_port/stream.sdp?parameter=value
rtsp://ip.address.or.domain:rtsp_port/stream.sdp?parameter=value
¶meter=value¶meter=value...
rtsp://opticodec.net:554/live.sdp
Options
There are several options to change the behavior of RealPlayer. Some of the rele-
vant one are outlined here.
It might be desirable to reduce the size of RealPlayer, especially if your primary
use is for streaming audio.
OPTICODEC-PC CLIENT PLAYERS 5-7
1. RealPlayer option for Player only (no Media Browser).
Sometimes it may be necessary to change the Network Transport settings from their
default values. Certain firewalls and/or routers may not pass UDP packets, or they
are unreliable and the audio stream contains excessive dropouts. In this case, change
the Network Transport settings to TCP. Network overhead increases slightly when
using TCP.
A) Using an ftp client or whatever means necessary, move the .html and .ram
files to the web server.
B) Test the streaming link on the newly uploaded page to make sure all the
paths and directories are correct.
Embedded Players
Not yet.
5-10 CLIENT PLAYERS ORBAN MODEL 1010
Figure 5-2: Apple QuickTime 6 GUI (shown playing a live Opticodec-PC stream)
1. Start QuickTime.
A) If the live stream is served from the server root media directory, the syntax is:
rtsp://ip.address.or.domain:rtsp_port/stream.sdp
Examples:
rtsp://123.45.67.8:554/live.sdp
rtsp://opticodec.net:554/live.sdp
B) If the live stream is served from a directory within the server root media direc-
tory, the syntax is:
rtsp://ip.address.or.domain:rtsp_port/directory/stream.sdp
Examples:
rtsp://123.45.67.8:554/source1/live.sdp
rtsp://opticodec.net:554/source2/live.sdp
OPTICODEC-PC CLIENT PLAYERS 5-11
3. Enter the URL of the file stream.
A) If the file stream is served from the server root media directory, the syntax is:
rtsp://ip.address.or.domain:rtsp_port/file.mp4
Examples:
rtsp://123.45.67.8:554/file.mp4
rtsp://opticodec.net:554/file.mp4
B) If the file stream is served from a directory within the server root media direc-
tory, the syntax is:
rtsp://ip.address.or.domain:rtsp_port/directory/file.mp4
Examples:
rtsp://123.45.67.8:554/source1/file.mp4
rtsp://opticodec.net:554/source2/file.mp4
Metafile/Playlist Files
QuickTime can play live or file streams that are referenced in metafiles, playlist, me-
dia link, reference movie, or poster movie files. This is useful for creating aliases or
shortcuts that let the user double-click to launch QuickTime automatically and start
playing the stream, for distribution to other users, or for use as streaming links on
web pages. Metafiles, playlist, media link and some reference movie files are text
files that simply contain information about the stream, such as the stream URL, and
depending upon the type of file, some optional information to control the player.
There are two different types of files for use with QuickTime, which use different
file extensions. Both .mov and .qtl files are text files and can be used to launch
QuickTime Player. Microsoft Windows systems register both of these file types upon
a QuickTime installation, but only the .qtl extension is exclusive to QuickTime.
Hence, using the .qtl extension is a reliable way to ensure that double-clicking the
file launches QuickTime. It is highly unlikely that another program would have ap-
propriated the .qtl file extension. The .qtl file also ensures that the stream will be
open in QuickTime Player rather than the embedded QuickTime Plugin. The .qtl file
is an XML based file and additional features include the ability to pass additional
instructions to QuickTime Player.
rtsptext rtsp://opticodec.net:554/source/live.sdp
5-12 CLIENT PLAYERS ORBAN MODEL 1010
<?xml version="1.0"?>
OPTICODEC-PC CLIENT PLAYERS 5-13
<?quicktime type="application/x-quicktime-media-link"?>
<embed src="rtsp://opticodec.net:554/live.sdp" controller=”false” />
<?xml version="1.0"?>
<?quicktime type="application/x-quicktime-media-link"?>
<embed src="rtsp://opticodec.net:554/file.mp4" controller=”false” />
Do not forget /> at the end of the file. It will not work without it.
Options
Figure 5-4: QuickTime UDP Settings Figure 5-5: QuickTime HTTP Settings
A) Using an ftp client or whatever means necessary, move the .html and .ram
files to the web server.
B) Test the streaming link on the newly uploaded page to make sure all the
paths and directories are correct.
Embedded Players
Not yet.
5-16 CLIENT PLAYERS ORBAN MODEL 1010
Figure 5-6: Winamp 5.05 GUI (shown playing a live Opticodec-PC stream)
1. Start Winamp.
A) If the live stream is served from SHOUTcast DNAS, the syntax is:
http://ip.address.or.domain:port
example:
http://123.45.67.8:8000
http://opticodec.net:8000
SHOUTcast DNAS currently does not support content streaming of .aac
files.
B) If the file or live stream is served from Icecast2, the syntax is:
For streams:
http://ip.address.or.domain:port/path/mountpoint.aac
Mountpoints may contain a directory structure:
example:
http://123.45.67.8:8000/path/stream.aac
http://opticodec.net:8000/stream.aac
OPTICODEC-PC CLIENT PLAYERS 5-17
For files:
http://ip.address.or.domain:port/subdirectory/file.aac
example:
http://123.45.67.8:8000/aac/file.aac
http://opticodec.net:8000/file.aac
• The Icecast2 webroot root directory is not specified when streaming files.
• Only the subdirectories within them are specified if used.
• Subdirectories are optional.
• Files and streams of the same name in common root locations are to be
avoided. The file stream will always have priority over the live stream, i.e., a
live stream with a name of test.aac and a file with a name of test.aac lo-
cated in the directory specified in the root of webrootwebroot.
Metafile/Playlist Files
Winamp can play streams or files that are referenced in metafiles or playlist files.
This is useful for creating aliases or shortcuts that let the user double-click to launch
Winamp automatically and start playing the stream, for distribution to other users,
or for use as streaming links on web pages. Metafiles, playlist, media link and some
reference movie files are text files that simply contain information about the stream,
such as the stream URL, and depending upon the type of file, some additional in-
formation.
There are two common types of metafiles or playlist files, .m3u, and .pls. Before ei-
ther of these files can launch Winamp, they must be correctly associated with it.
Most Microsoft Windows systems have .m3u associated with Windows Media Player
by default. Because of this, we recommend using the .pls file, and be sure it is asso-
ciated with Winamp. If you are using metafiles or playlist files to link the streams on
a web page, it is a good idea to have a simple explanation about this near the link.
[playlist]
Signifies that this is a playlist.
File#=
Location of the file or stream. The # sign after "File" signifies the file or
stream number. The first file in the playlist is "File1", the second is
"File2," and so on. This entry can be a specific or relative path or a URL.
Title#=
Title to display (Optional). This is usually the title read from the file name
or ID3 tags. This also can be the name of a stream. The # sign after "Title"
signifies the file or stream number.
Length#=
Length in seconds. “–1” forces the time entry to be ignored and is used
for unspecified or live streams. The “#” sign after "Length" signifies the
file or stream number.
NumberOfEntries=#
The total number of entries in the playlist. This should match the last
number on the "File#,” "Title#,” and "Length#" fields.
Version=2
This required entry at the bottom tells the player what format the PLS is.
Older versions of the PLS format did not include this.
All fields are case sensitive.
Title information from .pls files will appear in the Winamp Playlist Editor.
It will not appear in the main Winamp Player.
Metadata streamed from SHOUTcast DNAS or Icecast2 will take priority
over Title information in the .pls file.
If SHOUTcast DNAS is used with the IntroFile feature, the Stream Name
sent by Opticodec-PC Streaming Encoder (not the Title specified in the
OPTICODEC-PC CLIENT PLAYERS 5-19
.pls file or what may be specified in the ID3v2 tag of the file) will be dis-
played in Winamp while the IntroFile plays.
If a .pls file specifies a file to stream, only the filename will be displayed
in Winamp, not the Title specified in the .pls file or what may be specified
in the ID3v2 tag of the file.
If Playlist Shuffling is enabled in the Winamp Player, the playlist order
specified in the .pls file may not necessarily play in the same order.
Example .pls files:
Single server:
[playlist]
numberofentries=1
File1=http://123.45.67.8:8000
Title1=Orban HiFi Internet Audio
Length1=-1
Version=2
Multiple servers:
Multiple servers may be listed in order to accommodate higher network
traffic and/or server capacity. As one server reaches capacity, the next
server in the list will attempt to deliver the stream.
Files and live streams may be referenced in the same .pls file, for exam-
ple, to play a stream ID or pre-announce file before the live stream starts,
however if SHOUTcast DNAS is used, it is better to use the IntroFile fea-
ture, since there will be no re-buffering between sources.
SHOUTcast and Icecast2 servers may be referenced in the same .pls file.
[playlist]
numberofentries=4
File1=http://stream1.opticodec.net:8000
Title1=Orban HiFi Internet Audio (Feed 1)
Length1=-1
File2=http://stream2.opticodec.net:8000
Title2=Orban HiFi Internet Audio (Feed 2)
Length2=-1
File3=http://stream3.opticodec.net:8000
Title3=Orban HiFi Internet Audio (Feed 3)
Length3=-1
File4=http://stream4.opticodec.net:8000
Title4=Orban HiFi Internet Audio (Feed 4)
Length4=-1
Version=2
Options
There are several options to change the behavior of Winamp. Some of the relevant
one are outlined here.
Since Winamp is fully compatible with all permutations of .m3u and .pls playlist files,
and their referenced files and streams, we recommend configuring Winamp to be
the registered player for these file types. Both .m3u and .pls should be highlighted
in Winamp Preferences / File Types. If you would like Winamp to be the registered
player for other file types, highlight them as well.
A) Using an ftp client or whatever means necessary, move the .html and .pls files
to the web server.
B) Test the streaming link on the newly uploaded page to make sure all the
paths and directories are correct.
Section 6
Service Providers
If you do not have some or all the required resources available to you to implement
your streaming application, you may need to get assistance from one or more out-
side service providers that specialize in streaming media and the associated technol-
ogy.
Section 7
References
Information
The publications and links listed here provide more information on streaming tech-
nologies. They will give you a thorough understanding of the different streaming
server technologies and topologies, as well as important information regarding in-
terfacing to the Internet. Many of these publications and links also cover HTML and
SMIL authoring to create web pages for your streaming content.
It is important to note that the Opticodec-PC AAC/HE AAC/aacPlus codec technology
is new and many of these publications do not yet cover it. However, the delivery
protocols are the same as those used with older codecs. As with many modern tech-
nologies, streaming is an evolving technology, so new publications and Internet re-
sources will appear from time to time.
Gregory C. Demetriades
Streaming Media: Building and Implementing a Complete Streaming
System
Wiley Publishing, Inc., 2003
Michael Topic
Streaming Media Demystified
McGraw-Hill Companies, Inc., 2002
David Austerberry
The Technology of Video and Audio Streaming
Focal Press, 2002
Joseph G. Follansbee
Get Streaming! : Quick Steps to Delivering Audio and Video Online
Focal Press, 2004
Internet Links
Apple QuickTime
Main QuickTime Page
http://www.apple.com/quicktime/
QuickTime Products
http://www.apple.com/quicktime/products/
QuickTime and QuickTime Pro
http://www.apple.com/quicktime/products/qt/
QuickTime Streaming Server
http://www.apple.com/quicktime/products/qtss/
Darwin Streaming Server
http://developer.apple.com/darwin/projects/streaming/
QuickTime Documentation
http://developer.apple.com/documentation/QuickTime/
QuickTime for the Web
http://developer.apple.com/documentation/QuickTime/QTBooks/QT4WebBook.htm
Icecast
Main Page
http://www.icecast.org/
Downloads
http://www.icecast.org/download.php
Documents
http://www.icecast.org/docs.php
OPTICODEC-PC REFERENCES 7-3
RealNetworks
RealPlayer PC
http://www.real.com/
RealPlayer Macintosh
http://www.real.com/mac/?src=072604realhome_1_3_2_1_1_1
RealPlayer Linux
http://www.real.com/linux/?src=072604realhome_1_3_2_1_1_1
RealPlayer Mobile
http://www.realnetworks.com/industries/mobile/operators/products/player/index.htm
l?src=072604realhome_1_3_2_1_1_1
SHOUTcast
Main Page
http://www.shoutcast.com/
SHOUTcast Support Documentation
http://www.shoutcast.com/support/docs/
Winamp Client Player
http://www.winamp.com/
SMIL
SMIL 2.0
Interactive Multimedia for Web and Mobile Devices
http://www.xmediasmil.net/
SMIL:
Adding Multimedia to the Web
http://www.smilbook.com/
W3C Synchronized Multimedia
http://www.w3.org/AudioVideo/
The SMIL Tutorial
http://www.helio.org/products/smil/tutorial/toc.html
Learn SMIL with a SMIL
http://www.empirenet.com/%7Ejoseram/index.html
The CWI SMIL Page
http://homepages.cwi.nl/~media/SMIL/
Oratix GRiNS for SMIL
http://www.oratrix.com/GRiNS/
Fluition
http://www.fluition.com/
Adobe Systems GoLive
http://www.adobe.com/products/golive/pdfs/golive_overview.pdf
7-4 REFERENCES ORBAN MODEL 1010
Utilities
Virtual Audio Cable
http://www.ntonyx.com
Pinguin Audio Metering
http://www.masterpinguin.de/
XMLtoRefMovie
http://www.hoddie.net/xmltorefmovie/
RFC
The Internet Engineering Task Force RFC Repository
http://www.ietf.org/rfc.html
Zvon RFC Repository – Formatted
http://www.zvon.org/tmRFC/RFC_share/Output/index.html
OPTICODEC-PC GLOSSARY 8-1
Section 8
Glossary
Definitions
This glossary defines terms and spells out abbreviation used throughout this manual,
as well as many other computer, network, communications, audio, video, and mul-
timedia related terms and abbreviations. References to terms defined elsewhere in
the glossary appear in italics.
The glossary is incomplete in this Preliminary Manual; undefined terms will be de-
fined in later editions of the Manual.
1G First generation cellular mobile wireless technology that supports analog de-
vices, mostly obsolete.
2G Second generation cellular mobile wireless circuit based technology that sup-
ports digital devices using TDMA, CDMA, and GSM. 2G networks provide about 9.6
Kbps throughput to handsets.
2.5G Advanced second generation cellular mobile packet based wireless technology
that supports digital devices using GSM with GPRS and EGPRS (Edge). 2.5G networks
provide about 56 Kbps throughput to handsets.
3G Third generation cellular mobile cellular wireless technology, that supports digi-
tal devices using WCDMA CDMA2000, and UMTS. 3G will allow many benefits as
broadband and high speed communication representing a shift from voice-centric
services to multimedia-oriented like video, voice, data, and fax services. 3G wireless
technology has the ability to unify existing cellular standards such as GSM, CDMA
and TDMA. 3G networks provide upwards of 100 – 300 Kbps, ramping to 1 – 4 mbps
throughput to handsets.
3G2 file file format based on 3GPP2 standard.
3GP file file format based on 3GPP standard.
3GPP a worldwide standard for the delivery of audio over third generation (3G) cel-
lular networks based on MPEG-4. 3GPP was created for use on the Global System for
Mobile Communication (GSM) networks, which is the world’s most popular type of
3G network. 3GPP2 was defined by a different group of telecommunications bodies
called 3rd Generation Partnership Project 2 (3GPP2) for use on the second most
popular type of 3G network, Code Division Multiple Access (CDMA) 2000.
3GPP and 3GPP2 formats are very similar. Both are based on the QuickTime file for-
mat and contain MPEG-4 and H.263 video, AAC and AMR audio, and 3G text. 3GPP2
adds the option to use QualComm PureVoice (QCELP) audio and Movie Fragments, a
technology that allows multimedia content to be delivered incrementally over stan-
8-2 GLOSSARY ORBAN MODEL 1010
dard TCP wireless networks, providing a more immediate viewing experience for the
end user.
3GPP2 See 3GPP.
802.11 IEEE evolving family of specifications for wireless local area networks
(WLAN) using the Ethernet protocol and and Carrier Sense Multiple Access with Col-
lision Avoidance (CSMA/CA) for path sharing. The original modulation used in
802.11 was phase-shift keying (PSK) with a maximum bandwidth of 2 Mbps. How-
ever, other schemes, such as complementary code keying (CCK), are used in some of
the newer specifications. The newer modulation methods provide higher data speed
and reduced vulnerability to interference.
802.11a one of several IEEE specifications of 802.11. 802.11a operates at radio fre-
quencies between 5.725 GHz and 5.850 GHz and uses a modulation scheme known
as orthogonal frequency-division multiplexing (OFDM) that is especially well suited
to use in office settings. Data speeds as high as 54 Mbps are possible. There is less
interference with 802.11a than with 802.11b, because 802.11a provides more avail-
able channels, and because the frequency spectrum employed by 802.11b (2.400
GHz to 2.4835 GHz) is shared with various household appliances and medical de-
vices.
802.11b one of several IEEE specifications of 802.11. 802.11b supports bandwidth
up to 11 Mbps, comparable to traditional Ethernet and operates at the same radio
frequency as the original 802.11 standard, 2.4 GHz. Being an unregulated frequency,
802.11b devices can incur interference from microwave ovens, cordless phones, and
other appliances using the same 2.4 GHz range. However, by installing 802.11b de-
vices at reasonable distances from other appliances, interference can easily be
avoided. 802.11b is the lowest cost in the 802.11 family. Signal range is best and is
not easily obstructed, however, it has a slow maximum speed and supports fewer
simultaneous users than newer implementations, such as 802.11g.
AAC (Advanced Audio Coding) AAC is an efficient lossy data compression scheme
intended for audio streams and designed to replace MPEG-1 Layer 3, MP3. AAC,
ISO/IEC 13818-7, is an extension of the MPEG-2 international standard, ISO/IEC
13818-3. It was further improved in MPEG-4, MPEG-4 Version 2 and MPEG-4 Version
3, ISO/IEC 14496-3. MPEG has crafted a number of AAC variants under the umbrella
of MPEG-2 and MPEG-4. These variants are called profiles in MPEG-2 and object
types in MPEG-4. They vary in complexity and usefulness for specific markets. This
variety allows vendors to select profiles specifically optimized for their applications.
OPTICODEC-PC GLOSSARY 8-3
This does not stand for Apple Audio Coding, although Apple Computer brought
mainstream attention to AAC by supporting it in its iPod and iTunes products. It pro-
vides better and more stable quality than MP3 at equivalent or slightly lower bi-
trates. Like other MPEG codecs, the AAC family of codecs can be wrapped in a vari-
ety of rights management solutions. Apple Fairplay, Real Helix, SDC, and others have
all been used in commercial systems with AAC.
AAC (Advanced Audio Coding) Profiles AAC has a modular approach to
encoding. Depending on the complexity of the bitstream to be encoded, the desired
performance and the acceptable output, implementers may create profiles to define
which of a specific set of tools to use for a particular application. The standard offers
six profiles:
AAC Main (Main Profile) AAC Main is AAC LC coupled with a backwards
adaptive predictor. AAC Main profile is rarely used, as it requires a huge
increase in complexity for very little gain in efficiency.
AAC LC (Low Complexity Profile) is the most widely used today, but is
starting to be replaced by HE AAC and aacPlus v2. It provides a good
trade off between complexity, quality, and bit rate.
AAC LTP (Long Term Prediction) AAC LTP combines AAC LC with the LTP
tool. LTP has the same purpose as the backwards adaptive predictor in
the MPEG-2 Main Profile and has the same limitations. Because the bene-
fits in audio quality are still small compared to the increase in complexity,
AAC LTP is rarely, if ever used and cannot be recommended for broad-
casting.
AAC LD (Low Delay) is the low delay variant of AAC. It specifically ad-
dresses the needs of two-way communication applications and sacrifices
compression efficiency. Since the typical delay of AAC or AAC+SBR is usu-
ally uncritical for broadcasting systems, it cannot be recommended for
broadcasting because of the loss in compression.
AAC Scalable is for hierarchical audio coding. Used in IP based systems,
it can also be useful in special broadcasting systems with robust core lay-
ers and less robust enhancement layers. However, no known broadcast-
ing systems use AAC Scalable today because of the very special use case
and the loss of compression efficiency in the higher layers.
HE AAC, also known as aacPlus, is the combination of AAC and SBR
Technology as specified in MPEG ISO/IEC 14496-3:2001/AMD-1: Band-
width Extension. It is the most efficient of the named AAC profiles, so it is
strongly recommended for broadcasting at bitrates of 128 K bps and be-
low. HE AAC is not intended to have a transparent rating; instead, it
minimizes audibly objectionable artifacts at low bitrates. Double-blind
MUSHRA testing by the European Broadcasting Union rates 48 kbit/s ste-
reo HE AAC in the “Excellent” category.
Depending on the AAC profile and the MP3 encoder, 96 kbit/s AAC or 48 kbit/s
aacPlus v2 can give nearly the same or better perceptional quality as 128 kbit/s MP3.
Different MP3 encoders perform differently and they produce output of sometimes
wildly varying quality.
8-4 GLOSSARY ORBAN MODEL 1010
AAC file (Advanced Audio Coding file) Raw, containerless AAC-encoded file. It
can be MPEG-2 or MPEG-4, although some profiles are only available in MPEG-4.
MPEG-4 is the official container that supports all AAC profiles and versions.
aacPlus™ a trademark owned by Coding Technologies which can refer to either
aacPlus v1 or aacPlus v2. aacPlus v1 is also known as high efficiency AAC, or HE AAC.
aacPlus v1 aacPlus™
aacPlus v2 is aacPlus v1 coupled with the MPEG Parametric Stereo (ISO/IES 14496-
3:2001/AMD2: 2004) technique created by Coding Technologies and Philips. Where
SBR enables audio codecs to deliver the same quality at half the bitrate, Parametric
Stereo enhances the codec efficiency a second time for low-bitrate stereo signals.
This combination is fully standardized by MPEG but does not have a specific profile
name at this time.
access file A text file called qtaccess that contains information about users and
groups who are authorized to access media in the directory in which the access file is
stored.
administrator A user with server or directory domain administration privileges.
administrator computer A computer with server administrator software installed
that can be used to configure and manage another computer.
AC-2 An older Dolby audio codec, now largely obsolete.
AC-3 Dolby’s transmission audio codec, used in DVDs and ATSC digital television,
among other applications.
ADC (analog-digital converter)
ADIF minimum structure unsync file format for storage
ADPCM (Adaptive Differential Pulse Code Modulation)
ADSL (Asymetrical Data Subscriber Line)
ADTS standard used by most MPEG-2 MP3 files
AES/EBU
AIFF/AIFC
AMR (adaptive multirate) Speech codec used for 3G wireless devices.
AMR-WB
announced broadcast A method such as Automatic Unicast (Announce) enabling a
broadcaster to negotiate with a server to accept a broadcast.
ARP
ARQ
ATAPI
Automatic Unicast (Announce) A method of delivering a broadcast to a stream-
ing server in which an SDP file is automatically copied and kept current on the
server. A broadcast user name and password must be created before starting such a
broadcast.
AVI (Audio Visual Interleave) A Windows video file format.
OPTICODEC-PC GLOSSARY 8-5
bandwidth The capacity of a network connection, measured in bits or bytes per
second, for carrying data.
BER (bit error rate)
BGP (Border Gateway Protocol)
bit A single piece of information, with a value of either 0 or 1.
bitrate The speed at which bits are transmitted on a network, usually expressed in
bits per second.
bitstream
broadcast Transmitting one copy of a stream over the whole network.
broadcast user A user who has permission to broadcast to the streaming server.
The broadcast user name and password are set in the General Settings pane of
Streaming Server Admin and are used in conjunction with announced broadcasts. It
is not necessary to create a broadcast user for UDP broadcasts.
browser plug-in Software that you attach to a browser to enable it to display spe-
cific data formats.
byte Eight bits.
CCITT (Comite Consultatif Internationale de Telegraphie et Telephonie) An
international committee based in Geneva, Switzerland, that recommends telecom-
munications standards, including the audio compression/decompression standards
(codecs) and the famous V. standards for modem speed and compression (V.90 and
so on). Although this organization changed its name to ITU-T (International Tele-
communications Union-Telecommunication), the old French name lives on.
CCK (Complementary Code Keying)
CDMA
CDMA2000
CDMAone
CDN (Content Delivery Network)
CELP (Code Excited Linear Prediction)
CIFS (Common Internet File System) formerly SMB
CIR (Committed Information Rate) When you order a virtual circuit for a service
such as frame relay or ATM, you can specify a guaranteed data rate that you want
the carrier to provide. The data rate is negotiated with the carrier as the CIR (com-
mitted information rate).
When the data rate exceeds the CIR, the network starts dropping packets, so CIR
should be a balance between the minimum and maximum bandwidth requirements.
You can also negotiate a burst rate that lets you exceed the CIR rate to accommo-
date spikes in traffic. The ability to burst depends on whether bandwidth is avail-
able. CIR may also be negotiated as variable over time, so that during busy business
hours more bandwidth is available.
Basically, CIR is the throughput rate that you negotiate with a service provider, and
they will usually attempt to guarantee that rate. One way the carrier guarantees CIR
is by dropping non-CIR traffic.
8-6 GLOSSARY ORBAN MODEL 1010
clip
clipping
client The user-side software or computer used to display streaming media.
codec Any technology for compressing and decompressing data. Codecs can be im-
plemented in software, hardware, or a combination of both.
CSMA/CA (Carrier Sense Multiple Access with Collision Avoidance)
Colo (Internet Colocation)
DAB (Digital Audio Broadcasting)
DAC (digital-analog converter)
data rate Amount of information per second. Usually measured in bits per second.
DAW (digital audio workstation)
DBS (Direct Broadcast Satellite)
dB (decibel)
dBfs
decibel
DHCP
diff scale
distortion
dither
DMA (Direct Memory Access)
DMZ (Demilitarized Zone) A screened-subnet firewall. The DMZ is outside the in-
ternal network, but is still secured by the firewall. Both the internal network and the
external network, usually the Internet, can access computers in the DMZ, but net-
work traffic cannot be directly transferred across the DMZ.
DNS (Domain Name Service) A service that translates host names to IP addresses.
DOCSIS
DRM (Digital Rights Management)
DSD (Direct Stream Digital) SACD
DSL (digital subscriber line) A broadband data transmission technology that op-
erates over telephone lines.
DSS (Darwin Streaming Server) Apple Computer open-source version of Quick-
Time Streaming Server (QTSS).
DV (digital video) A digital tape-recording format using approximately 5:1 com-
pression to produce Betacam quality on a very small cassette.
DVB (Digital Video Broadcasting)
DVD (Digital Versatile Disk)
DVD-Audio DVD using specified audio format.
DVD-Video DVD using specified video format.
OPTICODEC-PC GLOSSARY 8-7
dynamic IP address
EDGE
EIDE (Enhanced Integrated Drive Electronics)
EGPRS (Edge)
embedded system
EVDO
FED (forward error correction)
firewall Software or hardware that protects the network applications and network-
ing stack of a computer workstation or server. IP Firewall services, which can be part
of computer operating systems software, scans incoming IP packets and rejects or
accepts these packets based on a set of filters you create.
FireWire A hardware technology for exchanging data with peripheral devices, de-
fined by IEEE Standard 1394. Also called iLink.
flags
frame A single image in a movie or sequence of images.
frame rate In a movie, the number of frames per second.
FTP (File Transfer Protocol) A protocol that allows computers to transfer files over
a network. FTP clients using any operating system that supports FTP can connect to a
file server and download files, depending on their access privileges. Most Internet
browsers and a number of freeware applications can be used to access an FTP server.
G.711 ITU (International Telecommunication Union) standard that specifies Pulse
Code Modulation (PCM) of voice frequencies for a 3-KHz bandwidth at 48 kbps, 56
kbps and 64 kbps.
G.712
G.722 ITU (International Telecommunication Union) standard that specifies audio
for a 7-KHz bandwidth at 48 kbps, 56 kbps and 64 kbps using Adaptive Differential
Pulse Code Modulation (ADPCM) coding.
G.723 ITU (International Telecommunication Union) standard that specifies audio
transmitted at 5.3 kbps to 6.3 kbps, close to the quality of speech during a conven-
tional phone call.
G.726
G.728 ITU (International Telecommunication Union) standard that specifies audio
for a 3 KHz bandwidth at 16 kbps, using Low-Delay Code Excited Linear Prediction
(LD-CELP).
G.729 ITU (International Telecommunication Union) standard that specifies audio
for a toll-quality 8 kbps speech encoder, using linear prediction analysis-by-synthesis
coder.
group ID
GPRS
GSM
8-8 GLOSSARY ORBAN MODEL 1010
Reliable UDP
reference movie A .mov file created using a utility program like MakeRefMovie,
available at no cost from Apple for Macintosh and Windows. The file contains the
location of a streaming media file and can also contain the locations of multiple
streaming files. A reference file linked from a web page, for example, can direct a
client player to the on-demand presentation encoded for its particular connection
speed.
reflected stream A file or live broadcast delivered as a unicast stream. movie and
MP4 QTSS/DSS playlists also generate reflected streams.
relayed stream A stream that is passed from one server to one or more other serv-
ers. Relays can also be used to generate a multicast stream.
RFC
RIFF
RLE (run length encoded)
RTP (Real-Time Transport Protocol) A network-transport protocol used for trans-
mitting streaming real-time multimedia content over multicast or unicast network
services, usually used with RTSP and RTCP.
RTCP (Real Time Control Protocol)
RTSP (Real Time Streaming Protocol) A protocol for controlling a stream of real-
time multimedia content. Sources of data can include both live feeds and stored
clips.
SACD
sample rate The number of samples per second used for audio. Higher sample rates
yield higher quality audio than lower sample rates.
SAP (Session Announcement Protocol) A protocol used to announce Internet
multicast conferencing sessions. A conference is announced by periodically multicast-
ing a UDP announcement packet to a multicast address and port. Because SAP is de-
signed for multicast, it is suitable for setting up conference calls, not one-on-one IP
telephone calls.
SBR (Spectral Band Replication) is a technology that reduces the bitrate neces-
sary for audio codecs to provide high (although not transparent) subjective audio
quality. It transmits only a lower frequency band by means of its base codec, while
the receiver synthesizes higher frequencies from the lower frequency band by a
process similar to that used in harmonic-generating “exciters.” A low-bitrate control
signal is transmitted to the receiver. This signal contains hints for the receiver that
help it conform the generated high frequency signal to the original high frequency
signal present at the transmitter.
scope also known as TTL
SCSI (Small Computer System Interface) a parallel interface standard used by
computers for attaching peripheral devices, mainly storage.
SDP (Session Description Protocol) A text file used with QTSS/Darwin Streaming
Server that provides information about the format, timing, and authorship of a live
streaming broadcast and gives the user’s computer instructions for tuning in.
OPTICODEC-PC GLOSSARY 8-15
SHOUTcast™
signal-to-noise ratio
SIP (Session Initiation Protocol) An Internet protocol that provides simple appli-
cation layer signaling for setting up, maintaining, and terminating multimedia ses-
sions such as voice calls, videoconferences, and even instant messaging sessions. SIP
performs many of the functions of the ITU H.323 multimedia conferencing standard,
which was largely specified by the telecoms. SIP provides a more-scalable, higher-
performance, and more-efficient calling model. Because it is designed on the Inter-
net model, it is inherently distributed and supports the development of telephony
applications on Internet systems.
SMB (Server Message Block) Renamed CIFS
SMIL
SMTP (Simple Mail Transport Protocol) A protocol for sending email.
sprite An animated image that is managed by QuickTime. A sprite is defined once
and is then animated by commands that change its position or appearance.
SNMP
SNR (signal-to-noise ratio)
S/PDIF
SPI (Stateful Packet Inspection)
SSL (Secure Sockets Layer) An Internet protocol that allows you to send en-
crypted, authenticated information across the Internet.
static IP address An IP address that is assigned to a computer or device once and is
never changed.
streaming Delivery of audio or video data over a network in real-time, as a stream
of packets instead of a single file download.
TCP (Transmission Control Protocol) A method used along with the Internet Pro-
tocol (IP) to send data in the form of message units between computers over the
Internet. IP takes care of handling the actual delivery of the data, and TCP takes care
of keeping track of the individual units of data (called packets) into which a mes-
sage is divided for efficient routing through the Internet.
TDMA
temporal compression Image compression that is performed between frames in a
sequence. This compression technique takes advantage of redundancy between ad-
jacent frames in a sequence to reduce the amount of data that is required to accu-
rately represent each frame in the sequence. Sequences that have been temporally
compressed typically contain key frames at regular intervals.
TFTP
track A QuickTime data structure that represents a single data stream in a Quick-
Time movie. A movie may contain one or more tracks. Each track is independent of
other tracks in the movie and represents its own data stream.
transparent rating When a codec’s output cannot be distinguished from its input
in a statistically significant manner by a panel of expert listeners or viewers in bias-
8-16 GLOSSARY ORBAN MODEL 1010
controlled (usually double-blind) tests using critical program material, the codec is
said to be transparent.
TTL (time-to-live) A multicast broadcast has a TTL value that is set by the user. It
specifies the number of routers the stream will pass through before it stops propa-
gating over the network.
tween track A track that modifies the display of other tracks.
UDP (User Datagram Protocol) A data transport protocol that does not support
retransmission of lost packets, sometimes used instead of TCPIP.
UNIX
UMTS (Universal Mobile Telecommunications System)
unicast The one-to-one form of streaming. If RTSP is provided, the user can move
freely from point to point in an on-demand movie.
URL (Universal Resource Locator) A uniform way of specifying locations on the
Internet or a local file system.
USB
USB2
VBR (variable bitrate) A method of compressing data that takes advantage of
changes in the media’s data rate.
WAN (Wide Area Network)
WAP
WAV file A Microsoft Windows format for sound files.
WCDMA
webcast More properly termed netcast, a broadcast of live video or audio on a net-
work or the Internet.
WEP (Wired Equivalent Privacy)
WiFi
Windows CE
Windows 2000
Windows 2000 Server
Windows 2003 Server
Windows XP
WLAN (Wireless Local Area Network)
WMA (Windows Media Audio) Microsoft proprietary audio codec.
WMT (Windows Media Technologies) Microsoft proprietary technology for de-
livery and storage of multimedia based content.
WMV (Windows Media Video) Microsoft proprietary video codec.
WPA (Wi-Fi Protected Access)
OPTICODEC-PC GLOSSARY 8-17
WWW (World Wide Web) Referred to as “the Web,” is a collection of pages on the
Internet located on servers all around the world that can be read and interacted
with by computer.
XLR plug A three-pin audio connector that can be used with three-wire balanced
cables, which cause electromagnetic interference to be canceled out.
XML An extensible markup language, similar to HTML but more formal and more
flexible.