You are not logged in.
Been searching and trying all kind of command line combinations and GUI settings so that a web cam connected to my laptop can stream video to my main desktop through router. No success.
I cannot get VLC to stream, always errors. VLC works fine if I just start it and open /dev/video0. How do I get the signal down the network ?? Can someone put me on the right track?
Last edited by marxav (2008-12-19 21:59:18)
Offline
Try this
cvlc v4l:///dev/video:width=352:height=288:fps=12 --sout '#transcode{vcodec=wmv2,vb=800,scale=1}:duplicate{dst=std{access=http{user=guest,pwd=123456,mime=video/x-ms-wmv},mux=asf,dst=:8080/stream.wmv}}' --no-sout-audio &
Must make the width, height (not sure about fps) fit your webcam mode.
It's unfortunate that VLC is the only tool for webcam streaming that works well.
Last edited by jcolinzheng (2008-12-18 17:49:49)
Offline
Hum so far that would be the best option except I still get errors:
[00000423] main access out: creating httpd
[00000423] main access out error: socket bind error (Permission denied)
[00000429] v4l demux error: failed syncing new frame
Whether I use password/user or not.
Offline
Oups, apache was already listening on 8080.
Now I get this:
[00000429] v4l demux error: failed syncing new frame
[00000429] v4l demux error: failed capturing new frame
I am almost there....
EDIT
Got it working. This was it http://bbs.archlinux.org/viewtopic.php?pid=456843
export LD_PRELOAD=/usr/lib/libv4l/v4l1compat.so
Last edited by marxav (2008-12-19 21:58:43)
Offline