Adding File Streams
7 min
this input creates a file input for the zixi broadcaster from a local or mounted disk and subsequently streams it to the end user if the stream is an mpts stream, you can either upload it as an mpts file or you can demux it into separate spts input streams to demux the mpts stream, create the input stream by following the instructions below, and then follow the instructions in the demuxing an mpts stream docid\ fil363whm6ibixibmn2fz section to add a file stream in the zixi broadcaster navigation menu, click the inputs tab in the menu bar, click new input and select the file type the add a new input stream window is displayed new file input enter the unique stream i d select the maximum concurrent connections to this stream from the max outputs drop down list default unlimited select the show in matrix check box to display this stream in the matrix (see using the matrix docid\ bp6mo9f2qbxmu6gurkog4 ) default selected select the log this stream checkbox if you would like to generate event logs for this input select the analyze checkbox if you would like to enable stream analysis for the input specify the stream parameters (see input stream parameters table docid\ q5kzpoxxffpuvbfvrp6fo ) if you want to enable time shift , select this checkbox (see input stream parameters table docid\ q5kzpoxxffpuvbfvrp6fo ) the stream will be recorded and broadcast after the specified delay the time shift feature is typically used to broadcast a live event across time zones (due to the time differences between locations) if you want to enable multicast on pull outputs , select this checkbox (see input stream parameters table docid\ q5kzpoxxffpuvbfvrp6fo ) if you want to enable encryption , select this checkbox (see input stream parameters table docid\ q5kzpoxxffpuvbfvrp6fo ) for more information, see encrypting an input stream in zixi broadcaster docid\ v3ryrbn08r4cojwl wvoq click ok the “input added” message appears at the top of the screen the push stream from the zec is added to the zixi broadcaster and now appears in the list of streams available in the zixi broadcaster inputs ui input stream parameters table parameter description stream parameters path type the local or mounted (linux) disk or click the adjacent browse button to select the desired one the suffix ts indicates a transmitted stream note see notes on the file path docid\ q5kzpoxxffpuvbfvrp6fo below for more information enable time shift select this checkbox to record the stream content and broadcast it after a specified delay to deploy an input stream that uses the current stream's time shift, you need to configure a "delayed" input stream, see adding delayed streams docid\ zp5ql 5kthhdphmrhddhe maximum delay \[hh\ mm\ ss] (for time shift enabled) specify the maximum time delay of this input enable multicast on pull outputs select this checkbox to enable the transmission of this stream’s outputs as multicast a zixi receiver that will pull the stream will receive it in multicast by default, zixi broadcaster is configured to allow transparent fallback to unicast if it is out of the lan requires enabling multicast pull in the settings multicast only (for multicast enabled) if desired, specify force multicast only outputs a zixi receiver will receive it in multicast (unless it is out of the lan, in which case it will relay in as unicast) you can also force multicast only outputs enable encryption select this checkbox to encrypt the input stream the stream encryption prevents any further processing, such as analysis, transcoding, etc the encryption works in the following way if the stream has been encrypted at the source the stream will remain encrypted regardless of the output type zixi broadcaster can only encrypt the stream after it has been decrypted if the stream is being encrypted by the zixi broadcaster it will be encrypted only if the output is a zixi pull or zixi push output all other outputs will send out an unencrypted stream for more information, see encrypting an input stream in zixi broadcaster docid\ v3ryrbn08r4cojwl wvoq encryption type (for encryption enabled) specify the type of encryption (aes 128/192/256) encryption key (for encryption enabled) click generate to generate an encryption key the generated encryption key must be sent to the end user to decipher the received encoded stream notes on the file path the paths the broadcaster understands here are not operating system paths full system paths such as /home/user/videos/file ts or c \home\videos\file ts will not work instead, the file you wish to use must be in the root folder for the broadcaster the location of the root folder is shown in the general settings of the settings tab note that to change the root folder location, you must edit the broadcaster info xml file, which is located in the broadcaster installation folder on the files tab, you can upload files to the broadcaster for use as file streams and also create subfolders to organize files for files in subfolders, the path is relative to the root folder for example, if you create a videos subfolder and within the videos folder create another subfolder called nature, and you want to use a file called forest ts for the file stream, the path would be /videos/nature/forest ts advanced mode the fields discussed below are optional and available only in advanced mode to enter advanced mode add the url parameter ?advanced=1 to the zixi broadcaster url in your browser and press enter/return to reload the page note the advanced mode settings are generally intended for advanced users and special cases if you do not understand the settings, you should probably accept the default values file input advanced mode general latency offset \[ms] specify the additional buffering time in milliseconds increasing this value can improve stream stability in unstable network conditions, but will increase end to end delay default 0 ms support injection select this checkbox if you would like the stream to support scte 35 insertion scte 35 pid enter a pid number for scte 35 injection you can enter a value manually or use the up/down arrows that appear when clicking the field (or leave as auto to match existing scte 35 pid) inject metadata select this checkbox to insert metadata into the stream remove old scte 35 packets if scte 35 injection is supported, select this checkbox to clear out existing packets timeout for time in ms to wait for a null packet to inject scte 35 into stream parameters synchronize playback checkbox compression checkbox fast connect checkbox synchronize playback synchronize playback ties a looping file's position to wall clock time instead of to when the input was started when it's off (default) the file simply starts from the beginning when the input starts, and loops from there if you restart the input, or start the same file on a second broadcaster, each one begins at the start of the file at the moment it was started — so they will not be at the same point in the file as each other when it's on the broadcaster calculates where in the file it would be if the file had been playing continuously since a fixed reference time and jumps straight to that position this means the playout position is deterministic from the clock — restarting the input resumes at the "correct" point for the current time rather than jumping back to the beginning two or more broadcasters playing the same looping file will stay aligned with each other because they all compute their position from the same clock reference rather than from their individual start moments this is what makes it possible to have multiple servers (or a restarted input) present the same looping file content in lock step, as a continuous "always on" channel, rather than each copy starting from frame one whenever it happens to be launched pcr, pts and dts are all derived from the ntp time

