Orban OPTICODEC-PC 1010 Technical Manual
Orban OPTICODEC-PC 1010 Technical Manual

Orban OPTICODEC-PC 1010 Technical Manual

Aac/he aac/aacplus audio streaming encoder for windows 2000 / xp / 2003 server
Table of Contents

Advertisement

Quick Links

Technical Manual
OPTICODEC-PC
1010
AAC/HE AAC/aacPlus
Audio Streaming Encoder
®
for Windows
2000 / XP / 2003 Server
®
PRELIMINARY: Version 1.0 Software

Advertisement

Table of Contents
loading
Need help?

Need help?

Do you have a question about the OPTICODEC-PC 1010 and is the answer not in the manual?

Questions and answers

Summary of Contents for Orban OPTICODEC-PC 1010

  • Page 1 Technical Manual OPTICODEC-PC 1010 AAC/HE AAC/aacPlus Audio Streaming Encoder ® for Windows 2000 / XP / 2003 Server ® PRELIMINARY: Version 1.0 Software...
  • Page 2 8-32 kbps, for use with any qual- ity, Windows-compliant sound card. 1010 PE OPTICODEC-PC PE, AAC/HE AAC/aacPlus encoder for multiple streams of 8-320 kbps, for use only with the Orban Optimod-PC sound card/audio processor. MANUAL: Part Number: Description: 96127.100.01...
  • Page 3 (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.
  • Page 5 Technical Manual OPTICODEC-PC 1010 AAC/HE AAC/aacPlus Audio Streaming Encoder ® for Windows 2000 / XP / 2003 Server ® PRELIMINARY: Version 1.0 Software...
  • Page 6 All trademarks are property of their respective companies. This manual is part number 96127.100.01 © Copyright 2004 CRL Systems Inc. 1525 A , CA 94577 USA LVARADO TREET EANDRO Phone: +1 510 351-3500; Fax: +1 510 351-0500; E-Mail: custserv@orban.com; Web: www.orban.com...
  • Page 7: Forward

    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.
  • Page 9: Table Of Contents

    Table of Contents Forward ............................0-7 ..................SECTION 1 INTRODUCTION ...............................1-1 ........................1-1 BOUT THIS ANUAL ..........................1-1 VERVIEW Streaming Infrastructure Block Diagrams ................1-2 Figure 1-1: Typical streaming infrastructure where program material is sourced from a playout system application with live assist....................1-2 Figure 1-2: Typical streaming infrastructure where program material is sourced from a radio station on-air studio............................
  • Page 10 Figure 1-8: Web Server/Client Transports ..................1-24 Unicast ..........................1-24 Figure 1-9: Unicast ......................... 1-24 Multicast ..........................1-25 Figure 1-10: Multicast........................1-25 Relay Servers ........................1-25 Figure 1-11: Relay Server ....................... 1-26 Table 1-4: Summary of Server Capabilities and Compatibilities............ 1-26 Playing a Stream.........................
  • Page 11 Table 3-2: Firewall or router configuration for HTTP/ICY SHOUTcast ......... 3-7 — HTTP/ICY I 2 .....................3-7 NICAST CECAST Encoder Destination Server Parameters:................3-8 Firewall Considerations ......................3-8 Table 3-3: Firewall or router configuration for HTTP/ICY Icecast2..........3-8 ................SECTION 4 STREAMING SERVERS ...............................4-1 ...........................4-1 NTRODUCTION...
  • Page 12 Table 4-2: Firewall considerations for SHOUTcast DNAS ............4-17 2 ..........................4-17 CECAST Supported Protocol ......................4-17 Installation — Microsoft Windows..................4-18 Operating System Requirements..................... 4-18 Software Requirements ........................4-18 Optional Useful Network Utilities ....................4-18 Installation .......................... 4-18 Configuration........................4-19 Server User Interface ......................
  • Page 13 Metafile/Playlist Files......................5-17 Options ..........................5-20 Figure 5-7: Winamp 5.05 Preferences – General Preferences / File Types ........5-20 Live/File Stream Linking in a Web Page................5-20 ................5-21 ULTIPLE LAYERS ON A INGLE OMPUTER ................SECTION 6 SERVICE PROVIDERS ...............................6-1 Content Delivery – Hosting Services..................6-1 Content Encoding –...
  • Page 15: Section 1 Introduction

    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...
  • Page 16: Streaming Infrastructure Block Diagrams

    Good audio processing is one important thing that separates the amateur from the professional. The Orban Optimod-PC 1100, a professional PCI sound card designed for streaming media, provides “genuine radio”™ audio processing for Internet broadcasters. With...
  • Page 17: On-Air Studio

    OPTICODEC-PC INTRODUCTION AUDIO Internet INPUTS From Broadcast Program Line Network Metadata To Server From Encoder To Internet ENCODER COMPUTER SERVER COMPUTER Figure 1-2: Typical streaming infrastructure where program material is sourced from a radio station on-air studio Figure 1-3: Typical multiple streaming encoder/server infrastructure where program ma- terial is sourced from a player application...
  • Page 18: Specifications And System Requirements

    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. Specifications and System Requirements PE Version...
  • Page 19: Le Version

    OPTICODEC-PC INTRODUCTION 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;...
  • Page 20: Applications

    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.
  • Page 21: Remote Access & Control

    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.
  • Page 22: Mixing Facilities

    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.
  • Page 23: About Perceptual Coders

    OPTICODEC-PC INTRODUCTION 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.
  • Page 24: Coding Efficiency

    1-10 INTRODUCTION ORBAN MODEL 1010 distortion, or like warbling, comb filtering, or gurgling—an “underwa- ter” sound. Coding Efficiency Different sounds will vary greatly in the efficiency with which a perceptual coding system can encode them. Therefore, for a constant transmission bitrate, the mask- to-noise ratio will constantly change.
  • Page 25: Table 1-1: Aacplus Audio Bandwidth Vs. Bitrate, Sample Rate, And Channel Mode

    1-11 OPTICODEC-PC INTRODUCTION AAC does not stand for Apple Audio Codec, although Apple was one of the first to implement this technology with the introduction of Apple iTunes and QuickTime 6. The Coding Technologies “Spectral Band Replication” (SBR) process can be added to almost any codec.
  • Page 26: Table 1-2: Aac Audio Bandwidth Vs. Bitrate, Sample Rate, And Channel Mode

    1-12 INTRODUCTION ORBAN MODEL 1010 Channel Bitrate Sample rate Audio Bandwidth Mode [kbps] [kHz] [kHz] 1ch-Mono 1ch-Mono 1ch-Mono 24, 32 7.2, 7.2 1ch-Mono 24, 32 10.0, 10.0 1ch-Mono 24, 32, 44.1, 48 10.0, 10.0, 10.0, 10.0 1ch-Mono 24, 32, 44.1, 48 12.0, 12.4, 12.4, 12.4...
  • Page 27: Trading-Off Audio Bandwidth Against Bitrate, Sample Rate, And Channel Mode

    1-13 OPTICODEC-PC INTRODUCTION 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.
  • Page 28: Cascading Codecs

    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...
  • Page 29: Networking

    1-15 OPTICODEC-PC INTRODUCTION 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.
  • Page 30: Bandwidth Requirements

    E-3 or T-3 lines, or even higher capacity to serve. Large streams may even require more than one server to handle the necessary network throughput. However, since Orban Opticodec-PC is bandwidth efficient, you are able to serve a larger audience at a lower cost of operation with higher audio qual- ity than with inferior older generation codecs.
  • Page 31: Streaming Architecture

    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.
  • Page 32: Overview Of Streaming Architecture

    1-18 INTRODUCTION ORBAN MODEL 1010 Overview of Streaming Architecture There are several ways to stream content over a network. This can be confusing at first, because some of these ways are only slightly different from others. The termi- nology associated with them and the names that commonly refer to them can be equally confusing.
  • Page 33: Streaming Server Advantages

    1-19 OPTICODEC-PC INTRODUCTION network transports and protocols used with their associated servers. Streaming Server Advantages Streaming servers open a dialog with the media player. There are two sides to this dialog — one for passing control messages between the media player client and the server and one for transferring the media content.
  • Page 34: Rtsp/Rtp - Streaming Servers

    1-20 INTRODUCTION ORBAN MODEL 1010 • 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.
  • Page 35: Figure 1-5: Qtss/Dss Server/Client Transports

    1-21 OPTICODEC-PC INTRODUCTION • Optional Reliable UDP, if supported by the client player, can be used for a higher level of retransmission of lost packet control than TCP/IP. • Firewalls and/or routers can stop UDP/IP. • RTP can be interleaved with the RTSP control connection, which uses TCP/IP. This can get through firewalls that block UDP/IP.
  • Page 36: Http/Icy - Streaming Servers

    1-22 INTRODUCTION ORBAN MODEL 1010 • 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.
  • Page 37: Http - Web Servers

    1-23 OPTICODEC-PC INTRODUCTION & & Figure 1-7: Icecast2 Server/Client Transports HTTP — Web Servers HTTP on web servers has the following properties: • It is commonly called a fast start or progressive download stream. • HTTP uses TCP/IP protocol to ensure that all streaming packets are delivered, retransmitting if necessary.
  • Page 38: Unicast

    1-24 INTRODUCTION ORBAN MODEL 1010 & Figure 1-8: Web Server/Client Transports 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.
  • Page 39: Multicast

    1-25 OPTICODEC-PC INTRODUCTION Multicast In a multicast, a single stream is shared among the player clients. Although this tech- nique reduces network congestion, it requires a network that either has access to the multicast backbone (otherwise called the Mbone) for content generally distrib- uted over the Internet, or is multicast-enabled for content distributed within a con- tained private network.
  • Page 40: Figure 1-11: Relay Server

    1-26 INTRODUCTION ORBAN MODEL 1010 e i l c i t e i l e i l e i l Figure 1-11: Relay Server RTSP/RTP HTTP/ICY HTTP FUNCTION Streaming Streaming Server Server Server ■ ■ Live Streaming ■ □ ■...
  • Page 41: Playing A Stream

    1-27 OPTICODEC-PC INTRODUCTION Playing a Stream You can play streamed media content by: • Using a server-compatible streaming media player client and directly entering the URL of the stream. • Using a web browser and a server-compatible streaming media player client embedded in a web page.
  • Page 43: Section 2 Installation - Streaming Encoder

    OPTICODEC-PC INSTALLATION — STREAMING ENCODER 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).
  • Page 44 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-...
  • Page 45: Software Authentication

    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.
  • Page 46: Configuration - Graphical User Interface (Gui)

    INSTALLATION — STREAMING ENCODER ORBAN MODEL networking and streaming servers, see the Section 4: Streaming Servers starting page 4-1. Configuration — Graphical User Interface (GUI) Figure 2-1: The Opticodec-PC GUI Sound Device The S is only available on Opticodec-PC LE. S...
  • Page 47: Stream Description

    OPTICODEC-PC INSTALLATION — STREAMING ENCODER Bitrate Bitrate Connection Speed Safe Maximum Dial-Up 28.8kbps Modem 16kbps 20kbps Dial-Up 56kbps Modem 32kbps 40kbps Single ISDN 64kbps 48kbps 56kbps Dual ISDN 128kbps 80kbps 96kbps DSL 256kbps 128kbps 160kbps DSL 512kbps 256kbps 384kbps DSL 1.5Mbps 256kbps 384kbps Cable Modem...
  • Page 48: Destination Server

    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.
  • Page 49 OPTICODEC-PC INSTALLATION — STREAMING ENCODER 5. Filename [For a SHOUTcast server, this field is not used.] • For RTSP/RTP servers, provide the name of the .sdp file. • For HTTP/ICY Icecast2 servers, provide the name of the mountpoint. The filename or mountpoint: •...
  • Page 50: Audio Levels

    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.
  • Page 51: Command-Line Syntax - Multicast

    OPTICODEC-PC INSTALLATION — STREAMING ENCODER <session-author> <session-copyright> <rtsp-server-port> <stream-multicast> <rtsp-server-name-or-address> <remote-file-name> <username> <password> Example (Unicast to External RTSP Server): opticodec-pc_pe 1 32000 1 48 1 0 0 “Stream Name” Info “” “Copyright 2004” 554 0 123.45.67.8 stream.sdp username password Example (Unicast to Internal RTSP Server) (Point-to-Point): opticodec-pc_pe 1 32000 1 48 1 0 0 “Stream Name”...
  • Page 52: Creating Batch Files

    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 “”...
  • Page 53: Section 3 Configuration - Streaming Encoder

    OPTICODEC-PC CONFIGURATION — STREAMING ENCODER Section 3 Configuration — Streaming Encoder Unicast — RTSP/RTP Darwin Streaming Server Encoder/Server — Same Computer • Any encoder running on the same computer as DSS can connect without au- thentication. • A Username and Password are not required for the encoder.
  • Page 54: Encoder Destination Server Parameters

    CONFIGURATION — STREAMING ENCODER ORBAN MODEL 1010 Encoder Destination Server Parameters: Server: RTSP/RTP - Unicast URL: rtsp://127.0.0.1 or rtsp://localhost Port: 554 (Default) – Determined by server configuration. Username: [Leave this empty] Password: [Leave this empty] Filename: StreamName.sdp – Stream name of your choice.
  • Page 55: Encoder Destination Server Parameters

    OPTICODEC-PC CONFIGURATION — STREAMING ENCODER Any encoder running on a separate computer from QTSS/DSS requires QTSS/DSS au- thentication to connect. Encoder users and access must be configured on the streaming server. Do this by adding QTSS/DSS users and allowing them server write access. If the streaming server has not been configured, refer to the Section 4: Streaming Servers (starting on page 4-1) for more information.
  • Page 56: Multicast - Rtsp/Rtp Darwin Streaming Server

    CONFIGURATION — STREAMING ENCODER ORBAN MODEL 1010 Multicast – RTSP/RTP Darwin Streaming Server A server is not required for multicast operation. Opticodec-PC provides an internal multicast server. Currently, the only multicast compatible client player with Optico- dec-PC is Apple QuickTime. At this time, it only supports AAC, not HE AAC/aacPlus.
  • Page 57: Multicast Relay

    OPTICODEC-PC CONFIGURATION — STREAMING ENCODER Note the case sensitivity in the URL. 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.
  • Page 58: Unicast - Http/Icy Shoutcast

    CONFIGURATION — STREAMING ENCODER ORBAN MODEL 1010 Unicast — HTTP/ICY SHOUTcast 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.
  • Page 59: Firewall Considerations

    OPTICODEC-PC CONFIGURATION — STREAMING ENCODER 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.
  • Page 60: Encoder Destination Server Parameters

    CONFIGURATION — STREAMING ENCODER ORBAN MODEL 1010 Encoder Destination Server Parameters: Server: HTTP/ICY Icecast2 URL: http://streaming.server.ip.address or http://streaming_server_domain_name Port: 8000 (default) – Determined by server configuration. Username: [Leave this empty] Password: Encoder (Source) Password – Determined by server configuration. Filename: mountpoint.aac – Mountpoint name of your choice.
  • Page 61: Section 4 Streaming Servers

    Darwin Streaming Server (DSS) Darwin Streaming Server is a full featured, scaleable, enterprise-class streaming me- dia server that can stream both live streams encoded with Orban Opticodec-PC Streaming Encoder and files produced by the Orban Opticodec-PC File Encoder. It uses standards-based RTSP/RTP and HTTP protocols. It is open-source, based on the...
  • Page 62: Dss Installation - Windows

    UDP when possible. Both QuickTime Player 6 and RealPlayer 10 support this protocol. • HTTP/ICY (SHOUTcast/Icecast). This implementation of HTTP/ICY is Icecast1. This protocol has been deprecated and Icecast2 supersedes it. Orban Optico- dec-PC Streaming Encoder does not currently support it. DSS Installation — Windows...
  • Page 63: Operating System Requirements

    OPTICODEC-PC STREAMING SERVERS mended for small LAN or WAN applications. For larger Internet streaming applica- tions, it is always preferable to use separate encoder and server computers to opti- mize reliability, redundancy, and system architecture. Operating System Requirements Microsoft Windows 2000 Professional/Server, XP Professional, or 2003 Server Software Requirements ActivePerl 5.8 or above: http://www.activeperl.com/Products/ActivePerl/...
  • Page 64 STREAMING SERVERS ORBAN MODEL 1010 The installer prompts for the Administrator Password. F) Supply the Administrator Password. The installer adds the Administrator Username and Password. Do not close the command box. Minimizing the command box is OK. Closing the Command Box termi- nates Perl and will not allow the subsequent operations to complete in- stallation and configuration.
  • Page 65: Security: Access And Authentication

    OPTICODEC-PC STREAMING SERVERS 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.
  • Page 66: Opticodec-Pc Encoder And Dss On Different Computers

    If you allow unlimited access, any user is allowed server write access in the access file. Only use unlimited access for internally controlled networks such as LAN/WAN configurations. Because there is no authentication, any Orban Opticodec-PC or Ap- ple QuickTime Broadcaster can connect to the server and use unauthorized stream- ing bandwidth.
  • Page 67: Access Control

    OPTICODEC-PC STREAMING SERVERS Access Control Allow Write Access By default, DSS does not contain a qtaccess file. You must create a qtaccess file and place it in the DSS media directory, Windows default, C:\Program Files\Darwin Streaming Server\Movies. The file must be named qtaccess and saved as plain text without formatting.
  • Page 68 STREAMING SERVERS ORBAN MODEL 1010 require group <groupname1> <groupname2> require valid-user require any-user <Limit Write> </Limit> Terms not in angle brackets are keywords. Anything in angle brackets is information you supply. Do not include the angle brackets. • AuthName <message>...
  • Page 69: To Add A User

    OPTICODEC-PC STREAMING SERVERS • 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>...
  • Page 70: To Add A Group

    4-10 STREAMING SERVERS ORBAN MODEL 1010 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 C) Save the file as plain text without formatting.
  • Page 71: Firewall Considerations

    4-11 OPTICODEC-PC STREAMING SERVERS Firewall Considerations DSS is a very secure, robust streaming server designed to be connected directly to the Internet if required. It is not necessary or recommended to operate DSS from behind a firewall or router using Network Address Translation (NAT). This makes things much more complicated than they need to be.
  • Page 72: Shoutcastâ„¢ Dnas (Distributed Network Audio Server)

    (Distributed Network Audio Server) SHOUTcast™ DNAS (Distributed Network Audio Server) is a free, downloadable streaming media server that can stream live streams encoded with Orban Opticodec- PC Streaming Encoder and files produced by the Orban Opticodec-PC File Encoder, including stream-related metadata. SHOUTcast DNAS requires one server instance and port pair per stream.
  • Page 73: Operating System Requirements

    4-13 OPTICODEC-PC STREAMING SERVERS Operating System Requirements Microsoft Windows 2000 Professional/Server, XP Professional, or 2003 Server Software Requirements SHOUTcast DNAS 1.9.4 or above: http://www.shoutcast.com/download/serve.phtml Optional Useful Network Utilities NetPerSec: http://www.pcmag.com/article2/0,1759,1681,00.asp NetLimiter: http://www.netlimiter.com/index.php TCPView: http://www.sysinternals.com/ntw2k/source/tcpview.shtml Ethereal: http://www.ethereal.com Installation 1. Download SHOUTcast DNAS. http://www.shoutcast.com/download/license.phtml A) Accept the license agreement.
  • Page 74: Configuration - Multiple Streams

    4-14 STREAMING SERVERS ORBAN MODEL 1010 2. Edit the SHOUTcast DNAS Configuration File. A) Edit the items under the R header. EQUIRED TUFF The default values are: MaxUser=32 Password=changeme PortBase=8000 The PortBase value and value + 1 must be available. e.g.: 8000/8001 It is unnecessary for these to be even numbers.
  • Page 75 4-15 OPTICODEC-PC STREAMING SERVERS MaxUser=32 Password=changeme PortBase=8000 The PortBase value and value + 1 must be available for each server in- stance. e.g.: 8000/8001, 8002/8003, 8004/8005, 8006/8007… It is unnecessary for the pairs to increase in increments of 2. It is unnecessary for the first number in the pair to be even. However, even numbers are generally used.
  • Page 76: Server User Interface

    4-16 STREAMING SERVERS ORBAN MODEL 1010 B) And include it in: C:\Documents and Settings\All Users\Start Menu\Programs\Startup Server User Interface This is the SHOUTcast DNAS graphical user interface. Figure 4-1: SHOUTcast DNAS graphical user interface Remote Administration SHOUTcast DNAS provides remote administration via a web browser.
  • Page 77: Icecast2

    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.
  • Page 78: Installation - Microsoft Windows

    This information will quickly guide you through a typical Icecast2 GUI software in- stallation on a Microsoft Windows operating system and provide you with any Orban Opticodec-PC specific information. Installation, setup, and configuration of server software is not recom- mended for computer novices because of complexity and potential secu- rity risks.
  • Page 79: Configuration

    4-19 OPTICODEC-PC STREAMING SERVERS B) Save the Icecast2 server file to any directory. 2. Install Icecast2. A) Run the distribution self-extracting .exe to install. B) Accept all the defaults. The installer will automatically install Icecast2, an uninstaller, and a Start Menu Shortcut.
  • Page 80: Server User Interface

    4-20 STREAMING SERVERS ORBAN MODEL 1010 C:\Program Files\Icecast2 Win32\Icecast2.exe B) And include it in: C:\Documents and Settings\All Users\Start Menu\Programs\Startup Server User Interface This is the Icecast2 server graphical user interface. It shows the Server Status and Source Level Stats tabs.
  • Page 81: Streaming Files

    4-21 OPTICODEC-PC STREAMING SERVERS Note: AAC/HE AAC/aacPlus streams display as MP3 audio, since Icecast2 uses the same content type to stream both AAC and MP3 streams. Figure 4-3: Icecast Source Level Stats Tab Streaming Files Icecast2 provides a means of streaming static on-demand AAC/HE AAC/aacPlus files produced with Opticodec-PC File Encoder.
  • Page 82: Firewall Considerations

    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...
  • Page 83: Section 5 Client Players

    OPTICODEC-PC CLIENT PLAYERS 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;...
  • Page 84: Software Client Player File Formats

    CLIENT PLAYERS ORBAN MODEL 1010 Software Client Player File Formats ADTS MPEG-4 3GPP 3GPP2 PLAYER .aac/.acp .mp4/.m4a .3gp .3g2 ■ ■ ■ ■ QuickTime 6 ■ ■ ■ ■ RealPlayer 10 ■ Winamp 5.05 ■ Coding Technologies Player Table 5-3: Software Client Player File Formats...
  • Page 85: Real Networks Real Player 10

    OPTICODEC-PC CLIENT PLAYERS Real Networks RealPlayer 10 RealPlayer is used to play RTSP/RTP streams served from an RTSP/RTP server such as Darwin Streaming Server. RealPlayer has HTML embedded player capability for em- bedding players into web pages and/or creating custom players. RealPlayer currently does not support private authenticated streams supported by Darwin Streaming Server.
  • Page 86: Metafile/Playlist Files

    CLIENT PLAYERS ORBAN MODEL 1010 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...
  • Page 87: Additional Realplayer Parameters And Values

    CLIENT PLAYERS rtsp://123.45.67.8:554/live.sdp 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"&copyright="&#169;2004, Orban, Inc." C) Save the file with a .ram file extension when done. Double-clicking the .ram file will launch RealPlayer, connect, and play the stream. 2. Create .rpm File(s).
  • Page 88: Options

    CLIENT PLAYERS ORBAN MODEL 1010 Parameter Value Default Function copyright text (none) Gives the copyright notice hh:mm:ss.x (none) Ends the clip at the speci- fied point. mode normal|theater| normal Opens RealPlayer in one toolbar of three initial playback modes. media height...
  • Page 89 OPTICODEC-PC CLIENT PLAYERS 1. RealPlayer option for Player only (no Media Browser). A) Click Tools / Preferences in the menu bar. B) Click General. C) Under RealPlayer Options / On startup display: Change to Player only (no Media Browser). D) Click OK. Sometimes it may be necessary to change the Network Transport settings from their default values.
  • Page 90: Live/File Stream Linking In A Web Page

    CLIENT PLAYERS ORBAN MODEL 1010 D) Click RTSP Settings. The RTSP Transport Settings dialog box appears. E) Uncheck “Attempt to use UDP for all content.” F) Click OK. G) Click OK again to close Pref- erences. Live/File Stream Linking in a Web Page RealPlayer can be launched and can play streams or files directly from a streaming link in a web page.
  • Page 91: Embedded Players

    OPTICODEC-PC CLIENT PLAYERS <title>STREAM LINK</title> </head> <body> <a href="http://123.45.67.8/stream/stream.ram">STREAM LINK</a> </body> </html> C) Save the file with a .html file extension when done. D) The HTML file may be tested locally by double-clicking the HTML file. A web browser will open with your stream-linked web page. E) Clicking on the Stream Link will launch RealPlayer, connect, and play the stream.
  • Page 92: Apple Computer Quick Time 6

    5-10 CLIENT PLAYERS ORBAN MODEL 1010 Apple Computer QuickTime 6 QuickTime is used to play RTSP/RTP streams served from an RTSP/RTP server such as Darwin Streaming Server. QuickTime has HTML embedded player capability for em- bedding players into web pages and/or creating custom players. QuickTime supports private authenticated streams supported by Darwin Streaming Server.
  • Page 93: Metafile/Playlist Files

    5-11 OPTICODEC-PC CLIENT PLAYERS 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:...
  • Page 94: Table 5-6: Additional Quicktime Player Parameters And Values

    5-12 CLIENT PLAYERS ORBAN MODEL 1010 C) When finished, save the file with a .mov file extension. Double-clicking the .mov file will launch QuickTime, connect, and play the stream. 2. Create .qtl File(s). A) Open a text editor program such as Notepad.
  • Page 95: Options

    5-13 OPTICODEC-PC CLIENT PLAYERS <?quicktime type="application/x-quicktime-media-link"?> <embed src="rtsp://opticodec.net:554/live.sdp" controller=”false” /> Example file stream .qtl file: <?xml version="1.0"?> <?quicktime type="application/x-quicktime-media-link"?> <embed src="rtsp://123.45.67.8:554/file.mp4" /> <?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. C) Save the file with a .qtl file extension when done.
  • Page 96: Live/File Stream Linking In A Web Page

    5-14 CLIENT PLAYERS ORBAN MODEL 1010 Figure 5-4: QuickTime UDP Settings Figure 5-5: QuickTime HTTP Settings Live/File Stream Linking in a Web Page To play streams or files, QuickTime can be launched directly from a streaming link in a web page files. RTSP streams for QuickTime cannot be directly referenced in HTML.
  • Page 97: Embedded Players

    5-15 OPTICODEC-PC CLIENT PLAYERS <title>STREAM LINK</title> </head> <body> <a href="http://123.45.67.8/stream/file.qtl">STREAM LINK</a> </body> </html> C) When finished, save the file with a .html file extension. You can test the HTML file locally by double-clicking it. A web browser will open with your stream-linked web page. Clicking on the Stream Link will launch QuickTime Player, which will connect and play the stream.
  • Page 98: Nullsoft Winamp 5.05

    5-16 CLIENT PLAYERS ORBAN MODEL 1010 Nullsoft Winamp 5.05 Winamp is used to play HTTP/ICY streams and files served from an HTTP/ICY server such as SHOUTcast DNAS or Icecast2 server. Figure 5-6: Winamp 5.05 GUI (shown playing a live Opticodec-PC stream) Direct URL Entry and Play 1.
  • Page 99: Metafile/Playlist Files

    5-17 OPTICODEC-PC CLIENT PLAYERS 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.
  • Page 100 5-18 CLIENT PLAYERS ORBAN MODEL 1010 2. Create .pls File(s). A) Open a text editor program such as Notepad. B) Create an entry containing these items and the streaming URL. .pls file format: [playlist] numberofentries=<n> File1=<uri> Title1=<title> Length1=<length or -1>...
  • Page 101 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...
  • Page 102: Options

    5-20 CLIENT PLAYERS ORBAN MODEL 1010 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.
  • Page 103: Multiple Players On A Single Computer

    5-21 OPTICODEC-PC CLIENT PLAYERS B) Create the following HTML: Example HTML file – playlist file on same server/directory: <html> <head> <title>STREAM LINK</title> </head> <body> <a href="stream.pls">STREAM LINK</a> </body> </html> Example HTML file – playlist file on different server: <html> <head> <title>STREAM LINK</title>...
  • Page 105: Section 6 Service Providers

    OPTICODEC-PC SERVICE PROVIDERS 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.
  • Page 106: Live Encoding - Streaming & Netcasting

    SERVICE PROVIDERS ORBAN MODEL 1010 Live Encoding – Streaming & Netcasting Live event coverage requires audio mixing equipment, encoding computer or com- puters, and remote Intranet and/or Internet connectivity. Service providers should use Opticodec-PC AAC/HE AAC/aacPlus Streaming Encoders to capture and stream your events on a corporate Intranet or to the entire Internet for the highest audio quality.
  • Page 107: Section 7 References

    OPTICODEC-PC REFERENCES 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.
  • Page 108: Internet Links

    REFERENCES ORBAN MODEL 1010 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.
  • Page 109 OPTICODEC-PC REFERENCES 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...
  • Page 110 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/ Server Log Analysis enScaler http://www.enscaler.com/index.html enScaler MediaReports http://www.enscaler.com/products/mediareports.html Funnel Web Analyzer http://www.quest.com/funnel_web/analyzer/ MRTG – Multi Router Traffic Grapher http://mrtg.hdl.com/mrtg.htm NetTracker Web Analytics Solutions http://www.sane.com/ Sawmill Log Analysis http://www.sawmill.net/...
  • Page 111: Section 8 Glossary

    OPTICODEC-PC GLOSSARY 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.
  • Page 112 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.
  • Page 113 OPTICODEC-PC GLOSSARY 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.
  • Page 114 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.
  • Page 115 OPTICODEC-PC GLOSSARY 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.
  • Page 116 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)
  • Page 117 OPTICODEC-PC GLOSSARY 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.
  • Page 118 GLOSSARY ORBAN MODEL 1010 H.261 ITU (International Telecommunication Union) increasingly obsolete standard video codec specifically designed for transmission over ISDN lines in that data rates are multiples of 64 Kbit/s. The standard supports CIF and QCIF video frames at resolutions of 352x288 and 176x144 respectively. The coding algorithm is a hybrid of inter-picture prediction, transform coding, and motion compensation.
  • Page 119 OPTICODEC-PC GLOSSARY ID3v1 ID3v2 IDE (Integrated Drive Electronics) IEEE (Institute of Electrical and Electronics Engineers) An organization dedi- cated to promoting standards in computing and electrical engineering. IGMP (Internet Group Management Protocol) IMA (Interactive Multimedia Association) audio compression algorithm sup- ported by QuickTime with minimal quality degradation and a compression factor of 4 to 1.
  • Page 120 8-10 GLOSSARY ORBAN MODEL 1010 search, meteorology, global positioning systems, environmental monitoring and, those communication services that ensure safety of life at sea and in the skies. ITU-T (ITU – Telecommunication Standardization Sector) One of three sectors within the ITU created on 1 March 1993, replacing the former International Tele- graph and Telephone Consultative Committee (CCITT), whose origins go back to 1865.
  • Page 121 8-11 OPTICODEC-PC GLOSSARY Mbone (Multicast Backbone) A virtual network for real-time streaming over the Internet. MIB/MIB-II (Management Information Base) for network management of TCP/IP-based networks. MIDI (Musical Instrument Digital Interface) A standard format for sending in- structions to a musical synthesizer. MIME type (Multipurpose Internet Mail Extension) modifier track A track in a movie that modifies the data or presentation of other tracks.
  • Page 122 8-12 GLOSSARY ORBAN MODEL 1010 multicast An efficient, one-to-many form of streaming. Users can join or leave a multicast but cannot otherwise interact with it. multihomed A server with multiple IP addresses. NAT (Network Address Translation) A technique sometimes used so that multi- ple computers can share a single IP address.
  • Page 123 8-13 OPTICODEC-PC GLOSSARY chase third-party client software. PPTP has the additional advantage over other VPN technologies of being easy to setup. PPP (Point-to-Point Protocol) privileges Settings that define the kind of access users have to shared items. You can assign four types of privileges to a share point, folder, or file: read and write, read only, write only, and none (no access).
  • Page 124 8-14 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.
  • Page 125 8-15 OPTICODEC-PC GLOSSARY 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.
  • Page 126 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.
  • Page 127 8-17 OPTICODEC-PC GLOSSARY 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.

Table of Contents