LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Slackware (https://www.linuxquestions.org/questions/slackware-14/)
-   -   Anyone Tried To Stream A Webcam? (https://www.linuxquestions.org/questions/slackware-14/anyone-tried-to-stream-a-webcam-669863/)

masonm 09-14-2008 09:43 AM

Anyone Tried To Stream A Webcam?
 
Howdy folks. I'm running Slack 12.1 and the past couple of days I've been playing around with the idea of streaming a webcam. Not for any special reason, just because I've never tried it.

So far I've not been having much luck getting it to work. I've been Googling, reading documentation (much of which seems kind of old) and basically just can't quite seem to get it to work.

I tried streaming with VLC. It shows up fine on my host machine (my desktop computer), but I can't view it from another machine. I am not sure I got all the setting right (obviously) but have no idea where I may have gone wrong.

I tried webcamserv. Same problem.

I set up Apache and a web page on the machine that referenced the output of webcamserv. No luck.

Can someone point me in the right direction here, or at least give me some good suggestions as to how to go about it?

This isn't "urgent" or even important, just a little learning experiment that is failing miserably.

keefaz 09-14-2008 11:02 AM

For vlc, did you read the doc pages ?
http://www.videolan.org/doc/streamin...o/en/ch02.html

masonm 09-14-2008 11:14 AM

Quote:

Originally Posted by keefaz (Post 3280104)
For vlc, did you read the doc pages ?
http://www.videolan.org/doc/streamin...o/en/ch02.html

From the OP:
Quote:

I've been Googling, reading documentation (much of which seems kind of old) and basically just can't quite seem to get it to work.
Yes, I have read the documentation and followed them. I am missing something somewhere, and am hoping to hear from someone who has done this successfully.

bgeddy 09-14-2008 04:32 PM

This worked for me - although I only tried it with a Windows client - I didn't have VLC on an attached machine and couldn't get another copy of VLC to connect to the stream on the server itself i.e. two copies of VLC on the same machine.

Admittedly I only gave VLC about ten minutes of my time as I have been mucking about with other solutions to this as an experiment. I ended up writing something in python using the twisted library and an imaging library - I'm still working on this so i wouldn't want to share it just yet !

There seem to be a lot of solutions to work in tandem with a web server but not that many stand alone streaming engines so I think VLC is possibly the best bet given the time to explore.

masonm 09-15-2008 08:28 AM

I figured it out. I (stupidly) forgot to set up port forwarding on my dsl router. Duh.


All times are GMT -5. The time now is 05:21 AM.