i've managed video and audio streaming as well as dvd/cd reading,
but im having a hard time getting webcam streaming to work, i've read the whole documentation and forum threads, but i cannot find any solution that solves my problem.
This is the command that i use (server side) to start a video stream:
Code: Select all
"C:\bgrun.exe I:\VideoLAN\VLC\vlc.exe -I http --ttl 12 --high-priority --one-instance --http-host 192.168.1.94:7001 I:/somevideofile.avi :sout=#transcode{vcodec=h264,cabac=1,loopfilter=1,acodec=mp4a,vb=144,ab=8,channels=2,width=360,height=288,fps=17,scale=0.5}:standard{access=http,mux=ts,url=192.168.1.94:7007}"
Code: Select all
"C:\bgrun.exe I:\VideoLAN\VLC\vlc.exe -I http --ttl 12 --high-priority --one-instance --http-host 192.168.1.94:7001 dvdsimple://d: :sout=#transcode{vcodec=h264,cabac=1,loopfilter=1,acodec=mp4a,vb=144,ab=8,channels=2,width=360,height=288,fps=17,scale=0.5}:standard{access=http,mux=ts,url=192.168.1.94:7007}"
Code: Select all
C:\bgrun.exe I:\VideoLAN\VLC\vlc.exe -I http --ttl 12 --high-priority --one-instance --http-host "192.168.1.94:7001" dshow:// :dshow-vdev="Video Blaster WebCam 3 (WDM)" :dshow-adev="none" :no-dshow-config :no-dshow-tuner :sout=#transcode{vcodec=h264,vb=144,scale=0.5}:duplicate{dst=std{access=http,mux=ts,url=192.168.1.94:7007}}
P.S: bgrun.exe is a tool that allows you to run program in background, it doesnt interfere with vlc or streaming (works with file streaming)
so if someone could enlight me a bit...
2nd P.S :
this doesnt work neither ....
Code: Select all
C:\bgrun.exe I:\VideoLAN\VLC\vlc.exe -I http --ttl 12 --high-priority --one-instance --http-host "192.168.1.94:7001" dshow:// :dshow-vdev="Video Blaster WebCam 3 (WDM)" :dshow-adev="none" :no-dshow-config :no-dshow-tuner :sout=#transcode{vcodec=h264,vb=144,scale=0.5}:standard{access=http,mux=ts,url=192.168.1.94:7007}
Code: Select all
C:\bgrun.exe I:\VideoLAN\VLC\vlc.exe -I http --extraintf=logger --high-priority --one-instance --http-host "192.168.1.94:7001" dshow://--dshow-vdev="Video%20Blaster%20WebCam%203%20(WDM)" --dshow-size="320x240" --dshow-chroma="I420" :sout=#transcode{vcodec=h264,cabac=1,loopfilter=1,acodec=mp4a,vb=144,ab=8,channels=2,width=360,height=288,fps=17,scale=0.5}:standard{access=http,mux=ts,url=192.168.1.94:7007}
and i also had problems with the space character in the device namedshow:// :dshow-vdev=
so i used the following variables/code to make it work (in PHP for a VOD server) where $newwebcamid is the corrected name of webcamid (replaces spaces with %20)
$newwebcamid = str_replace(" ", "%20", $webcamid);