# vls configuration file (Example) # Application wide settings BEGIN "Vls" LogFile = "vls.log" # log file ScreenLog = "enable" # log to the console SystemLog = "disable" # log to the systemlog END # Security informations : BEGIN "Groups" monitor = "help|browse|logout" master = "help|browse|start|logout|program|input|channel|show" END # The section "Users" describes each user BEGIN "Users" monitor = "3BcKWoiQn0vi6:monitor" # password is 'monitor' bozo = "JKg2TpPerilnw:master" # password is 'bozo' END BEGIN "Interfaces" Telnet = "telnet" # Port to use for that purpose END # Telnet Administration BEGIN "Telnet" LocalPort = "9999" # Port to use for that purpose Use = "true" END # Streams sources declaration BEGIN "Inputs" local1 = "local" # Local input example tuner = "v4l" # Video For Linux example (composite) END BEGIN "Input" ProgramCount = "1" END # Video For Linux (V4L) configuration BEGIN "tuner" Device = "/dev/video0" # 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 = "VGA" # Size possibilities # - empty string : default size # - width x height # - subQCIF(128x96), QSIF(160x120), # QCIF(176x144), SIF(320x240), # CIF(352x288), VGA (640x480) DeInterlace = "0" Compression = "mpeg1" # mpeg1 or mpeg4 [experimental] Bitrate = "1500" # Bitrate (approx.) in kbps Quality = "1.0" # 1.0 (good) to 31.0 (bad) AudioDevice = "/dev/dsp1" # Sound device (try /dev/dsp AudioCompression = "mp2" # mp2, mp3 or ogg AudioBitrate = "128" # Audio bitrate in kbps AudioFreq = "44100" # 16000, 22050, 24000, 32000, 44100, 48000 AudioChannel = "2" # 1=mono, 2=stereo END # Channel (outputs) declaration BEGIN "Channels" localhost = "network" kers = "network" multicast = "network" END # Channels configuration BEGIN "localhost" # The client is on the same host as the server DstHost = "127.0.0.1" DstPort = "1234" END # Channels configuration BEGIN "kers" DstHost = "192.87.109.22" DstPort = "1234" END BEGIN "multicast" # multicast example Type = "multicast" TTL = "16" # Time To Live DstHost = "233.4.79.6" # multicast address DstPort = "1234" # destination port END # Commands automatically lanched on Startup BEGIN "LaunchOnStartUp" command1 = "start video multicast tuner" END