Commit a5b1abeb authored by Damien Lucas's avatar Damien Lucas

. oups, I forgot to downcase the default vls.cfg ;-)

parent 6e815cbe
# vls configuration file (Example)
# vls configuration file (example)
# Application wide settings
BEGIN "Global"
LogFile = "vls.log" # log file
ScreenLog = "enable" # log to the console
SystemLog = "enable" # log to the systemlog
END
# application wide settings
begin "global"
logfile = "vls.log" # log file
screenlog = "enable" # log to the console
systemlog = "enable" # log to the systemlog
end
# Security informations :
# 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"
# --- Format:
# 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"
# --- format:
# groupname = "cmd1|cmd2|..."
# --- Example:
# --- example:
monitor = "help|browse|logout"
master = "cd|ls|help|browse|start|broadcast_resume|broadcast_suspend|broadcast_stop|shutdown|logout|config|program|input|channel|show|broadcast_ls|broadcast_add|broadcast_del|channel_add|broadcast_start|channel_add|channel_del"
END
end
# The section "Users" describes each user
# Use "mkpasswd" to generate the encrypted password.
BEGIN "Users"
# --- Format:
# the section "users" describes each user
# use "mkpasswd" to generate the encrypted password.
begin "users"
# --- format:
# username = "encryptedpassword:group"
# --- Example:
monitor = "3BcKWoiQn0vi6:monitor" # password is 'monitor'
bozo = "JKg2TpPerilnw:master" # password is 'bozo'
END
BEGIN "Interfaces"
# Domain = "Inet6" # Inet4 or Inet6
Telnet = "telnet" # Port to use for that purpose
END
# Telnet Administration
BEGIN "Telnet"
# Domain = "Inet6" # Inet4 or Inet6
LocalPort = "9999" # Port to use for that purpose
Use = "true"
END
# Streams sources declaration
BEGIN "Inputs"
# --- Format:
# InputName = "Type"
# --- Example:
# local1 = "local" # Local input example
# kfir = "video" # Video input example (mpeg encoder)
# dvb = "dvb" # Video input example (DVB card)
# webcam = "v4l" # Video For Linux example (webcam)
# tuner = "v4l" # Video For Linux example (composite)
END
BEGIN "Input"
ProgramCount = "1"
TrickPlay = "normal"
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 /home/videolan/streams/Dolby.vob
# Name = "dolby"
# FileName = "/media/films/Dolby_Canyon.vob"
# Type = "Mpeg2-PS"
#END
#BEGIN "2" # another file
# Name = "canyon"
# FileName = "Dolby_Canyon.vob"
# Type = "Mpeg2-PS"
#END
# --- example:
monitor = "3bckwoiqn0vi6:monitor" # password is 'monitor'
bozo = "jkg2tpperilnw:master" # password is 'bozo'
end
begin "interfaces"
# domain = "inet6" # inet4 or inet6
telnet = "telnet" # port to use for that purpose
end
# telnet administration
begin "telnet"
# domain = "inet6" # inet4 or inet6
localport = "9999" # port to use for that purpose
use = "true"
end
# streams sources declaration
begin "inputs"
# --- format:
# inputname = "type"
# --- example:
# local1 = "local" # local input example
# kfir = "video" # video input example (mpeg encoder)
# dvb = "dvb" # video input example (dvb card)
# webcam = "v4l" # video for linux example (webcam)
# tuner = "v4l" # video for linux example (composite)
end
begin "input"
programcount = "1"
trickplay = "normal"
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 /home/videolan/streams/dolby.vob
# name = "dolby"
# filename = "/media/films/dolby_canyon.vob"
# type = "mpeg2-ps"
#end
#begin "2" # another file
# name = "canyon"
# filename = "dolby_canyon.vob"
# type = "mpeg2-ps"
#end
#
#BEGIN "3" # DVD
# Name = "film"
# Device = "/dev/cdrom"
# Type = "dvd"
# DvdTitle = "1" # Start title
# DvdChapter = "1" # Start chapter
#END
#BEGIN "4" # DVD stored on a hard disk
# Name = "matrix"
# Device = "/mnt/data/matrix/VIDEO_TS"
# Type = "dvd"
# DvdTitle = "1" # Start title
# DvdChapter = "1" # Start chapter
#END
# Video input configuration
BEGIN "kfir"
# --- Example:
# Device = "/dev/video" # Video4linux device (default is /dev/video)
# Type = "Mpeg2-PS" # Stream type (default is "Mpeg2-PS")
END
# Video input (DVB) configuration
BEGIN "dvb"
# --- Example:
# DeviceNumber = "0" # /dev/dvb/adapter<i>
# SendMethod = "0" # 0 - Send All Pids
# 1 - Send only MPEG2 datas
END
# Video For Linux (V4L) configuration
BEGIN "webcam"
# --- Example:
Device = "/dev/video" # Video4linux device (default is /dev/video)
Channel = "0" # Channel Source: Webcam often 0
# For TV Card, may be Tuner(0), Composite(1),
# Svideo(2)
Norm = "0" # PAL=0, NTSC=1, SECAM=2
Size = "" # Size possibilities
#begin "3" # dvd
# name = "film"
# device = "/dev/cdrom"
# type = "dvd"
# dvdtitle = "1" # start title
# dvdchapter = "1" # start chapter
#end
#begin "4" # dvd stored on a hard disk
# name = "matrix"
# device = "/mnt/data/matrix/video_ts"
# type = "dvd"
# dvdtitle = "1" # start title
# dvdchapter = "1" # start chapter
#end
# video input configuration
begin "kfir"
# --- example:
# device = "/dev/video" # video4linux device (default is /dev/video)
# type = "mpeg2-ps" # stream type (default is "mpeg2-ps")
end
# video input (dvb) configuration
begin "dvb"
# --- example:
# devicenumber = "0" # /dev/dvb/adapter<i>
# sendmethod = "0" # 0 - send all pids
# 1 - send only mpeg2 datas
end
# video for linux (v4l) configuration
begin "webcam"
# --- example:
device = "/dev/video" # video4linux device (default is /dev/video)
channel = "0" # channel source: webcam often 0
# for tv card, may be tuner(0), composite(1),
# svideo(2)
norm = "0" # pal=0, ntsc=1, secam=2
size = "" # size possibilities
# - empty string : default size
# - width x height
# - subQCIF(128x96), QSIF(160x120),
# QCIF(176x144), SIF(320x240),
# CIF(352x288), VGA (640x480)
DeInterlace = "0"
Compression = "mpeg4" # mpeg1 or mpeg4 [experimental]
Bitrate = "500" # Bitrate (approx.) in kbps
Quality = "1.0" # 1.0 (good) to 31.0 (bad)
AudioDevice = "/dev/audio1" # Sound device (try /dev/dsp<X>
AudioCompression = "mp2" # mp2, mp3 or ogg
AudioBitrate = "64" # Audio bitrate in kbps
AudioFreq = "16000" # 16000, 22050, 24000, 32000, 44100, 48000
AudioChannel = "2" # 1=mono, 2=stereo
AudioMute = "false"
END
# Video For Linux (V4L) configuration
BEGIN "tuner"
# --- Example:
Device = "/dev/video" # Video4linux device (default is /dev/video)
Channel = "0" # Channel Source: Webcam often 0
# For TV Card, may be Tuner(0), Composite(1),
# Svideo(2)
# Frequency = "7668" # Frequency (Mhz) * 16
Norm = "0" # PAL=0, NTSC=1, SECAM=2
Size = "" # Size possibilities
# - subqcif(128x96), qsif(160x120),
# qcif(176x144), sif(320x240),
# cif(352x288), vga (640x480)
deinterlace = "0"
compression = "mpeg4" # mpeg1 or mpeg4 [experimental]
bitrate = "500" # bitrate (approx.) in kbps
quality = "1.0" # 1.0 (good) to 31.0 (bad)
audiodevice = "/dev/audio1" # sound device (try /dev/dsp<x>
audiocompression = "mp2" # mp2, mp3 or ogg
audiobitrate = "64" # audio bitrate in kbps
audiofreq = "16000" # 16000, 22050, 24000, 32000, 44100, 48000
audiochannel = "2" # 1=mono, 2=stereo
audiomute = "false"
end
# video for linux (v4l) configuration
begin "tuner"
# --- example:
device = "/dev/video" # video4linux device (default is /dev/video)
channel = "0" # channel source: webcam often 0
# for tv card, may be tuner(0), composite(1),
# svideo(2)
# frequency = "7668" # frequency (mhz) * 16
norm = "0" # pal=0, ntsc=1, secam=2
size = "" # size possibilities
# - empty string : default size
# - width x height
# - subQCIF(128x96), QSIF(160x120),
# QCIF(176x144), SIF(320x240),
# CIF(352x288), VGA (640x480)
DeInterlace = "0"
Compression = "mpeg4" # mpeg1 or mpeg4 [experimental]
Bitrate = "500" # Bitrate (approx.) in kbps
Quality = "1.0" # 1.0 (good) to 31.0 (bad)
AudioDevice = "/dev/dsp" # Sound device (try /dev/dsp<X>
AudioCompression = "mp2" # mp2, mp3 or ogg
AudioBitrate = "64" # Audio bitrate in kbps
AudioFreq = "16000" # 16000, 22050, 24000, 32000, 44100, 48000
AudioChannel = "2" # 1=mono, 2=stereo
AudioMute = "false"
END
# Channel (outputs) declaration
BEGIN "Channels"
# --- Format:
# ChannelName = "Type"
# --- Example:
# - subqcif(128x96), qsif(160x120),
# qcif(176x144), sif(320x240),
# cif(352x288), vga (640x480)
deinterlace = "0"
compression = "mpeg4" # mpeg1 or mpeg4 [experimental]
bitrate = "500" # bitrate (approx.) in kbps
quality = "1.0" # 1.0 (good) to 31.0 (bad)
audiodevice = "/dev/dsp" # sound device (try /dev/dsp<x>
audiocompression = "mp2" # mp2, mp3 or ogg
audiobitrate = "64" # audio bitrate in kbps
audiofreq = "16000" # 16000, 22050, 24000, 32000, 44100, 48000
audiochannel = "2" # 1=mono, 2=stereo
audiomute = "false"
end
# channel (outputs) declaration
begin "channels"
# --- format:
# channelname = "type"
# --- example:
localhost = "network"
# client1 = "network"
# client2 = "network"
# multicast1 = "network"
# multicast2 = "network"
# localfile = "file"
END
# Channels configuration
BEGIN "localhost" # The client is on the same host as the server
DstHost = "127.0.0.1"
DstPort = "1234"
END
#BEGIN "client1" # unicast example
# DstHost = "192.168.1.2" # destination IP address
# DstPort = "1234" # destination port
#END
#BEGIN "client2" # unicast IPv6 example
# Domain = "inet6"
# DstHost = "3ffe:ffff::2:12:42" # destination IPv6 address
# DstPort = "1234" # destination port
#END
#BEGIN "multicast1" # multicast example
end
# channels configuration
begin "localhost" # the client is on the same host as the server
dsthost = "127.0.0.1"
dstport = "1234"
end
#begin "client1" # unicast example
# dsthost = "192.168.1.2" # destination ip address
# dstport = "1234" # destination port
#end
#begin "client2" # unicast ipv6 example
# domain = "inet6"
# dsthost = "3ffe:ffff::2:12:42" # destination ipv6 address
# dstport = "1234" # destination port
#end
#begin "multicast1" # multicast example
# streamtype = "multicast"
# TTL = "1" # Time To Live
# DstHost = "239.2.12.42" # multicast address
# DstPort = "1234" # destination port
#END
# ttl = "1" # time to live
# dsthost = "239.2.12.42" # multicast address
# dstport = "1234" # destination port
#end
#BEGIN "multicast2" # multicast IPv6 example
# Domain = "inet6"
#begin "multicast2" # multicast ipv6 example
# domain = "inet6"
# streamtype = "multicast"
# TTL = "1" # Time To Live
# DstHost = "ff08::2" # multicast IPv6 address
# DstPort = "1234" # destination port
#END
# ttl = "1" # time to live
# dsthost = "ff08::2" # multicast ipv6 address
# dstport = "1234" # destination port
#end
#BEGIN "localfile" # file output example
# FileName = "stream.ts"
# Append = "no" # rewrite the file if it exists
#END
#begin "localfile" # file output example
# filename = "stream.ts"
# append = "no" # rewrite the file if it exists
#end
# Commands automatically lanched on Startup
# Commands shall be like they would be typed in a telnet console.
BEGIN "LaunchOnStartUp"
# commands automatically lanched on startup
# commands shall be like they would be typed in a telnet console.
begin "launchonstartup"
# command1 = "start dolby localhost local1 --loop"
# command2 = "start 28009 client1 dvb"
# command3 = "start video localhost webcam"
END
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