Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I have two Linux computers on a LAN (call them Foo and Bar), and I'd like to find a way to capture stream video from the webcam on Foo to Bar.

I'd like to avoid using a GUI client which uses a complex network protocol, like Telepathy, which uses XMPP, or Skype, which uses a proprietary protocol, and I feel like there's probably a nice, simple, UNIX-oriented approach using the command-line and pipes, like bar$ ssh Foo "cat /dev/video0" > stream.avi.

Maybe I need to use the gstreamer command-line tool. I'd appreciate any guidance anyone can offer on this.

share|improve this question
up vote 2 down vote accepted

While not quite UNIX, VLC should be able to do this, judging from its wiki and from its documentation.

share|improve this answer
Seems like a good approach. I found another article which also describes how to do this: – jbeard4 Feb 23 '12 at 22:35

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.