LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Debian
User Name
Password
Debian This forum is for the discussion of Debian Linux.

Notices


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

Rep: Reputation: 0
webcam for streaming form commandline


Hi


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, 06:52 AM   #2
1jnike
Member
 
Registered: Jan 2006
Location: UK
Distribution: Fedora,Mandriva,Debian,Suse,Solaris
Posts: 135

Rep: Reputation: 17
Post

Hi corosus

http://mxhaard.free.fr/index.html


I hope this is of help.


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

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

#!/bin/bash
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...
 
  


Reply



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 02:12 PM
streaming webcam server gtkuntz Linux - Software 3 04-08-2006 12:27 PM
Streaming Live Video using Webcam lkittinger Linux - Software 3 01-29-2006 01:56 PM
How to capture video frames form webcam Madhukar Linux - Software 0 04-14-2004 07:26 AM
direct streaming video with webcam rbonneau Linux - General 2 09-17-2003 03:49 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Debian

All times are GMT -5. The time now is 09:52 AM.

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