Commit 88355854 authored by Alexis de Lattre's avatar Alexis de Lattre

Restored example config file.

parent efcc27fd
# vls configuration file (Example) # vls configuration file (Example)
# Application wide settings # Application wide settings
BEGIN "Global" BEGIN "Vls"
LogFile = "vls.log" # log file LogFile = "vls.log" # log file
ScreenLog = "enable" # log to the console ScreenLog = "enable" # log to the console
SystemLog = "disable" # log to the systemlog SystemLog = "disable" # log to the systemlog
END END
...@@ -32,7 +32,6 @@ END ...@@ -32,7 +32,6 @@ END
# Telnet Administration # Telnet Administration
BEGIN "Telnet" BEGIN "Telnet"
Use = "true"
# Domain = "Inet6" # Inet4 or Inet6 # Domain = "Inet6" # Inet4 or Inet6
LocalPort = "9999" # Port to use for that purpose LocalPort = "9999" # Port to use for that purpose
END END
...@@ -42,23 +41,43 @@ BEGIN "Inputs" ...@@ -42,23 +41,43 @@ BEGIN "Inputs"
# --- Format: # --- Format:
# InputName = "Type" # InputName = "Type"
# --- Example: # --- Example:
# local1 = "local" # Local input example local1 = "local" # Local input example
# kfir = "video" # Video input example (mpeg encoder) # kfir = "video" # Video input example (mpeg encoder)
dvb = "dvb" # Video input example (DVB card) # dvb = "dvb" # Video input example (DVB card)
END
# Inputs configuration
BEGIN "local1"
# --- Format:
# ConfigPath = "/path"
# --- Example:
# The configuration file is /usr/local/etc/videolan/vls/input.cfg
ConfigPath = "/usr/local/etc/videolan/vls"
END END
# Video input configuration # Video input configuration
BEGIN "kfir" BEGIN "kfir"
# --- Example: # --- Example:
# Device = "/dev/video" # Video4linux device (default is "/dev/video") # Device = "/dev/video" # Video4linux device (default is /dev/video)
# Type = "Mpeg2-PS" # Stream type (default is "Mpeg2-PS") # Type = "Mpeg2-PS" # Stream type (default is "Mpeg2-PS")
END END
# Video input (DVB) configuration
BEGIN "dvb"
# --- Example:
# DeviceNumber = "0" # /dev/ost/dvr<i>
# Frequency = "12553000" # Frequency in kHz of the transponder
# Polarization = "0" # 0 or 1
# SymbolRate = "27500000" # Symbol rate
# Video input (DVB-S) configuration # DiSEqC = "0" # DiSEqC address of the used LNB
BEGIN "dvb" # LNB_Lof1 = "9750000" # Local frequency of lower LNB band
DeviceNumber = "0" # /dev/ost/dvr<i> # LNB_Lof2 = "10600000" # Local frequency of upper LNB band
# LNB_SLof = "11700000" # Switch frequency of LNB
# SendMethod = "0" # 0 - Send All Pids
# 1 - Send only MPEG2 datas
END END
# Channel (outputs) declaration # Channel (outputs) declaration
...@@ -66,11 +85,11 @@ BEGIN "Channels" ...@@ -66,11 +85,11 @@ BEGIN "Channels"
# --- Format: # --- Format:
# ChannelName = "Type" # ChannelName = "Type"
# --- Example: # --- Example:
multi3 = "network" localhost = "network"
client1 = "network" # client1 = "network"
# client2 = "network" # client2 = "network"
# multicast = "network" # multicast = "network"
localfile = "file" # localfile = "file"
END END
# Channels configuration # Channels configuration
...@@ -79,10 +98,10 @@ BEGIN "localhost" # The client is on the same host as the server ...@@ -79,10 +98,10 @@ BEGIN "localhost" # The client is on the same host as the server
DstPort = "1234" DstPort = "1234"
END END
BEGIN "client1" # unicast example #BEGIN "client1" # unicast example
DstHost = "127.0.0.1" # destination host # DstHost = "192.168.1.2" # destination host
DstPort = "1234" # destination port # DstPort = "1234" # destination port
END #END
#BEGIN "client2" # unicast with IPv6 example #BEGIN "client2" # unicast with IPv6 example
# Domain = "inet6" # Domain = "inet6"
...@@ -90,67 +109,21 @@ END ...@@ -90,67 +109,21 @@ END
# DstPort = "1234" # destination port # DstPort = "1234" # destination port
#END #END
BEGIN "multi3" # multicast example #BEGIN "multicast" # multicast example
Type = "multicast" # Type = "multicast"
TTL = "1" # Time To Live # TTL = "1" # Time To Live
DstHost = "239.255.12.3" # multicast address # DstHost = "239.2.12.42" # multicast address
DstPort = "1234" # destination port # DstPort = "1234" # destination port
END #END
BEGIN "localfile" # file output example #BEGIN "localfile" # file output example
FileName = "/home/nitrox/stream.ts" # FileName = "stream.ts"
Append = "no" # rewrite the file if it exists # Append = "no" # rewrite the file if it exists
END #END
# Commands automatically lanched on Startup # Commands automatically lanched on Startup
# Commands shall be like they would be typed in a telnet console. # Commands shall be like they would be typed in a telnet console.
BEGIN "LaunchOnStartUp" BEGIN "LaunchOnStartUp"
command1 = "start MTVEurope client1 dvb" # command1 = "start film localhost local1 --loop"
# command2 = "start 28009 client1 dvb"
END END
# Main settings
BEGIN "Input"
FilesPath = "k:\vls"
ProgramCount = "1"
END
BEGIN "1"
Type = "Mpeg2-PS"
Name = "bryan"
FileName = "bryan.mpg"
END
#BEGIN "Input"
# ProgramCount = "3" # number of programs
#END
# --- Format:
# BEGIN "program_number"
# Name = "program_name"
# Type = "type" # can be Mpeg1-PS, Mpeg2-PS, Mpeg2-TS, or Dvd
# FileName = "path" # use this variable if Type is not "Dvd"
# Device = "device" # use this variable with type "Dvd"
# END
# --- Example:
#BEGIN "1" # MPEG2 stream stored in /mnt/video/stream1.ts
# Name = "stream1"
# FileName = "/mnt/video/Dolby_Canyon.mpeg"
# Type = "Mpeg1-PS"
#END
BEGIN "2" # Dvd
Name = "film"
Device = "/dev/dvd"
Type = "Dvd"
END
BEGIN "3" # Dvd stored on a hard disk
Name = "matrix"
Device = "/mnt/video/matrix/video_ts"
Type = "Dvd"
END
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment