VLS and Webcam

Discussion on the (deprecated) VideoLAN Server application as well as the miniSAPserver stream announcer. This is not about VLC!
Forum rules
Please do not post VLC related questions in this forum category. See the Forum Rules for more information.
nashirak

VLS and Webcam

Postby nashirak » 01 Jun 2004 21:40

Hey guys I have followed the directions on how to get VLS to stream output from a webcam but have not met with any results. The computer running the webcam and the VLS server is a Linux computer runing debian. The VLS version is 0.5.4. The client computer is a windows machine that runs the windows VLC. I am quite certain that the Webcam works under Linux I just have not been able to stream video to windows client using VLS. First of all here is the config file that I have for VLS:

Code: Select all

BEGIN "Vls" LogFile = "vls.log" ScreenLog = "enable" SystemLog = "disable" END 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" bozo = "JKg2TpPeilnw:master" END BEGIN "Telnet" LocalPort = "9999" Use = "true" END BEGIN "Inputs" webcam = "v4l" END BEGIN "webcam" Device = "/dev/video0" Compression = "Mpeg2-PS" END BEGIN "1" NAME = "dolby" FileName = "/media/films/Dolby_Canyon.vob" Type = "Mpeg2-PS" END BEGIN "2" Name = "canyon" FileName = "Dolby_Canyon.vob" Type = "Mpeg2-PS" END BEGIN "3" Name = "film" Device = "/dev/cdrom" Type = "dvd" DvdTitle = "1" DvdChapter = "1" END BEGIN "4" Name = "matrix" Device = "/media/matrix/VIDEO_TS" Type = "dvd" DvdTitle = "1" DvdChapter = "1" END BEGIN "kfir" END BEGIN "dvb" END BEGIN "Channels" localhost = "network" channel1 = "network" END BEGIN "localhost" DstHost = "127.0.0.1" DstPort = "1234" END BEGIN "client1" DstHost = "192.168.1.59" DstPort = "1234" END BEGIN "LaunchOnStartUp" command1 = "start video client1 webcam" END
When I start the server by using this command:

vls -vv -f vls.cfg

I get the following response (minus the date information):

Code: Select all

VideoLAN Server 0.5.4+cvs20031028 (Jan 20 2004) - (c) 1999-2003 VideoLAN [INFO/Vls] Module "channel:file" registered [INFO/Vls] Module "channel:network" reigstered [INFO/Vls] Module "mpegreader:file" registered [INFO/Vls] Module "mpegconverter:ps2ts" registered [INFO/Vls] Module "mpegconverter:ts2ts" registered [INFO/Vls] Module "input:local" registered [INFO/Vls] Module "input:video" registered [INFO/Vls] Module "interface:dummy" registered [INFO/Vls] Module "interface:telnet" registered [INFO/Vls] Module "interface:native" registered [INFO/Vls] Module "trickplay:normal" registered [INFO/Vls] Module "input:tcp" registered [INFO/Vls] Module "mpegreader:tcp" registered [INFO/Vls] Browing modules in directory "./src/modules" [WARN/Vls] Unable to browse directory "./src/module" : Error: Could not open directory './src/modules' : No such file or directory [INFO/Vls] Browsing modules in directory "./modules" [WARN/Vls] Unable to browse directory "./modules" : Error: Could not open directory './modules' : No such file or directory [INFO/Vls] Browsing modules in directory "/usr/lib/vls" [INFO/Vls] Module "mpegreader:dvb" registered [INFO/Vls] Module "input:dvb" registered [INFO/Vls] Module "mpegreader:dvd" registered [INFO/Vls] Module "mpegreader:pvr" registered [INFO/Vls] Starting input 'local1' [INFO/local1] Added program 'Pgrm1' [INFO/local1] Added program 'Pgrm2' [INFO/local1] Added program 'Pgrm3' [INFO/local1] Added program 'Pgrm4' [INFO/Vls] Input 'local1' sucessfully initialised [INFO/Vls] Starting interface 'dummy' [INFO/Vls] Interface 'dummy' sucessfully initialised
Then I try try to start the VLC client by pulling down the file menu, selecting open network stream and then click ok, nothing happens. No windows pop up showing the webcam. Any thoughts as to what is happening or what I am doing wrong? Thanks!

Gibalou
Big Cone-huna
Big Cone-huna
Posts: 608
Joined: 26 Nov 2003 10:59

Postby Gibalou » 02 Jun 2004 09:04

1 - You didn't even tell VLS to start streaming anything.
2 - Only the development version of VLS supports V4L devices.
3 - VLS isn't maintained anymore anyway.

You should really try to stream with VLC instead. Try to use its "streaming wizard" and also have a look at the documentation on the web site.


Return to “VideoLAN Server and miniSAPserver”

Who is online

Users browsing this forum: No registered users and 3 guests