Help answer threads with 0 replies.
Go Back > Forums > Linux Forums > Linux - Distributions > Debian
User Name
Debian This forum is for the discussion of Debian Linux.


  Search this Thread
Old 07-29-2009, 07:24 AM   #1
LQ Newbie
Registered: Dec 2007
Posts: 10

Rep: Reputation: 0
webcam for streaming form commandline


I'm working on a robotics project around a NSLU2 (or "slug") running debian (command line only).

I need some advice about the posibilty of adding a webcam

for obvious reason's i'd like to keep it low-cost, so 'im looking for:

A. advice on what (pref low cost) webcam i schould get. (i've had my eye on aLogitech QuickCam E1000 but would that work ??? )

B. advice on what program to use in order to stream video to another computer?

thank you very much in advance

for the intrested; i'm replacing the innards of a RC tank (Heng Long) with an NSLU and an arduino mega, connecting it to my network over wifi .... )
Old 07-29-2009, 07:52 AM   #2
Registered: Jan 2006
Location: UK
Distribution: Fedora,Mandriva,Debian,Suse,Solaris
Posts: 135

Rep: Reputation: 17

Hi corosus

I hope this is of help.

Old 07-30-2009, 01:14 AM   #3
Registered: Jul 2006
Distribution: Debian: Squeeze AMD64
Posts: 318

Rep: Reputation: 31
If you have access to ssh, I had a similar problem, and came up with a rather sneaky solution, at least I thought...

ssh user@remoteip ffmpeg -b 100K -an -f video4linux2 -s 320x240 -r 10 -i /dev/video0 -b 100K -f ogg - | mplayer - -idle -demuxer ogg

It might not be exactly what you're looking for, but it works really really well for webcamming between my girlfriend and I.

Basically the idea is to ssh into the remote computer, use ffmpeg to convert the raw webcam feed to a compressed format (ogg in this case) and then pipe it out over stdout. On the other side I have mplayer read from stdin. This way you are sending only the video over the network, the local computer does all the processing. You have the added advantage of being able to tune ffmpeg to your specific needs as far as resolution / bandwidth stuff...


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
Streaming a webcam / capture device fruitwerks Linux - Software 0 04-02-2009 03:12 PM
streaming webcam server gtkuntz Linux - Software 3 04-08-2006 01:27 PM
Streaming Live Video using Webcam lkittinger Linux - Software 3 01-29-2006 02:56 PM
How to capture video frames form webcam Madhukar Linux - Software 0 04-14-2004 08:26 AM
direct streaming video with webcam rbonneau Linux - General 2 09-17-2003 04:49 PM > Forums > Linux Forums > Linux - Distributions > Debian

All times are GMT -5. The time now is 01:57 PM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration