Operation Manual

59
o basename_XXXX.ts: These will be the bitstream encoded files. XXXX is an
increasing count. For the example above, the encoder will create files named
live_1.ts, live_2.ts, live_3.ts, live_4.ts, and so on. At any
given point in time, there will be five or six consecutive files in the configured
directory if the encoder is configured to remove older files.
Segment (sec): Number of seconds per segment. This defines the approximate size (in
seconds) for the above bitstream encoded files. The valid range is from 1 to 20 seconds.
Note that the clients will experience latency approximately equal to the segment size
times the number of segments. The recommended value is 10 seconds. Setting the
segment size to less than 3 seconds may cause performance issues with the FTP/SFTP
server (especially Windows servers running FileZilla); the result will be a non-zero count
of dropped segments.
Number of Segments: This defines the number of bitstream segments advertised in the
playlist. The minimum number, as per the HLS specification, is 3. Some set-top boxes
require 4 segments. Apple devices (iPads, iPods, etc.) work well with 3 segments.
Extra Server Compatibility: Check this box if the encoder has problems renaming files
in the server. This is typically required for Windows FTP servers. Linux-based servers
do not need this. Niagara Video recommends checking this box only if your server
requires it.
Keep Segments on Server: Normally, when a segment falls out of the playlist file, it is
automatically deleted by the encoder. If you check this box, the bitstream is left in the
server. Clients will still start playing from the first segment in the playlist.
Program Name: This program name is placed in the playlist file. Whether or not it is
shown depends on the client. This is an optional parameter.
Using the settings above, if the directory /var/www/TV is published on server
www.example.com as http://www.example.com/TV, the URL for the video will be:
http://www.example.com/TV/live.m3u8
When using the built-in server in the B264, the options are:
Server Location: Select Local to use the local server in the device itself.
Segment (sec): Number of seconds per segment. This defines the approximate size (in
seconds) for the above bitstream encoded files. The valid range is from 1 to 20 seconds.
Note that the clients will experience latency approximately equal to the segment size