Hi,
I am trying to setup vls to run with Hauppauge WinTV-PRV-250 card. I was able to stream the video from the server to the client if I use the following command:
vls -vv -d udp:10.10.4.157 file:/dev/video0
However, if I was to use a vls.cfg and run with vls -vv -f vls.cfg. It would return the following debug messages:
root@pvr:~# vls -vv -f vls.cfg
VideoLAN Server 0.5.4+cvs20031028 (Jan 20 2004) - (c) 1999-2003 VideoLAN
2004-04-20 15:55:13 [INFO/Vls] Module "channel:file" registered
2004-04-20 15:55:13 [INFO/Vls] Module "channel:network" registered
2004-04-20 15:55:13 [INFO/Vls] Module "mpegreader:file" registered
2004-04-20 15:55:13 [INFO/Vls] Module "mpegconverter:ts2ts" registered
2004-04-20 15:55:13 [INFO/Vls] Module "mpegconverter:ps2ts" registered
2004-04-20 15:55:13 [INFO/Vls] Module "input:local" registered
2004-04-20 15:55:13 [INFO/Vls] Module "input:video" registered
2004-04-20 15:55:13 [INFO/Vls] Module "interface:dummy" registered
2004-04-20 15:55:13 [INFO/Vls] Module "interface:telnet" registered
2004-04-20 15:55:13 [INFO/Vls] Module "interface:native" registered
2004-04-20 15:55:13 [INFO/Vls] Module "trickplay:normal" registered
2004-04-20 15:55:13 [INFO/Vls] Module "input:tcp" registered
2004-04-20 15:55:13 [INFO/Vls] Module "mpegreader:tcp" registered
2004-04-20 15:55:13 [INFO/Vls] Browsing modules in directory "./src/modules"
2004-04-20 15:55:13 [WARN/Vls] Unable to browse directory "./src/modules" : Error: Could not ope
n directory './src/modules': No such file or directory
2004-04-20 15:55:13 [INFO/Vls] Browsing modules in directory "./modules"
2004-04-20 15:55:13 [WARN/Vls] Unable to browse directory "./modules" : Error: Could not open di
rectory './modules': No such file or directory
2004-04-20 15:55:13 [INFO/Vls] Browsing modules in directory "/usr/lib/vls"
2004-04-20 15:55:13 [INFO/Vls] Module "input:dvb" registered
2004-04-20 15:55:13 [INFO/Vls] Module "mpegreader:dvd" registered
2004-04-20 15:55:13 [INFO/Vls] Module "mpegreader:pvr" registered
2004-04-20 15:55:13 [INFO/Vls] Module "mpegreader:dvb" registered
2004-04-20 15:55:13 [INFO/Vls] Channel 'channel1' created
2004-04-20 15:55:13 [INFO/Vls] Starting input 'pvr'
2004-04-20 15:55:13 [INFO/Vls] Input 'pvr' sucessfully initialised
2004-04-20 15:55:13 [INFO/Vls] Starting interface 'dummy'
2004-04-20 15:55:13 [INFO/Vls] Interface 'dummy' sucessfully initialised
2004-04-20 15:55:13 [INFO/Vls] Executing command1 : 'start video channel1 pvr'
Info : card Vanilla iTVC15 card found !
Info : Found Composite 0 (Input number 0)
Found Composite 1 (Input number 1)
Found Composite 2 (Input number 2)
Found Composite 3 (Input number 3)
Found Tuner 0 (Input number 4)
Found Composite 4 (Input number 5) [selected]
Found S-Video 0 (Input number 6)
Found S-Video 1 (Input number 7)
Found S-Video 2 (Input number
Found S-Video 3 (Input number 9)
Info : Window 0x0 25 fps, NTSC
Info: Encoding at 7000 kbps, VBR, max 9000 kbps
2004-04-20 15:55:13 [ERROR/pvr] Read error for program "video"
Here's the vls.cfg I used:
# Application wide settings
begin "vls"
logfile = "./vls.log" # log file
end
# Streams sources declaration
begin "inputs"
pvr = "video" # Video input example (mpeg encoder)
end
begin "input"
trickplay = "normal"
end
begin "pvr"
cardtype = "pvr"
device = "/dev/video0" # Video4linux device (default is "/dev/video")
type = "mpeg2-ps" # Stream type (default is "Mpeg2-PS")
inputnumber = "5"
bitrate = "7000"
maxbitrate ="9000"
bitratemode = "vbr"
norm = "ntsc"
end
begin "channels"
channel1 = "network"
end
begin "channel1" # unicast example
dsthost = "10.10.4.157" # destination host
dstport = "1234" # destination port
end
begin "launchonstartup"
command1 = "start video channel1 pvr"
end
Please advise! Thanks in advance.
Heidi