LinuxSir.cn,穿越时空的Linuxsir!

 找回密码
 注册
搜索
热搜: shell linux mysql
查看: 1399|回复: 4

vls服务器的安装与运行

[复制链接]
发表于 2005-12-8 10:36:59 | 显示全部楼层 |阅读模式
vls安装成功后,修改配置文件,启动,没有显示任何信息
telnet登录后,利用start命令启动channel
但是vlc播放时出现错误,信息如下:
[00000162] main input: playlist item `localhost'
[00000162] main input error: no suitable access module for `/://localhost'
发表于 2005-12-8 14:29:47 | 显示全部楼层
Post by flyer_0530
vls安装成功后,修改配置文件,启动,没有显示任何信息
telnet登录后,利用start命令启动channel
但是vlc播放时出现错误,信息如下:
[00000162] main input: playlist item `localhost'
[00000162] main input error: no suitable access module for `/://localhost'
配置文件贴出来啊
回复 支持 反对

使用道具 举报

 楼主| 发表于 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
回复 支持 反对

使用道具 举报

发表于 2005-12-8 16:11:34 | 显示全部楼层
试试不用127.0.0.1,用真实的网络地址,这个是回环地址,
回复 支持 反对

使用道具 举报

 楼主| 发表于 2005-12-9 15:37:29 | 显示全部楼层
将“127.0.0.1”分别修改主机的ip地址为“59.64.158.220”,启动vls
telnet 到vls上
bozo@vls> show broadcast
                  Provider: Manager
                  Status: 0
                  Info: Showing running broadcasts.

                  Provider: localhost
                  Status: 0
                  Info: Channel 'localhost'
                  Info: Program 'film'
                  Info: Input 'local1'
                  Info: Input 'localhost'
                  Info: Options used are ''
    说明vls已经启动,而且创建了channel,不应该是配置文件的错误吧;
利用vlc播放vls中的节目的命令是:vlc 59.64.158.220(vls的地址)吗
回复 支持 反对

使用道具 举报

您需要登录后才可以回帖 登录 | 注册

本版积分规则

快速回复 返回顶部 返回列表