Hi,

To  record video from my 5000 pro, I used this scriptshell function with ffmpeg:

function record_cam () {
   [ "$#" -ne 2 ] && echo "usage: ./$0 /dev/video file" && return 1
   ffmpeg -vd "$1" -target svcd -s 640x480 -ad /dev/dsp -ad /dev/dsp -ac 1 "$2"
}

I just have to specify record_cam /dev/video0 /tmp/video.avi

I sure that you can fix the framerate with -fps option and put this
function in another scriptshell function that will append date and
hour to the file name.
To record for one hour, use the -t duration option.

Pierre

On 11/2/06, Vidar Normann <[EMAIL PROTECTED]> wrote:
> Hi,
>
> I need to record video from my webcam, a Logitech Quickam for Notebooks Pro,
> and also grab a stillframe fairly often, say each 10-20 seconds? I am unsure
> which
> software is compatible with the uvc driver, but what I need is software
> where I can
> specify that it has to record for an hour and then start a new file,
> recording for an
> hour, etc.). A comnmand-line utility is preferred as this is for a
> surveillance system.
>
> For framegrabbing I have tried to use uvccapture ( 0.4) but if I run the
> command
> with the following parameters I get an  "ioctl reset control error" and
> "ioctl
> querycontrol error 5": .
> /uvccapture -t10
>
> Any and all help is greatly appreciated. And let me thank you all for great
> work
> with the uvc driver and helpful replies in the mailing list (which I have
> read quite
> alot of posts of).
>
> Sincerely,
> Vidar Normann
>
> _______________________________________________
> Linux-uvc-devel mailing list
> [email protected]
> https://lists.berlios.de/mailman/listinfo/linux-uvc-devel
>
>
>


-- 
EPITA - Temps Reel - promo 2006 - Gentoo User
MSN: [EMAIL PROTECTED]
Skype.com: Ticapix
_______________________________________________
Linux-uvc-devel mailing list
[email protected]
https://lists.berlios.de/mailman/listinfo/linux-uvc-devel

Reply via email to