Page 1 of 1

Problem with VLS.cfg

Posted: 02 May 2007 18:16
by 3XC!T3D
Hello dudes,

i am a german student and i want to work with the VLS my OS is Open SuSe 10.2

I have made the Configuration File like it is written in the documentation, but i always become the Error Message:

Could not open configuration file:
Error: Parsing of file '/etc/videolan/vls/vls.cfg' failed
Error: Error in the configuration file at line 1exi-suse:~ #


I start the VideoLanServer with the command "vls" in the konsole

I want to stream the File "abgedreht.mpeg" which is in the Path media:/hda3/videos to my computer which has the IP Adresse 192.168.2.100 . can you help me to resolve my problem?

My VLS.cfg contains this:

# 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 :
#
# 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.
# --- Format:
# groupname = "cmd1|cmd2|..."
# --- Example:
BEGIN "Groups"
monitor = "help|browse|logout"
master = "help|browse|start|resume|suspend|stop|shutdown|logout|config|program|input|channel|show"
END

# 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'
master = "JKg2TpPerilnw:master" # password is 'bozo'
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)
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

BEGIN "Input"
Filespath = "media:/hda3/videos"
ProgramCount = "1"
END

BEGIN "1" # MPEG2 stream stored in /home/videolan/streams/Dolby.vob
Name = "abgedreht"
FileName = "abgedreht.mpeg"
Type = "Mpeg1-PS"
END

# Channel (outputs) declaration
BEGIN "Channels"
# --- Format:
# ChannelName = "Type"
# --- Example:
# localhost = "network"
client1 = "network"
# client2 = "network"
# multicast = "network"
# localfile = "file"
END

# Channels configuration
#BEGIN "localhost" # The client is on the same host as the server
#DstHost = "192.168.2."
#DstPort = "1234"
#END

BEGIN "client1" # unicast example
DstHost = "192.168.1.100" # 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
#END

#BEGIN "multicast" # multicast example
# Type = "multicast"
# TTL = "1" # Time To Live
# 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

# Commands automatically lanched on Startup
# Commands shall be like they would be typed in a telnet console.
BEGIN "LaunchOnStartUp"
command1 = "start abgedreht client1 local1 --loop"
# command2 = "start 28009 client1 dvb"
END

PS: I am a Newbie in Linux/SuSe plz explain me the solution in "normal" english ;D thx ^^

Posted: 03 May 2007 10:20
by 3XC!T3D
Nobody an Idea?

plz help me :-/

Posted: 03 May 2007 10:45
by Jean-Baptiste Kempf
Nooone will help you on VLS. it is broken and outdated. Use vlc instead

Posted: 03 May 2007 11:05
by 3XC!T3D
hmmk -.-

it is possible to stream over console commands with the vlc?

shell

Posted: 21 May 2007 14:48
by Albert
Hello,
sure, it it possible. Please read the documentation.
Albert