beautypg.com

Playing video on a web page – Cobalt Digital COMPASS 9223-SA Dual-Channel 3G_HD_SD MPEG-4 Encoder Unit User Manual

Page 101

background image

101

9223SA-OM (V2.0)

Playing Video on a Web Page

In general, there are two ways of playing video on a web page:

Using a web-browser plugin
or

Using the HTML5

tag, for browsers that support it

Unfortunately, the HTML5 standard did not actually specify what type of audio/video encoding
and container was to be supported. Therefore, even though the current versions of all major
browsers support the

tag, there is no single format that will work on all browsers.

Moreover, since the 9223-SA is an encoder designed primarily for the broadcast market, it uses
the transport stream container, which is not supported natively by any browser. Therefore, it is
not possible to use the HTML5

tag with content generated by the 9223-SA.

In order to play the bitstream coming from the 9223-SA in a web page, a plugin with the
appropriate audio, video and container support must be installed in the web browser. The Open-
Source VideoLAN player includes appropriate plugins that will work with the bitstream coming
from the 9223-SA. The VideoLAN player can be downloaded from:

http://www.videolan.org/vlc/

There are two types of plugins:

ActiveX controls, used by Internet Explorer

“Mozilla” (Netscape) style plugins, used by most other browsers (Firefox, Chrome,
Safari)

When installing the VideoLAN player, make sure to select the appropriate plugins for the
browsers you intend to use. Note that the “Mozilla” style plugin is not installed by default. The
figure below indicates the choices to be made during the VideoLAN installation in order to get
the plugins installed on a Windows PC. If multiple browser support is required, both types of
plugins can be selected (but at least one “Mozilla-style” browser must be already installed).

VideoLAN version 2.0.1 or later is recommended. Earlier versions had stability problems with
the Mozilla plugin and did not support HTTP Live Streaming.