Setup of encoding TS-files to HLS VOD format

You may use our transcoder to encode video files to Apple HLS format for VOD streaming service. Source file should be in Transport Stream  (TS) container.  The following procedure describes configuration of source input and HLS output. Steps needed for configuration of output Templates.

1. Copy source file to encoder

To copy source file to local file system of the encoder, you should access the local drive using SMB protocol. For instance, from Windows-based PC open UNC path to “C” drive on encoder using known login/password to file system: Error! Hyperlink reference not valid.

Then create new folder \VOD and copy source file to \\<encoderIP>\c$\VOD\

2. Setup of source file using Add Channel screen

Click on “Channels” tab, then “Add channel”. Enter channel name and then fill the following values:

Source Protocol - .ts file -> vod
Source address – c:\vod\inception.ts.
Run automatic  identification of all tracks inside TS file  - In “Service: click here to get all services and tracks”. When value  “Select some options” appear in Video Track and Audio Track fields, click drop-down list in Service and select “2- on air”
in Video Track and Audio Track select desired tracks
Leave the remaining values default

3. Setup an output VOD stream parameters

Click on the “Output streams” tab and then “Add output”.  Enter a description (optionally). Then fill the fields as follows:

Start mode – auto
Channel – select input channel from the drop down list
Template – choose a template you have created earlier
Audio template – select an audio template
Format  - HLS
Segment length – 8 (seconds, should be an integer multiple of GOP size, if GOP is 100 frames and frame rate is 25 FPS, then the value 8 is “4 seconds x 2”).
Output URL – put the local folder name like d:\HLS . If publishing to Web-DAV or SMB file share is globally configured, the final URL will look like \\<server name>\output\<Output URL folder name>\playlist.m3u8
Click Update

4. Starting the channel output

On the “Channels” page click the start icon. Refresh the page after a few seconds, if all settings are correct the state of channel should be “transcoding” and the percentage of processed file will be changing .

5. Checking result of HLS VOD stream

When transcoding is complete, you may copy all files to any web-server with correct mime-types for HLS playback (.m3u8 – application/x-mpegURL or,  .ts - video/MP2T).

To test playback, you may open the direct URL to playlist.m3u8 in Safari browser on iOS device. Alternatively, use one of the public HLS players, like

Web-server should be configured to allow cross-domain references, since many of HLS players are Flash-based, and loading playlist from one domain into player hosted on another domain can be unsuccessful without this setting. Basically you have to put crossdomain.xml file into the root of Web-server.

Example of crossdomain.xml file contents.

<?xml version="1.0"?>
<allow-access-from domain="*" />