vls.cfg 3.15 KB
Newer Older
1
# vls configuration file (Example)
Michel Kaempf's avatar
Michel Kaempf committed
2

Benoit Steiner's avatar
 
Benoit Steiner committed
3
# Application wide settings
4 5
BEGIN "Vls"
  LogFile       = "vls.log"		# log file
Benoit Steiner's avatar
 
Benoit Steiner committed
6 7
END 

8 9 10 11 12 13
# Security informations :
#
# The section "Groups" describes which group is allowed to use which command.
# Each user who belongs to the 'master" group has all the power on the server.
# Each one who belongs to the "monitor" group is a "read-only" user.
BEGIN "Groups"
14 15 16
# --- Format: 
# groupname     = "cmd1|cmd2|..."
# --- Example:
17
  monitor       = "help|browse|logout"
18
  master        = "help|browse|start|resume|suspend|stop|shutdown|logout"
19 20 21 22 23
END

# The section "Users" describes each user
# Use "mkpasswd" to generate the encrypted password.
BEGIN "Users"
24 25
# --- Format: 
# username      = "encryptedpassword:group"
26
# --- Example:
27 28
  monitor       = "3BcKWoiQn0vi6:monitor"       # password is 'monitor'
  bozo          = "JKg2TpPerilnw:master"        # password is 'bozo'
29 30
END

31
# Telnet Administration
32
BEGIN "Telnet"
33
#  Domain        = "Inet6"              # Inet4 or Inet6
34 35 36
  LocalPort     = "9999"                # Port to use for that purpose
END

Michel Kaempf's avatar
Michel Kaempf committed
37
# Streams sources declaration
38
BEGIN "Inputs"
39
# --- Format:
40
# InputName     = "Type"
41
# --- Example:
42 43 44
  local1       = "local"                # Local input example
#  kfir		= "video"               # Video input example (mpeg encoder)
#  dvb		= "dvb"			# Video input example (DVB card)
Michel Kaempf's avatar
Michel Kaempf committed
45 46
END

47
# Inputs configuration
48
BEGIN "local1"
49 50
# --- Format:
#  ConfigPath    = "/path"
51
# --- Example:
Alexis de Lattre's avatar
 
Alexis de Lattre committed
52 53
# The configuration file is /usr/local/etc/videolan/vls/input.cfg
  ConfigPath    = "/usr/local/etc/videolan/vls"
54 55 56 57 58
END

# Video input configuration
BEGIN "kfir"
# --- Example:
59 60
# Device	= "/dev/video"     # Video4linux device (default is "/dev/video")
# Type		= "Mpeg2-PS"       # Stream type (default is "Mpeg2-PS")
Michel Kaempf's avatar
Michel Kaempf committed
61
END
Benoit Steiner's avatar
 
Benoit Steiner committed
62

63
# Video input (DVB) configuration
64 65
BEGIN "dvb"
# --- Example:
66 67
#  DeviceNumber	= ""

68 69 70 71 72 73 74 75 76 77
#  Frequency	= "12553000"
#  Polarization	= "0"
#  SymbolRate	= "27500000"

#  UseDiseqc	= "false"
#  LnbLof1	= "9750000"
#  LnbLof2	= "10600000"
#  LnbSLof	= "11700000"
END

78 79 80 81 82 83 84 85 86 87 88 89
# Channel (outputs) declaration
BEGIN "Channels"
# --- Format:
# ChannelName   = "Type"
# --- Example:
  localhost     = "network"
#  client1       = "network"
#  client2       = "network"
#  multicast     = "network"  
#  localfile     = "file"
END

90
# Channels configuration
91 92 93
BEGIN "localhost"         # The client is on the same host as the server
  DstHost = "localhost"
  DstPort = "1234"
Arnaud de Bossoreille de Ribou's avatar
Arnaud de Bossoreille de Ribou committed
94 95
END

96 97 98 99 100 101 102 103 104
#BEGIN "client1"                          # unicast example
#  DstHost = "192.168.1.2"                # destination host
#  DstPort = "1234"                       # destination port
#END

#BEGIN "client2"                          # unicast with IPv6 example
#  Domain  = "inet6"
#  DstHost = "3ffe:ffff::2:12:42"         # destination host
#  DstPort = "1234"                       # destination port
105
#END
106

107 108 109 110 111 112 113 114 115 116
#BEGIN "multicast"                        # multicast example
#  Type    = "multicast"
#  DstHost = "239.2.12.42"                # multicast address
#  DstPort = "1234"                       # destination port
#END

#BEGIN "localfile"                        # file output example
#  FileName = "stream.ts"
#  Append   = "no"                        # rewrite the file if it exists
#END
117