[streaming] Re: Help needed running vls

João Reis joao.reis at 2000comp.pt
Thu Oct 9 12:19:48 CEST 2003



Benjamin PRACHT wrote:

>Could you try launching vls with the -vvv option, if you haven't already ?
>
>Could you send us a copy of you vls.cfg file ?
>
>  
>
Uupps ..... i did not tried the -vvv option, but the vls user manual 
does not says to use it in order to see
the output ....

OK, i tried again with the -vvv option and the output was this :

[root at gw-lab-redes]# vls -vvv
VideoLAN Server v 0.5.3 (Oct  8 2003) - (c)1999-2003 VideoLAN
2003-10-08 19:11:41 [INFO/Vls]  Module "channel:file" registered
2003-10-08 19:11:41 [INFO/Vls]  Module "channel:network" registered
2003-10-08 19:11:41 [INFO/Vls]  Module "mpegreader:file" registered
2003-10-08 19:11:41 [INFO/Vls]  Module "mpegconverter:ts2ts" registered
2003-10-08 19:11:41 [INFO/Vls]  Module "mpegconverter:ps2ts" registered
2003-10-08 19:11:41 [INFO/Vls]  Module "input:local" registered
2003-10-08 19:11:41 [INFO/Vls]  Module "input:video" registered
2003-10-08 19:11:41 [INFO/Vls]  Browsing modules in directory "."
2003-10-08 19:11:41 [INFO/Vls]  Browsing modules in directory "/usr/local/lib/videolan/vls"
2003-10-08 19:11:41 [INFO/Vls]  Channel 'localhost' created
2003-10-08 19:11:41 [INFO/Vls]  Channel 'client1' created
2003-10-08 19:11:41 [INFO/Vls]  Starting input 'local1'
2003-10-08 19:11:41 [INFO/local1]  Added program 'dolby'
2003-10-08 19:11:41 [INFO/Vls]  Input 'local1' sucessfully initialised
2003-10-08 19:11:41 [INFO/Vls]  New admin group "monitor" is ok
2003-10-08 19:11:41 [INFO/Vls]  New admin group "master" is ok
2003-10-08 19:11:41 [INFO/Vls]  New admin user "monitor" is ok
2003-10-08 19:11:41 [INFO/Vls]  New admin user "master" is ok
2003-10-08 19:11:41 [INFO/Vls]  Telnet server initialised


after that i logged in with the master user and started a new session 
movie with the start command.

This was the output of the vls

....

PMT Add, PID : 0x84 , Type : 0x5
unknown packet (1c004a1) encoutered
Looping in Synch !!!!!!!!! (buffer size=188)
Looping in Synch !!!!!!!!! (buffer size=188)
Looping in Synch !!!!!!!!! (buffer size=188)
Looping in Synch !!!!!!!!! (buffer size=188)
Looping in Synch !!!!!!!!! (buffer size=188)
Looping in Synch !!!!!!!!! (buffer size=188)
Looping in Synch !!!!!!!!! (buffer size=188)
Looping in Synch !!!!!!!!! (buffer size=188)
Looping in Synch !!!!!!!!! (buffer size=188)
Looping in Synch !!!!!!!!! (buffer size=188)
Looping in Synch !!!!!!!!! (buffer size=188)
2003-10-08 19:08:52 [ERROR/local1]  Unable to start program dolby
2003-10-08 19:08:52 [ERROR/local1]  Error: unable to start streaming of program dolby
Error: Unable to create thread
Error: PS to TS converter failed to start



There were a lot of lines telling "Looping in Synch !!!!!!!!!".

My vls.cfg has the following configuration:

# 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'
  master        = "3BcKWoiQn0vi6:master"       # password is 'monitor'
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

# --- Example:
BEGIN "1"     # MPEG2 stream stored in /home/videolan/streams/Dolby.vob
  Name     = "dolby"
  FileName = "/tmp/888889_Commercial-Bear.mpg"
  Type     = "Mpeg2-PS"
END

#BEGIN "2"     # another file
#  Name     = "canyon"
#  FileName = "Dolby_Canyon.vob"
#  Type     = "Mpeg2-PS"
#END

#BEGIN "3"     # DVD
#  Name       = "film"
#  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

# 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

# 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.100.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 dolby localhost local1 --loop"
#  command2 = "start 28009 client1 dvb"
END


The start command i used was 'start dolby client1 local1'.

Thanks for your help :-)

 Joao Reis


-- 
This is the streaming mailing-list, see http://www.videolan.org/streaming/
To unsubscribe, please read http://www.videolan.org/support/lists.html
If you are in trouble, please contact <postmaster at videolan.org>



More information about the streaming mailing list