background image

4.1

Audio encoding and streaming

4.1

Audio encoding and streaming

The SAS220 can encode audio into one of the following formats:

MP3 with constant bitrate.

MP3 with variable bitrate.

Ogg Vorbis (with variable bitrate).

So, which format should you use and what do you need to consider?

4.1.1

Which format to choose

When deciding which format you have to use, there are few things you have to take into consideration,
such as compatibility, quality and bandwidth usage.

You encode the audio, so that it can be received and played by an audio streaming receiver device (e.g.
a Lukas, Lisa, or SIR device). Depending on the setup an audio distribution server might be involved,
for distributing the audio to the receiving devices.

First and foremost, you need to make sure that all of the components in the setup support the audio
format. So, it is not a good idea to encode in Ogg Vorbis, if some of the receiving devices are of type
Lukas I, which only support MP3.

When compatibility issues have been considered/resolved, then you would look at the advantages a
format offers, such as quality/bitrate proportion, licensing costs etc.

Ogg Vorbis is a completely open, patent-free, professional audio encoding and streaming technology with
all the benefits of Open Source. Vorbis is a lossy codec just like MP3, but sounds better than MP3.

More information about Ogg Vorbis and comparison with other commonly used formats, can be found
at

http://en.wikipedia.org/wiki/Ogg_Vorbis

.

4.1.2

Encoding quality

When encoding audio using lossy codecs (which Vorbis and MP3 both are), the quality of the resulting
stream depends on the encoding parameters used.

You could say that for the same codec, the higher the quality, the higher the bitrate of the resulting
stream.

When encoding at a constant bitrate, all input audio is encoded uniformly. As you can imagine, this is
not always very efficient. Some audio parts are ’easier’ then others (e.g. silence, slow instrumental music
etc.) and it would be possible to encode with ’less bits’.

In contrast to constant bitrate, when encoding using variable bitrate the encoder will try to keep the
quality constant i.s.o. the bitrate. There are fewer bits required for encoding easy audio fragments then
difficult ones. As a result, the bitrate of the resulting stream is changing continuously around a nominal
value.

Ogg Vorbis performs by design better in variable bitrate mode. For this purpose, it is not possible to
configure the SAS220 to encode Ogg Vorbis at a constant bitrate. When you choose for Ogg Vorbis you
have automatically chosen for variable bitrate.

While for MP3 a nominal bitrate is used, for Ogg Vorbis the use of a quality factor is typical. The quality
factor in combination with the sampling frequency also results in a nominal bitrate. The quality factor
can have the value 0-10 (5 is typical).

Below, you can find a lookup table with an overview of what nominal bitrates would be achieved for the
different samplerate/quality-factor combinations.

Version 1.3

28/10/2015

10 of 21

Summary of Contents for SAS220

Page 1: ...STREAMIT BV All rights reserved THE MATERIAL CONTAINED HEREIN IS COPYRIGHTED AND PROTECTED UNDER NATIONAL AND INTERNATIONAL COPYRIGHT LAWS AS AN UNPUBLISHED WORK AND UNAUTHORIZED REPRODUCTION OR MODIFICATION IS PROHIBITED WITHOUT WITHOUT THE EXPRESS PRIOR WRITTEN CONSENT OF STREAMIT ...

Page 2: ...ting the USB service cable 9 4 Basic knowledge 9 4 1 Audio encoding and streaming 10 4 1 1 Which format to choose 10 4 1 2 Encoding quality 10 4 2 Device configuration 11 4 3 Streamit device portal the web interface for SAS220 devices 11 4 4 Why a remote web interface 12 4 5 Restrictions of the web interface 12 4 6 Configuration update 12 4 7 Remote monitoring 13 5 Configuring your SAS220 device 1...

Page 3: ...12 Arlind Cela Initial version 1 1 10 01 2012 Arlind Cela Created a quickstart guide version from the user manual resource 1 2 18 12 2012 Arlind Cela Removed references to the SAS220 Reference Manual 1 3 28 10 2015 Gerard Hollemans General update Version 1 3 28 10 2015 2 of 21 ...

Page 4: ...our Windows PC meant for advanced configuration and monitoring of your Streamit devices This program can be downloaded from the Streamit website free of charge For more information on Streamit products and technologies we invite you to visit our website https www streamit eu Finally we wish you a lot of pleasure using your SAS220 device Streamit B V 2 2 Streamit support With this user manual we ha...

Page 5: ...e K Infrared receiver indicator Q Streamit logo L Status indicator 2 5 Back view Fig 2 SAS220 back view A External Protective Earth connector E 6 3 mm headphone connector connector B RJ45 Ethernet connector F Balanced right XLR connector C USB connector G Balanced left XLR connector D Screw power supply connector Version 1 3 28 10 2015 4 of 21 ...

Page 6: ... U 4 x chassis mount openings T 4 x rubber feet The unique 5 hexadecimal digits serial number located under the barcode is a is used as an identification for registering your device in the Streamit device portal or other configuration platforms Version 1 3 28 10 2015 5 of 21 ...

