Professional Documents
Culture Documents
MPEG Encoding
for SelenioFlex™ Ingest
February 2015
MPEG Encoding for SelenioFlex™ Ingest User's Guide
Publication Information
© 2015 Imagine Communications Corp.
Proprietary and Confidential.
Imagine Communications considers this document and its contents to be proprietary and confidential.
Except for making a reasonable number of copies for your own internal use, you may not reproduce this
publication, or any part thereof, in any form, by any method, for any purpose, or in any language other
than English without the written consent of Imagine Communications. All others uses are illegal.
This publication is designed to assist in the use of the product as it exists on the date of publication of
this manual, and may not reflect the product at the current time or an unknown time in the future. This
publication does not in any way warrant description accuracy or guarantee the use for the product to
which it refers. Imagine Communications reserves the right, without notice to make such changes in
equipment, design, specifications, components, or documentation as progress may warrant to improve
the performance of the product.
Trademarks
Stream™, SelenioFlex™ Ingest, and SelenioFlex™ are trademarks or trade names of Imagine
Communications or its subsidiaries.
Microsoft® and Windows® are registered trademarks of Microsoft Corporation. All other trademarks and
trade names are the property of their respective companies.
Contact Information
Imagine Communications has office locations around the world. For domestic and international location
and contact information, visit our Contact page
(http://www.imaginecommunications.com/company/contact-us.aspx).
© 2015 Imagine Communications Corp. Proprietary and Confidential. February 2015 | Page 2
MPEG Encoding
User's Guide Contents
Contents
MPEG Encoding Guide ........................................................................................... 4
Analyzing an MPEG file ............................................................................................................................. 4
Bitrate Viewer....................................................................................................................................... 4
Manzanita MPEGid2 ............................................................................................................................. 5
TSReader............................................................................................................................................... 5
Creating an MPEG Codec Profile in SelenioFlex Ingest ............................................................................ 6
Basic Profile information ...................................................................................................................... 6
Video .................................................................................................................................................... 6
Audio .................................................................................................................................................... 7
Options ................................................................................................................................................. 7
Closed-Captioning ................................................................................................................................ 8
Main Concept Advanced Settings ............................................................................................................. 9
Video Settings....................................................................................................................................... 9
Advanced Video Settings .................................................................................................................... 12
Audio Settings .................................................................................................................................... 15
Multiplexer Settings ........................................................................................................................... 17
Advanced Multiplexing ........................................................................................................................... 21
More about Transport Streams .............................................................................................................. 22
Closed Captions ...................................................................................................................................... 24
MPEG Broadcasting ................................................................................................................................ 25
Codec Profile Settings......................................................................................................................... 25
ISO-639-2 Language codes ..................................................................................................................... 27
Analysis of Multiplexing types and Default settings............................................................................... 39
© 2015 Imagine Communications Corp. Proprietary and Confidential. February 2015 | Page 3
MPEG Encoding
User's Guide MPEG Encoding Guide
However, if you must encode an MPEG file that will be played back on a specific piece of equipment,
with it’s own specific encoding parameter requirements, the setup can be quite involved. The variation
on specifications with the MPEG format is vast and one quickly discovers that it is not enough to just
encode an MPEG2 file. Such an encode, without knowing the remaining encoding parameters, would
almost certainly be unusable on the desired decoder/playback system.
The exception to this would be if you require a CableLabs compliant file for playback on a VOD server. In
that case the sample project included with your SelenioFlex Ingest software should be used as a guide.
Note that in order to make a CableLabs compliant file, AC-3 audio (Dolby Digital) is required. The AC-3
audio codec is an optional add-on codec for SelenioFlex Ingest, with its own license.
Bitrate Viewer
This provides information on the basic encoding parameters of the MPEG video and GOP (Group of
Pictures). Things that should be known after running bitrate viewer are:
Stream type
Resolution
Aspect ratio
Framerate
Nom. bitrate
VBV buffer size
Constrained param. flag
Chroma format
DCT precision
Pic. structure
Field topfirst
DCT type
© 2015 Imagine Communications Corp. Proprietary and Confidential. February 2015 | Page 4
MPEG Encoding
User's Guide MPEG Encoding Guide
Quantscale
Scan type
Frame type
GOP info
15 IBBPBBPBBPBBPBB No No Yes
Manzanita MPEGid2
This provides information on how the file has been Multiplexed and provides some information about
the audio encoding parameters that is not given by Bitrate Viewer.
# Manzanita Systems MPEGId V2.0.0
# Report Date: Thu Oct 20 22:42:30 2005
File: C:/Documents and Settings/admin/My Documents/Imagine Communications/MPEG
Tests/KoolConnect/MainConceptATSC/ProgramStream/MPEG2.mpg
Type: MPEG-2 Program Stream
File Size: 4668 KB
Duration: 7 sec
Program Mux Rate: 5236000 bps
ES - MPEG-2 Video
stream_id: 0xE0
Profile: Main
Level: Main
Bit Rate: 3600000 bps
Frame Rate: 29.97 fps
Resolution: 720 x 480
Aspect Ratio: 3:4
ES - MPEG Layer II Audio
stream_id: 0xC0
Layer: 2
Bit Rate: 192000 bps
Sample Rate: 48000 sps
TSReader
Provides specific information about more complicated MPEG encodes.
Examples of the variation of Transport Stream types can be found in the appendices.
© 2015 Imagine Communications Corp. Proprietary and Confidential. February 2015 | Page 5
MPEG Encoding
User's Guide MPEG Encoding Guide
In the SelenioFlex Ingest interface use the main menu to choose Codec Profile > Create > Main Concept
> MPEG2 to open the following window where you can enter some of the basics.
Video
1. Set the Resolution/Frame Size from the information found in Bitrate Viewer.
© 2015 Imagine Communications Corp. Proprietary and Confidential. February 2015 | Page 6
MPEG Encoding
User's Guide MPEG Encoding Guide
Audio
Choose the desired sampling rate 32k, 44.1k or 48k (48k is generally used for DVD authoring)
Options
1. PID or Packet ID is generally used for Transport Streams and will be discussed later in this guide.
2. Timecode. If preserving timecode from the source is required it can be done with this option.
Timecode can only be preserved from an RS 422 controlled source (a deck).
3. Picture display extension may be used to move the center of the picture during encoding.
4. Force I Frame at In-points is an option that needs to be selected if the DVD Authoring output option
is to be used along with a capture log to create a DVD with chapters. This option will provide for
DVD authoring options to be enabled on the output tab and further setup for this option can be
done there. DVD authoring with chapters can only be done from an RS 422 controlled source (a
deck) and must contain at least 2 clips in the shot log. These clips must then be concatenated on the
input tab.
The DVD Output option can also be used with one clip. In that case the DVD will be created without a
menu or chapters.
© 2015 Imagine Communications Corp. Proprietary and Confidential. February 2015 | Page 7
MPEG Encoding
User's Guide MPEG Encoding Guide
Closed-Captioning
This section can be used to embed closed captioning from line 21 of an NTSC video source or from a
previously created SCC file. If your SCC file does not have timecode starting at zero, then enter the offset
in the space provided. If you are embedding CC or making an SCC file, you must disable format
conversion (DRC-5550 set your input profile to none and for all other products, do not deinterlace the
video on the video process tab.). Note that this closed captioning is the type of closed captioning used
for broadcast (608/708 compliant closed captioning), not DVD closed captioning, which uses a different
type of embedding. DVD authoring packages that can use an SCC file for captioning are: Sonic Scenarist
3.0+, Adobe Encore DVD 2.0+ and Apple DVD Studio Pro 2.0+.
© 2015 Imagine Communications Corp. Proprietary and Confidential. February 2015 | Page 8
MPEG Encoding
User's Guide MPEG Encoding Guide
Video Settings
In this window, you can change the settings for Frame Rate, Aspect Ratio, GOP Structure and Bitrate.
Frame Rate
This should match the frame rate being used by the source (live input or file input). Frame Rate
conversion is not possible here.
Aspect Ratio
Square Pels: Square Resolution (used on Computer Monitors)
4:3 Display Standard Television format
16:9 Display Widescreen TV/Cinema format
2.21:1 Display Film mode format
© 2015 Imagine Communications Corp. Proprietary and Confidential. February 2015 | Page 9
MPEG Encoding
User's Guide MPEG Encoding Guide
Pulldown
The pulldown option in MainConcept is for generating a 29.97 fps MPEG file from a 23.976 fps source.
The encoder then inserts flags to tell a decoder when to repeat fields to bring the output up to 29.97fps.
This option is not for taking a telecine master (film material converted to 29.97fps NTSC) and restoring it
back to 23.976 (pulldown removal). If you do need pulldown removal, please ask Imagine
Communications Support about using a DirectShow filter that does pulldown removal.
© 2015 Imagine Communications Corp. Proprietary and Confidential. February 2015 | Page 10
MPEG Encoding
User's Guide MPEG Encoding Guide
will be dependent on the last P frame of the previous GOP and cannot be decoded correctly without
decoding the previous GOP first. When a GOP is closed, the first few frames of a GOP are encoded
so they only depend on the I frame in the GOP (the previous GOP is not required). This can be useful
for setting "chapter" points so a player can jump to these GOPs and can start decoding immediately
without having to read the previous GOP (or discarding the first few B frames).
Bitrate type
Constant: Fixed bitrate (the relevant input prompt will be enabled if selected)
Variable: The minimum and maximum values define the bitrate range the encoder should stay
within while encoding. The average value is the desired average bitrate of the video stream. The
relevant input prompts will be enabled if selected.
Variable Bitrate
The Constant quality affects the macroblock quantization value, sort of the "compression" of the
macroblocks. Lower numbers yield better quality and larger files (larger bitrate results in less
compression). The range is 1 ... 31; 1 is probably excessive in that the quality does not improve much but
the file size increases quite a bit. A good range is probably 3 ... 15 for constant quality operation. In
normal VBR/CBR modes, the encoder changes the macroblock quantization value to adjust the bitrate;
in constant quality mode it does not. You have to set the average bitrate to zero in order to make the
Constant quality option active.
© 2015 Imagine Communications Corp. Proprietary and Confidential. February 2015 | Page 11
MPEG Encoding
User's Guide MPEG Encoding Guide
The MPEG-2 spec (specification) allows for a large number of variations in the settings. The Profiles and
Levels just set limits on what the values of some of the other settings can be; so if a specification (like
the DVD spec) says only Main Profile/Main or Simple Level is allowed, the decoders can safely assume
what the bounds of some settings are going to be. A DVD player does not have to account for the
resolution being 1920 x 1080 because the DVD spec only allows a maximum of Main Profile/Main Level
which only enables for a maximum frame resolution of 720x576.
Profile ID
You can choose between 4:2:2 Profile, High Profile, Main Profile (standard setting) and Simple
Profile.
Level ID
You can choose between High Level, High 1440 Level, Main Level (standard setting) and Low Level.
© 2015 Imagine Communications Corp. Proprietary and Confidential. February 2015 | Page 12
MPEG Encoding
User's Guide MPEG Encoding Guide
This option specifies the starting timecode in the GOP header of the video stream. It is independent of
the timecodes in the program stream. This timecode is specified as a frame number which is converted
to a hr:min:sec:frame type timecode and placed in all GOP headers (automatically incremented). For
instance, with 25 fps and a Start Time set to 300, the first timecode would be 00:00:12:00 or 12 seconds.
As another example, one could encode 1 hour of video with the start time set to zero, then encode
another hour of video with the start time set to 3600 seconds. Then when the two videos are played one
after the other the timecode will be continuous between the two files.
When you enable this option particular black and white values are preserved. During encoding and
decoding the RGB color space with R=G=B=16 is used, which corresponds to the color black.
Furthermore, the RGB color space with R=G=B=235 is used which corresponds to the color white.
Normally the values for white are R=G=B=255 and for black R=G=B=0. The specification ITU601R now
defines black (Y=16) and white (Y=235), i.e., the real video signal receives values which are"blacker than
black" or "whiter than white" (so called super-black and super-white values). These super-black and
© 2015 Imagine Communications Corp. Proprietary and Confidential. February 2015 | Page 13
MPEG Encoding
User's Guide MPEG Encoding Guide
super-white values get lost in the normal PC RGB 0…255 color space, but they are preserved with the
Input video is RGB16-235 option enabled.
Additional Settings
The Additional settings contain many more parameters for professional users.
From the test’s in Bitrate viewer, apply the values from your test file as follows:
Sequence Header - VBV Buffer Size Values entered must be double that which is desired. For
example: a desired value of 112, would require entering 224
Sequence Extension - Chroma Format Enter a 0 for 4:2:0 format, and a 1 for 4:2:2 format. Note that
the Profile ID must be set to 4:2:2 or High Profile before any changes can be made to the Sequence
extension.
Picture Coding Extension – Intra DC Precision Enter the Value from Bitrate Viewer for DCT Precision.
Picture Coding Extension – Quantization Scale Type Enter the Value from Bitrate Viewer for
Quantscale.
Picture Coding Extension – Use Alternate Scanning Type Select the type from Bitrate viewer for
Alternate or ZigZag
© 2015 Imagine Communications Corp. Proprietary and Confidential. February 2015 | Page 14
MPEG Encoding
User's Guide MPEG Encoding Guide
Audio Settings
This tab offers professional adjustments for encoding files that include audio.
Audio type
The audio types that are available will vary depending on the Multiplexer type you select on the
Multiplexer Settings tab.
None: If you do not want to encode audio, you just want to encode a video elementary stream,
select none here.
MPEG-1 Layer 1: Normally not used
MPEG-1 Layer 2: Used for VCD, SVCD and PAL DVD
PCM: Used for NTSC DVD
NTSC DVDs use LPCM (Linear PCM) audio (or AC3) as the standard audio type instead of MPEG
Layer2. LPCM is an uncompressed audio format, which offers higher quality but it also uses far more
of the total bitrate (consequently less bitrate is available for the video stream). PCM is only available
when you choose one of the program stream options as your multiplexer type (such as MPEG-2),
and is seldom used for PAL DVDs.
AES3 (302M): Used by some VOD severs. This audio type is only available when you choose one of
the transport stream options as your multiplexer type.
© 2015 Imagine Communications Corp. Proprietary and Confidential. February 2015 | Page 15
MPEG Encoding
User's Guide MPEG Encoding Guide
AES3 (331M): Used for SDTI-CP streams, ie Sony MPEG IMX decks.
AES3 (382M): Mapping AES3 streams and broadcast wave audio to the MXF generic container in a
form that DirectShow can use.
Mode
Stereo: Standard stereo; this is the default for MPEG2 Layer 2 and MPEG2 Layer 1
Channels: If you pick PCM this will default to 2 channels. If you pick AES3 (320M) then this will also
default to 2 channels.
Bitrate (kbps)
32-384: This specifies the bitrate of the audio stream. Depending on the MPEG type selected, some
values may not be available. Increasing the bitrate will yield better sound quality and result in larger
files, or if the total bitrate is limited it will mean less of the total bitrate is available for the video.
This setting will not be available for PCM or AES3 audio types.
MPEG details
These settings will be available if you pick MPEG2 Layer 2 or MPEG2 Layer 1 audio.
De-Emphasis has three options: None, 50/15 uS and citt. j 17.
This is a flag to the player specifying what kind of de-emphasis to perform on the audio. For DVD
and SVCD specify None. VCD can be either None or 50/15 uS.
Set private bit: Just a spare bit in the audio headers, which is user defined. DVD specifies it shall be
0.
Set copyright bit: Specifies whether the audio is copyrighted or not, this setting is completely
arbitrary; it has no effect whatsoever.
Set original bit: Specifies whether the audio is a copy or an original, this setting is completely
arbitrary; it has no effect whatsoever.
Enable CRC: Specifies whether a CRC is embedded in each audio frame; both SVCD and DVD specify
enabled.
Psycho-acoustic model:
Two different models (1 and 2) specified by MPEG to compute the "just noticeable noise level".
PCM/AES details
The following settings will be available if you pick PCM audio.
Dynamic range control:. When you enable this option the Gain controls become active.
Gain (dB): The Gain value (X and Y) is a recommended gain value to be applied to all audio samples
by the player, where: Gain = 24.082 - 6.0206 * X - 0.2007 * Y.
Mute flag: Flag to the player whether to mute or not when all samples in an audio frame are zero.
Emphasis (48 KHz only): Flag to the player whether emphasis is to be applied to all audio samples
from the start of the audio stream.
If you pick AES3 audio the Bits per sample setting will become active (16, 20, 24).
© 2015 Imagine Communications Corp. Proprietary and Confidential. February 2015 | Page 16
MPEG Encoding
User's Guide MPEG Encoding Guide
Multiplexer Settings
In this tab you can control whether your exported MPEG files will be multiplexed (also referred to as
"muxed"). Multiplexed output means that the video and audio are exported in a single file. This window
also offers several professional settings for muxing.
Note: Not all multiplexing can be accomplished using the embedded Main Concept multiplexer.
Examples are AC-3 audio and MPEG encodes with sub channel audio. Fortunately, when using Imagine
Communications SelenioFlex Ingest you can simply create the elementary files and a post-encode
multiplex can be automatically run from the SelenioFlex Ingest Output tab. If you require this type of
advanced multiplexing talk to Imagine Communications Support and ask for sample projects that
illustrate this post encode multiplexing technique.
Multiplexing Type
The drop-down menu offers the options for System Streams, Program Streams and a variety of different
Transport Streams.
© 2015 Imagine Communications Corp. Proprietary and Confidential. February 2015 | Page 17
MPEG Encoding
User's Guide MPEG Encoding Guide
Also see More about Transport Streams (on page 22) following this section.
Variable Bitrate
This option sets the muxing mode to variable or constant bitrate. If it is turned off (constant bitrate),
the output data stream will contain padding packets (if needed) to maintain the constant bitrate. In
variable bitrate muxing no padding packets are added.
Pack Options
Under this heading you find the options used to control the packs/packets. The muxed bitstream is
broken up into these 'packs' with a pack header starting each one and they contain 1 or more PES
(Program Elementary Stream) packets (chunks of the video or audio stream).
Size is the number of bytes in each pack (or sector);
VCD and SVCD use 2324 bytes
DVD uses 2048 bytes
Generic MPEG-1/2 can use up to 4096 bytes (4096 is the codec limit, not MPEG's limit)
The Packets/Pack setting specifies the number of PES packets that are placed in each pack. VCD,
SVCD and DVD always want 1 PES packet per pack.
The required Mux Rate can be determined by using Manzanita MPEGid2. The total value for the
Mux rate must be greater than the total of the audio and video bitrates. The Main Concept
multiplexer will require some additional headroom.
© 2015 Imagine Communications Corp. Proprietary and Confidential. February 2015 | Page 18
MPEG Encoding
User's Guide MPEG Encoding Guide
The Extra Packets/s setting defines how many extra 0 packets are added to the Transport Stream.
Video Options
Buffer Size (kB):
This setting specifies the size of the buffers needed to decode the video and audio. If it is too low,
you will get buffer overflows, which could show up as stuttering video and/or audio. Usually it is set
to the same size as the video VBV buffer (although the VBV units are half these units), DVD specifies
© 2015 Imagine Communications Corp. Proprietary and Confidential. February 2015 | Page 19
MPEG Encoding
User's Guide MPEG Encoding Guide
232 for the video buffer. Software decoders usually ignore the buffer sizes, but most hardware
players will have problems if the buffer size is not correct.
VBV is the abbreviation of Video Buffering Verifier. It is a hypothetical decoder with a buffer whose
size is specified by the Video Buffer Size. Encoded pictures from the MPEG stream are placed into
the buffer (hypothetically) and removed from the buffer at regular intervals. The MPEG video
stream is supposed to be constructed by varying the size of the encoded frames such that the buffer
does not underflow (i.e. becomes empty where there are no frames in the buffer when it is time to
decode one) or overflow (i.e. becomes full where no space is available for more encoded pictures).
Timestamps: You find All frames, I & P frames and I frames in this menu. Here you can choose
which frames in the stream have a timestamp attached. The timestamps are needed for
synchronization of video and audio. In general, it is enough to set this option to I-Frame. For
particular formats the values are clearly defined.
Pulldown: This option contains three parameters: 2:3, 3:2 and Auto. When pulldown is present in
the video stream, the multiplexer must adjust the PTS/DTS timestamps to account for the extra
fields displayed. This option should be set to the same value as the video pulldown setting (or to
Auto).
© 2015 Imagine Communications Corp. Proprietary and Confidential. February 2015 | Page 20
MPEG Encoding
User's Guide MPEG Encoding Guide
Advanced Multiplexing
The integrated multiplexer provided within the MainConcept codec will be suitable for most tasks.
However, the integrated muxer has the following limitations:
1. It is confined to the audio formats that it can encode to (which does not include AC3).
2. It can only encode a single stereo pair.
Version 2.2 of SelenioFlex Ingest software provides an additional multiplexer on the SelenioFlex Ingest
Output tab for each MPEG2 codec profile that has been added to a project that can be used to
overcome the limitations of the integrated muxer.
The following example shows a multi-language mux with four channels of AC3 audio.
The video file name will be automatically added to the muxer based on the MPEG2 video codec added
to the project, as well as any audio files that have codec profiles added to the project. Additional audio
files can be added is required by navigating to the file. PID values must be specified manually as well as
the language codes. Language codes are ISO 639-2 (3 character). A list of the language codes can be
found in the appendix of this guide. If the mux rate (at the bottom of the window) is left at zero, then
the value will be automatically calculated. If you choose to specify a mux rate then you need to choose a
value that is higher than the combined total bitrate of the video and audio used in the mux, plus about
5% headroom.
© 2015 Imagine Communications Corp. Proprietary and Confidential. February 2015 | Page 21
MPEG Encoding
User's Guide MPEG Encoding Guide
In order to reconstruct a program from all its video, audio, and table components, it is necessary to
ensure that the PID assignment is done correctly. You can assign PIDs for encoding to Main Concept
when you make your MPEG codec profile in SelenioFlex Ingest. A default will be used for any PID left
unassigned. Use TSReader on your source sample to determine any unknown PIDs.
© 2015 Imagine Communications Corp. Proprietary and Confidential. February 2015 | Page 22
MPEG Encoding
User's Guide MPEG Encoding Guide
On the SelenioFlex Ingest MPEG Profile codec window (not the MainConcept Advanced window) you will
see a button for "PIDs". Click that button to open the following PID window. To enter a PID value, check
the "custom" box following the field you want to edit.
© 2015 Imagine Communications Corp. Proprietary and Confidential. February 2015 | Page 23
MPEG Encoding
User's Guide MPEG Encoding Guide
Closed Captions
There are a couple methods of encoding CC in the MPEG file.
The first is with user mode data, which is typically used on raster sizes of 720x480. Imagine
Communications currently supports 608/708 closed captioning data in the user mode data (for NTSC).
This is the method that is used by MPEG2 broadcast files. However, there is another way to embed
closed captioning data in the user mode data that is used by DVDs, and that is a method that Imagine
Communications does not currently support as an option in the MPEG codec profile. If you want to add
closed captioning to a DVD then you must encode a SCC file (which is supported by SelenioFlex Ingest
software as another codec profile type) and add that SCC file to your DVD authoring software to include
closed captioning.
It is also possible to make an encode with CC preserved in the video raster for server playback systems
that support files at 720x512. Many of these systems are based on Stradis or Vela mpeg decoder cards.
Projects have been included with current versions of SelenioFlex Ingest software that set everything up
to include NTSC CC on line 21 of the video raster. These can be opened from within SelenioFlex Ingest
Software under File ->Open Local Project Select either Stradis or Vela.
For those that would like to set this up manually for the DRC-1000 to DRC-2500 boards, this involves the
codec profile is set for 720x512 Level ID : High Profile. With a hardware input set to 720x480, we will use
Imagine Communications VBI capture feature to start on line 21 and preserve two lines. This brings the
input raster size to 720x484. We don’t want to scale the video to 512 so we pad 26 lines of black border
to the top of the raster and 2 lines to the bottom. Then just make sure the project preserves interlaced
fields on the video process tab.
© 2015 Imagine Communications Corp. Proprietary and Confidential. February 2015 | Page 24
MPEG Encoding
User's Guide MPEG Encoding Guide
MPEG Broadcasting
MPEG transport streams can be used for live broadcasting. That is, you can encode a live video input and
receive it on another system and play back the video as it is being encoded. MPEG2 streams can be
played back with a software player on a computer, or with a set top box that feeds the signal to a TV.
Note that both UDP and RTP protocols are supported. This is of particular concern if you plan to stream
to a set top box.
If you choose Multicast you must choose an IP address in the multicast range,
If you choose Unicast you must choose an IP address that is not in the multicast range, and that is not
reserved for some other purpose.
Class Start address Finish address Type
A 0.0.0.0 127.255.255.255
B 128.0.0.0 191.255.255.255
C 192.0.0.0 223.255.255.255
A 10.0.0.0 10.255.255.255
B 172.16.0.0 172.31.255.255
© 2015 Imagine Communications Corp. Proprietary and Confidential. February 2015 | Page 25
MPEG Encoding
User's Guide MPEG Encoding Guide
C 192.168.0.0 192.168.255.255
The Time to live (TTL) setting is the number or router hops the stream will travel. To limit it's range turn
down this value.
Turning up the buffer time will increase the reliability of the stream, but will also increase the latency.
The player will also have a buffer time.
VLC Player
In order to playback your MPEG2 transport stream on a computer, you need a software player.
The VLC Player, available from http://www.videolan.org/vlc/, can be used to playback your MPEG2
transport stream.
In the VLC Player, for playback of an MPEG2 stream, choose File > Open Network Stream.
- For Unicast choose the first radio button: UDP/RTP
- For Multicast choose the second radio button: UDP/RTP Multicast
- Fill in the IP Address of the machine sending the multicast and the port
A project has been included with current versions of SelenioFlex Ingest software that set everything up
for an MPEG2 UDP Broadcast. This can be opened from within SelenioFlex Ingest Software under File -
>Open Local Project - Select MPEG2 Broadcast
© 2015 Imagine Communications Corp. Proprietary and Confidential. February 2015 | Page 26
MPEG Encoding Appendix A
User's Guide MPEG Encoding Guide
Appendix A
© 2015 Imagine Communications Corp. Proprietary and Confidential. February 2015 | Page 27
MPEG Encoding Appendix A
User's Guide MPEG Encoding Guide
bak Bashkir
bal Baluchi
bam Bambara
ban Balinese
baq Basque
bas Basa
bat Baltic (Other)
bej Beja
bel Belarusian
bem Bemba
ben Bengali
ber Berber (Other)
bho Bhojpuri
bih Bihari
bik Bikol
bin Edo
bis Bislama
bla Siksika
bnt Bantu (Other)
bos Bosnian
bra Braj
bre Breton
btk Batak
bua Buriat
bug Bugis
bul Bulgarian
bur Burmese
cad Caddo
cai Central American Indian (Other)
car Carib
cat Catalan
cau Caucasian (Other)
ceb Cebuano
cel Celtic (Other)
cha Chamorro
chb Chibcha
che Chechen
chg Chagatai
chi Chinese
chk Truk
chm Mari
chn Chinook jargon
© 2015 Imagine Communications Corp. Proprietary and Confidential. February 2015 | Page 28
MPEG Encoding Appendix A
User's Guide MPEG Encoding Guide
cho Choctaw
chp Chipewyan
chr Cherokee
chu Church Slavic
chv Chuvash
chy Cheyenne
cmc Chamic languages
cop Coptic
cor Cornish
cos Corsican
Creoles and Pidgins, English-based
cpe
(Other)
Creoles and Pidgins, French-based
cpf
(Other)
Creoles and Pidgins, Portuguese-
cpp
based (Other)
cre Cree
crh Crimean Tatar
crp Creoles and Pidgins (Other)
cus Cushitic (Other)
cze Czech
dak Dakota
dan Danish
dar Dargwa
day Dayak
del Delaware
den Slave
dgr Dogrib
din Dinka
div Divehi
doi Dogri
dra Dravidian (Other)
dua Duala
dum Dutch, Middle (ca. 1050-1350)
dut Dutch
dyu Dyula
dzo Dzongkha
efi Efik
egy Egyptian
eka Ekajuk
elx Elamite
eng English
© 2015 Imagine Communications Corp. Proprietary and Confidential. February 2015 | Page 29
MPEG Encoding Appendix A
User's Guide MPEG Encoding Guide
© 2015 Imagine Communications Corp. Proprietary and Confidential. February 2015 | Page 30
MPEG Encoding Appendix A
User's Guide MPEG Encoding Guide
© 2015 Imagine Communications Corp. Proprietary and Confidential. February 2015 | Page 31
MPEG Encoding Appendix A
User's Guide MPEG Encoding Guide
kar Karen
kas Kashmiri
kau Kanuri
kaw Kawi
kaz Kazakh
kbd Kabardian
kha Khasi
khi Khoisan (Other)
khm Khmer
kho Khotanese
kik Kikuyu
kin Kinyarwanda
kir Kyrgyz
kmb Kimbundu
kok Konkani
kom Komi
kon Kongo
kor Korean
kos Kusaie
kpe Kpelle
kro Kru
kru Kurukh
kua Kuanyama
kum Kumyk
kur Kurdish
kut Kutenai
lad Ladino
lah Lahnda
lam Lamba
lao Lao
lat Latin
lav Latvian
lez Lezgian
lim Limburgish
lin Lingala
lit Lithuanian
lol Mongo-Nkundu
loz Lozi
ltz Letzeburgesch
lua Luba-Lulua
lub Luba-Katanga
lug Ganda
© 2015 Imagine Communications Corp. Proprietary and Confidential. February 2015 | Page 32
MPEG Encoding Appendix A
User's Guide MPEG Encoding Guide
lui Luiseño
lun Lunda
luo Luo (Kenya and Tanzania)
lus Lushai
mac Macedonian
mad Madurese
mag Magahi
mah Marshallese
mai Maithili
mak Makasar
mal Malayalam
man Mandingo
mao Maori
map Austronesian (Other)
mar Marathi
mas Masai
may Malay
mdr Mandar
men Mende
mga Irish, Middle (ca. 1100-1550)
mic Micmac
min Minangkabau
mis Miscellaneous languages
mkh Mon-Khmer (Other)
mlg Malagasy
mlt Maltese
mnc Manchu
mni Manipuri
mno Manobo languages
moh Mohawk
mol Moldavian
mon Mongolian
mos Mooré
mul Multiple languages
mun Munda (Other)
mus Creek
mwr Marwari
myn Mayan languages
nah Nahuatl
nai North American Indian (Other)
nap Neapolitan Italian
nau Nauru
© 2015 Imagine Communications Corp. Proprietary and Confidential. February 2015 | Page 33
MPEG Encoding Appendix A
User's Guide MPEG Encoding Guide
nav Navajo
nbl Ndebele (South Africa)
nde Ndebele (Zimbabwe)
ndo Ndonga
nds Low German
nep Nepali
new Newari
nia Nias
nic Niger-Kordofanian (Other)
niu Niuean
nno Norwegian (Nynorsk)
nob Norwegian (Bokmål)
nog Nogai
non Old Norse
nor Norwegian
nso Northern Sotho
nub Nubian languages
nya Nyanja
nym Nyamwezi
nyn Nyankole
nyo Nyoro
nzi Nzima
oci Occitan (post-1500)
oji Ojibwa
ori Oriya
orm Oromo
osa Osage
oss Ossetic
ota Turkish, Ottoman
oto Otomian languages
paa Papuan (Other)
pag Pangasinan
pal Pahlavi
pam Pampanga
pan Panjabi
pap Papiamento
pau Palauan
peo Old Persian (ca. 600-400 B.C.)
per Persian
phi Philippine (Other)
phn Phoenician
pli Pali
© 2015 Imagine Communications Corp. Proprietary and Confidential. February 2015 | Page 34
MPEG Encoding Appendix A
User's Guide MPEG Encoding Guide
pol Polish
pon Ponape
por Portuguese
pra Prakrit languages
pro Provençal (to 1500)
pus Pushto
que Quechua
raj Rajasthani
rap Rapanui
rar Rarotongan
roa Romance (Other)
roh Raeto-Romance
rom Romani
rum Romanian
run Rundi
rus Russian
sad Sandawe
sag Sango (Ubangi Creole)
sah Yakut
sai South American Indian (Other)
sal Salishan languages
sam Samaritan Aramaic
san Sanskrit
sas Sasak
sat Santali
scc Serbian
sco Scots
scr Croatian
sel Selkup
sem Semitic (Other)
sga Irish, Old (to 1100)
sgn Sign languages
shn Shan
sid Sidamo
sin Sinhalese
sio Siouan (Other)
sit Sino-Tibetan (Other)
sla Slavic (Other)
slo Slovak
slv Slovenian
sma Southern Sami
sme Northern Sami
© 2015 Imagine Communications Corp. Proprietary and Confidential. February 2015 | Page 35
MPEG Encoding Appendix A
User's Guide MPEG Encoding Guide
smi Sami
smj Lule Sami
smn Inari Sami
smo Samoan
sms Skolt Sami
sna Shona
snd Sindhi
snk Soninke
sog Sogdian
som Somali
son Songhai
sot Sotho
spa Spanish
srd Sardinian
srr Serer
ssa Nilo-Saharan (Other)
ssw Swazi
suk Sukuma
sun Sundanese
sus Susu
sux Sumerian
swa Swahili
swe Swedish
syr Syriac
tah Tahitian
tai Tai (Other)
tam Tamil
tat Tatar
tel Telugu
tem Temne
ter Terena
tet Tetum
tgk Tajik
tgl Tagalog
tha Thai
tib Tibetan
tig Tigré
tir Tigrinya
tiv Tiv
tkl Tokelauan
tli Tlingit
tmh Tamashek
© 2015 Imagine Communications Corp. Proprietary and Confidential. February 2015 | Page 36
MPEG Encoding Appendix A
User's Guide MPEG Encoding Guide
© 2015 Imagine Communications Corp. Proprietary and Confidential. February 2015 | Page 37
MPEG Encoding Appendix A
User's Guide MPEG Encoding Guide
zap Zapotec
zen Zenaga
zha Zhuang
znd Zande
zul Zulu
zun Zuni
© 2015 Imagine Communications Corp. Proprietary and Confidential. February 2015 | Page 38
MPEG Encoding Appendix B
User's Guide MPEG Encoding Guide
Appendix B
© 2015 Imagine Communications Corp. Proprietary and Confidential. February 2015 | Page 39
MPEG Encoding Appendix B
User's Guide MPEG Encoding Guide
Level: Main
Bit Rate: 6000000 bps
Frame Rate: 29.97 fps
Resolution: 720 x 480
Aspect Ratio: 3:4
ES - MPEG Layer II Audio
stream_id: 0xC0
Layer: 2
Bit Rate: 224000 bps
Sample Rate: 48000 sps
Type: SVCD Program Stream
Program Mux Rate: 2788800 bps
ES - MPEG-2 Video
stream_id: 0xE0
Profile: Main
Level: Main
Bit Rate: 2420000 bps
Frame Rate: 29.97 fps
Resolution: 480 x 480
Aspect Ratio: 3:4
ES - MPEG Layer II Audio
stream_id: 0xC0
Layer: 2
Bit Rate: 224000 bps
Sample Rate: 44100 sps
Type: DVD Program Stream
Program Mux Rate: 10080000 bps
ES - Private Stream
stream_id: 0xBF
ES - MPEG-2 Video
stream_id: 0xE0
Profile: Main
Level: Main
Bit Rate: 8000000 bps
Frame Rate: 29.97 fps
Resolution: 720 x 480
Aspect Ratio: 3:4
ES - Private Stream
stream_id: 0xBD
Type: DVD-VR Program Stream
Program Mux Rate: 10080000 bps
© 2015 Imagine Communications Corp. Proprietary and Confidential. February 2015 | Page 40
MPEG Encoding Appendix B
User's Guide MPEG Encoding Guide
ES - Private Stream
stream_id: 0xBF
ES - MPEG-2 Video
stream_id: 0xE0
Profile: Main
Level: Main
Bit Rate: 6000000 bps
Frame Rate: 29.97 fps
Resolution: 720 x 480
Aspect Ratio: 3:4
ES - MPEG Layer II Audio
stream_id: 0xC0
Layer: 2
Bit Rate: 224000 bps
Sample Rate: 48000 sps
© 2015 Imagine Communications Corp. Proprietary and Confidential. February 2015 | Page 41
MPEG Encoding Appendix B
User's Guide MPEG Encoding Guide
© 2015 Imagine Communications Corp. Proprietary and Confidential. February 2015 | Page 42
MPEG Encoding Appendix B
User's Guide MPEG Encoding Guide
© 2015 Imagine Communications Corp. Proprietary and Confidential. February 2015 | Page 43
MPEG Encoding Appendix B
User's Guide MPEG Encoding Guide
© 2015 Imagine Communications Corp. Proprietary and Confidential. February 2015 | Page 44
MPEG Encoding Appendix B
User's Guide MPEG Encoding Guide
© 2015 Imagine Communications Corp. Proprietary and Confidential. February 2015 | Page 45