OpenWrt Forum Archive

Topic: Webcam program

The content of this topic has been archived on 29 Apr 2018. There are no obvious gaps in this topic, but there may still be some posts missing at the end.

I have managed to install my webcam ( gspca ) on my WRTSL54GS and is working without problem i use motion with it and I can see a lot of pictures on my Pen Drive , I use a HUB to hook up booth.

My question?
Is there any other program that a can use to generate a movie?

Well, motion can stream to ffmpeg (in the configuration file you got options for that), but don't expect to make real time avi conversion on a WRT ;-) I doubt simply mpeg generation works...

But you could run palantir and let for example mencoder on another machine grab the stream. Or open the stream with video lan client, encode on the fly and stream further, or ...

The spcaserv -> TCP/IP -> spcaview combo is very fast and light on the router. But somehow I can't redirect the stream on the client end.

Thanks towolf but what I realy need is a program to capture a movie and record in a Pen Drive.
@rAndy I cant use ffmpeg I get this:

root@OpenWrt:~# motion
[0] Processing thread 0 - config file /etc/motion.conf
[0] Unknown config option "ffmpeg_cap_new"
[0] Unknown config option "ffmpeg_cap_motion"
[0] Unknown config option "ffmpeg_timelapse"
[0] Unknown config option "ffmpeg_timelapse_mode"
[0] Unknown config option "ffmpeg_bps"
[0] Unknown config option "ffmpeg_variable_bitrate"
[0] Unknown config option "ffmpeg_video_codec"
[0] Unknown config option "ffmpeg_deinterlace"
[0] Unknown config option "movie_filename"
[0] Unknown config option "timelapse_filename"
[0] Motion going to daemon mode
skorianez wrote:

@rAndy I cant use ffmpeg

Of course, you ain't got ffmpeg on your WRT.  It isn't even in ports collection i see right now.
But look at http://mxhaard.free.fr/sview.html sections 2.4.1 2.4.2 and see examples of spcaview usage with output file option (i havn't tried yet). Best chances probably in raw mode ;-)

The discussion might have continued from here.