Page 7: ... one or two devices in a 19 inch rack 3 1 1 Mounting a single SAS220 device in a 19 inch rack To mount a single SAS220 in an 19 inch rack you make use of the large side mounting plate and one of the small side mounting plates At each side of the device there are two screws and two small slot like openings Start with one side of your device and remove the Phillips head screws using an appropriate s...

Page 8: ... over You will see it has four Phillips head screws with black rubber feet two for each side Using an appropriate screwdriver remove the two feet on the opposite side to the side mounting plate The openings on the side now form slots with the same width as the dev dev mounting plates and half the length of the dev dev mounting plates Fit the dev dev mounting plates in the slots and you will see it...

Page 9: ...plicable connected to the frame of the whole setup When this scenario applies to you simply connect the PE connector of the SAS220 device to the frame of your setup with a conductive wire The following steps are followed Unscrew the connectors head until you see the complete hole in the con nector Put the stripped part of the conductive wire in the hole Screw the connector head back on Make sure t...

Page 10: ...ut Connect the line output of your audio source to the audio input of your SAS220 device using XLR audio cables with male connectors No audio cables are included with your SAS220 device 3 3 5 Connecting the headphones To listen to the input signal of the SAS220 a headphone with 6 3 mm connector can be connected The audio is only available while the SAS220 is encoding streaming 3 3 6 Connecting the...

Page 11: ...ts can be found at http en wikipedia org wiki Ogg_Vorbis 4 1 2 Encoding quality When encoding audio using lossy codecs which Vorbis and MP3 both are the quality of the resulting stream depends on the encoding parameters used You could say that for the same codec the higher the quality the higher the bitrate of the resulting stream When encoding at a constant bitrate all input audio is encoded unif...

Page 12: ...s to MP3 format 4 2 Device configuration There are three ways to configure your SAS220 device From the web interface Streamit device portal Via a telnet client Using the Streamit Terminal Program The recommended configuration interface for the SAS220 device is the web interface implemented as part of the Streamit device portal In this document Streamit device portal and web interface will be used ...

Page 13: ...possible to configure the IP settings of the device This restriction was introduced to avoid problems when wrong IP settings are configured in the device Wrong IP settings would result in the device not being able to communicate with the web interface anymore which would require someone to go on site and fix it By default the SAS220 device will be using DHCP mode When the network where the device ...

Page 14: ...toring With remote monitoring the device sends status messages every in minutes configurable interval to a monitoring server With the information contained in these logs you get a clear picture of the operation of the device e g for troubleshooting The SAS220 must be configured to send monitoring messages This function must be switched on and the URL of the monitoring server must be set Such a mon...

Page 15: ...charge Once you have an account you can manage your Streamit SAS220 device and other devices from Streamit on Streamit device portal When you own an account on the Streamit device portal you can register your SAS220 device Go to Devices Audio encoders and click on the button Add a new audio encoder Fill in the form that appears taking the following into account The serial number is found on the st...

Page 16: ...configura tion update When manually powered on or when restarted 5 2 Telnet Telnet is supported on SAS220 devices but is by default disabled To configure your SAS220device using the Telnet interface this must first be enabled Telnet can be enabled from any of the other configuration interfaces Streamit device portal and Streamit Terminal Program Not all Telnet features are supported The implementa...

Page 17: ...s the configuration interface we recommend that the device is set in the I want to use fixed configuration operation mode using STP otherwise the device configuration could be overridden by the web interface the next time the device perform a configuration update Fig 9 Using Telnet To break the connection with the device you type quit without the quotes and press enter If no activity is detected o...

Page 18: ...ed for used in the following scenarios During the installation phase e g for the configuration of IP settings or to enable Telnet For low level monitoring of the operation of devices When it is not possible or not desired to use the other configuration interfaces e g you only require fixed configuration in the device or you do not have access to the Streamit device portal For these scenarios you s...

Page 19: ... changed When required you can select the desired settings for Telnet in the Advanced section of the settings Fig 11 STP general settings page To configure the network settings of your device you follow these steps Click the Connection button to access the network configuration page Under the section IP settings you are given the option to configure the device either in DHCP or Static IP Fixed net...

Page 20: ...ther the SAS220 has to stream to a distribution server or act as a server itself Under the station details information about the station is entered This information is communi cated in the HTTP header to the server or connected client devices The UI has been implemented in such a way that only the relevant fields will be enabled E g In case Ogg Vorbis is selected as the encoding format then the qu...

Page 21: ... the SAS220 device will update to this version During the download and programming of the new software also called software update it is important that you do not switch off and or remove the power supply of your SAS220 device When you do this you risk that the device stops functioning In case this happens you can only load new software into the device using STP Loading the new software may take u...

Page 22: ... the first time When a connection is established the SAS220 will start to encode and stream the audio data A digital VU meter will be shown on the display and audio will be audible from the headphone connector Version 1 3 28 10 2015 21 of 21 ...

Reviews: