[streaming] Re: Starting server: no messages :-(

Benjamin PRACHT bigben+spam at videolan.org
Sun Nov 28 13:57:01 CET 2004


On Sun, Nov 28, 2004, ron wrote :
> Benjamin PRACHT wrote:
> 
> >On Sun, Nov 28, 2004, ron wrote :
> > 
> >
> >>It does not mutter to me which format the file should have.
> >>At the moment I can not use vlc - since I use Suse 9.1 (rpm based) -
> >>I did try to compile the dependencies of vlc - but the list of 
> >>dependencies grows bigger as I do so - and I would like to test it 
> >>before spending one day with installing vlc...
> >>I tried it also with an .mpg file, but it is the same: the server 
> >>responses "ok", no log on the screen (-vv option is on) and the client 
> >>does not show anything...
> >>Cheers,
> >>Ron
> >>
> >>   
> >>
> >
> >Some unofficial RPM of VLC for SUSE are available. Moreover, building a
> >very simple version of VLC to stream a file almost doesn't require any
> >dependency (libdvbpsi should be enough).
> > 
> >
> Will try it...
> 
> >BTW, you should try setting VLS' parametters from command line (vls -d
> >udp:... -f ... -vv), or give us your *complete* vls.cfg
> > 
> >
> Here it is (I removed for this mail all commented sections, so it is 
> more readable...):
> 
> BEGIN "Vls"
>  LogFile       = "/home/ron1/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"
>  monitor       = "help|browse|logout"
>  master        = 
> "help|browse|start|resume|suspend|stop|shutdown|logout|config|program|input|channel|show"
> END
> 
> BEGIN "Users"
>  monitor       = "3BcKWoiQn0vi6:monitor"       # password is 'monitor'
>  ron          = "5LVvcs/a4DnsaJU:master" # 
> "JKg2TpPerilnw:master"        # password is 'bozo'
> END
> 
> # Telnet Administration
> BEGIN "Telnet"
>  LocalPort     = "9999"                # Port to use for that purpose
>  Use = "true"
> END
> 
> # Streams sources declaration
> BEGIN "Inputs"
>  local1       = "local"                # Local input example
> END
> 
> BEGIN "1"    
>  Name     = "mpg"
>  FileName = "/home/ron1/1.mpg"
>  Type     = "Mpeg2-TS"
> END
>

Well, I doubt you file is MPEG2-TS with such an extension. You should
try Mpeg2-PS or Mpeg1-PS (as stated in the comments of the exemple file)
 
> BEGIN "2"    
>  Name     = "mov"
>  FileName = "/home/ron1/1.mov"
>  Type     = "Mpeg2-TS"
> END
> 
> BEGIN "3"    
>  Name       = "avi"
>  Filename     = "/home/ron1/1.avi"
>  Type       = "Mpeg2-TS"
> END
> 

As stated before, VLS won't be able to read those

> # Channel (outputs) declaration
> BEGIN "Channels"
>  mc     = "network"
> END
> 
> BEGIN "mc"                        # multicast example
>  Type    = "multicast"
>  TTL     = "0"                          # Time To Live
>  DstHost = "239.20.30.40"              # multicast address
>  DstPort = "1234"                       # destination port
> END
> 
> 

You didn't specify any "LaunchOnStartUp" section, that means that VLS
won't start ant stream automatically on startup. You should log in on
the telnet interface and start it by hand.

-- 
BigBen

-- 
This is the streaming mailing-list, see http://www.videolan.org/streaming/
To unsubscribe, please read http://www.videolan.org/support/lists.html



More information about the streaming mailing list