Re: Problem with telnet administration
Claude Duvallet <[email protected]>
| Newsgroups | gmane.comp.video.videolan.vls.devel |
|---|---|
| Organization | LIT/ENSTB |
| Message-ID | <[email protected]> |
Jean-Paul Saman wrote: > Claude Duvallet wrote: > >>> reactive@vls> program FarmerMylennium-001.vob local1 >>> >>>> /home/Films/vob/FarmerMylennium-001.vob Mpeg2-PS --add >>> > > What does the input.cfg look like? I have no input.cfg . I had all informations in vls.cfg : BEGIN "Input" ProgramCount = "10" FilesPath = "/home/Films/vob/" END > > Because there you give a path and in this command you should give a path > relative to that one. So if input.cfg says e.g.: "/home/Films", then you > should give here "vob/FarmerMylennium-001.vob" as path. I give the absolute path so I may be correct. The error message says that I did not find the file ''. So maybe the problem is with the command line program ?? If I put the following line in the vls.cfg file, I can stream the program even if the FilesPath is not defined. BEGIN "1" # MPEG2 stream stored in Name = "FarmerMylennium-001.vob" FileName = "/home/Films/vob/FarmerMylennium-001.vob" Type = "Mpeg2-PS" END > > Could you send the input.cfg please? I am sending the vls.cfg > > BTW whihc version of vls are we talking about? > 0.4.5 (cvs version)
vls.cfg
(text/plain, 7.2 KB)
# 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 :
#
# 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:
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'
reactive = "/WQ3EW45fpRV.:master" # password is 'reactive'
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
###############################################################################
## Inputs
###############################################################################
# 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)
webcam1 = "v4l" # Video For Linux example (webcam)
# composite = "v4l" # Video For Linux example (composite)
END
###############################################################################
## Programs / Contenu
###############################################################################
BEGIN "Input"
ProgramCount = "10"
FilesPath = "/home/Films/vob/"
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
###############################################################################
## Film en MPEG-1/2
###############################################################################
#BEGIN "1" # MPEG2 stream stored in
# Name = "FarmerMylennium-001.vob"
# FileName = "/home/Films/vob/FarmerMylennium-001.vob"
# Type = "Mpeg2-PS"
#END
#BEGIN "2" # MPEG2 stream stored in
# Name = "FarmerMylennium-002.vob"
# FileName = "/home/Films/vob/FarmerMylennium-002.vob"
# Type = "Mpeg2-PS"
#END
#BEGIN "11" # MPEG2 stream stored in
# Name = "FarmerMylennium-001.mpg"
# FileName = "/home/Films/mpg/FarmerMylennium-001.mpg"
# Type = "Mpeg1-PS"
#END
#BEGIN "12" # MPEG2 stream stored in
# Name = "FarmerMylennium-002.mpg"
# FileName = "/home/Films/mpg/FarmerMylennium-002.mpg"
# Type = "Mpeg1-PS"
#END
#BEGIN "3" # Dvd
# Name = "film"
# Device = "/dev/cdrom"
# Type = "Dvd"
#END
#BEGIN "4" # Dvd stored on a hard disk
# Name = "matrix"
# Device = "/mnt/data/matrix/VIDEO_TS"
# Type = "Dvd"
#END
###############################################################################
## Inputs
###############################################################################
# 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 "webcam1"
# --- Example:
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), Svide(2)
Size = "" # Size possibilities
# - empty string : default size
# - width x height
# - subQCIF(128x96), QSIF(160x120), QCIF(176x144)
# SIF(320x240), CIF (352x288), VGA (640x480)
#Size = "sif"
Bitrate = "500" # Bitrate (approx.) in kbps
END
# Video For Linux (V4L) configuration
BEGIN "composite"
# --- 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), Svide(2)
Size = "subQCIF" # Size possibilities
# - empty string : default size
# - width x height
# - subQCIF(128x96), QSIF(160x120), QCIF(176x144)
# SIF(320x240), CIF (352x288), VGA (640x480)
#Size = "320x200"
Bitrate = "500" # Bitrate (approx.) in kbps
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 = "127.0.0.1"
DstPort = "1234"
END
#BEGIN "client1" # unicast example
# DstHost = "192.168.1.2" # 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 = "127" # Time To Live
DstHost = "224.5.6.7" # multicast address
DstPort = "6867" # 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 dolby localhost local1 --loop"
# command2 = "start 28009 client1 dvb"
# command3 = "start video multicast webcam1"
END