VLS and Webcam
Posted: 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:
When I start the server by using this command:
vls -vv -f vls.cfg
I get the following response (minus the date information):
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!
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
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