|
|

楼主 |
发表于 2005-12-8 15:25:15
|
显示全部楼层
配置文件vls.cfg:
#vls configuration file (Example)
BEGIN "Vls"
LogFile = "vls.log" # log file
ScreenLog = "enable" # log to the console
SystemLog = "disable" # log to the systemlog
END
BEGIN "Groups"
monitor = "help|browse|logout"
master =
"help|browse|start|resume|suspend|stop|shutdown|logout|config|p rogram|input|channel|show"
END
BEGIN "Users"
monitor = "3BcKWoiQn0vi6:monitor" # password is 'monitor'
bozo = "JKg2TpPerilnw:master" # password is 'bozo'
END
BEGIN "Telnet"
LocalPort = "9999" # Port to use for that purpose
IpAddress = "127.0.0.1"
Use = "true"
END
BEGIN "Inputs"
local1 = "local" # Local input example
END
BEGIN "1" # MPEG2 stream stored in /home/videolan/streams/Dolby.vob
Name = "film"
FileName = "/usr/src/film/view3.mpg"
Type = "Mpeg2-TS"
END
BEGIN "2" # another file
Name = "music"
FileName = "/usr/src/film/view2.mpg"
Type = "Mpeg2-TS"
END
BEGIN "3" # DVD
Name = "dvd"
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 = "/media/matrix/VIDEO_TS"
Type = "dvd"
DvdTitle = "1" # Start title
DvdChapter = "1" # Start chapter
END
BEGIN "Channels"
localhost = "network"
END
BEGIN "localhost" # The client is on the same host as the server
DstHost = "127.0.0.1"
DstPort = "1234"
END
BEGIN "LaunchOnStartUp"
command1 = "start film localhost local1"
END |
|