command line image capture on fedora 11


 
Thread Tools Search this Thread
Operating Systems Linux Red Hat command line image capture on fedora 11
# 1  
Old 11-17-2009
command line image capture on fedora 11

i mean command line WEBCAM image capture. sorry fo rleaving webcam out of the title... how do i edit that?
anyways...

imagemagick, ffmpeg are installed.
cheese works fine. webcam is there. i can take movies and photos.

i would like to take command line snapshots from the camera. how do i do this?

my google skills failed me on this one. this must be easy?

i found a few references to programs (mostly gui) or automated in some way that do security type monitoring.
this is fine and all but i would really just like an equivalent to 'import' for the webcam.

any tips?

thanks,
dan

Last edited by danpaluska; 11-17-2009 at 06:41 PM.. Reason: left word out of title, webcam
Login or Register to Ask a Question

Previous Thread | Next Thread

9 More Discussions You Might Find Interesting

1. Shell Programming and Scripting

How to capture string below a line?

Hi, I need to collect IP address of all servers (more than 300). One way is put it in for loop and run nslookup for that servers list, but there are multiple fields in output. (tty/dev/pts/13): bash: 1011 > nslookup vplssor04 Server: 10.58.115.34 Address: 10.58.115.34#53 Name: ... (7 Replies)
Discussion started by: solaris_1977
7 Replies

2. HP-UX

How capture all user command line output?

Hi I want to know how capture all user command line output and save this commands and outputs to text files? if you have script for this subject please give me.:o please help me thank you (6 Replies)
Discussion started by: amvhd
6 Replies

3. UNIX for Dummies Questions & Answers

How to download file protected by image captcha from command line?

Hello, any way to download file from image captcha download protected website? The download link is not static but session based, generated. I can do also via web browser, but i trust rather command line, maybe im wrong (1 Reply)
Discussion started by: postcd
1 Replies

4. Red Hat

How to start Fedora 11 in command line mode and skip damaged programs ??

Hi All, Please let me know that how to start Fedora 11 in command line mode and skip damaged programs ?? Scenario being: I have Fedora 11 ( pretty ole... eh !! ). If I try to start the PC , then after some steps of startup... it just hangs and does not boots. I tried entering the mode... (4 Replies)
Discussion started by: dipanchandra
4 Replies

5. UNIX for Dummies Questions & Answers

ffmpeg: capture audio that's playing (command line)

I'd like to capture the audio playing in itunes (OSX) to a file (from the command line). I currently use Wiretap Pro, but i'd like a non-gui. I tried installing sox, but after installing about 40-50 dependencies it crashed out. I do have ffmpeg working and I am pretty sure it can capture what's... (0 Replies)
Discussion started by: sentinel
0 Replies

6. Linux

gvfs-mount not working from command line (Fedora 11 x86-64)

When I access a samba share from command line using gvfs-mount, I can not see anything in ~/.gvfs/ directory. See below: ajitabhp:$ gvfs-mount smb://iomega-dstore/music/ ajitabhp:$ echo $? 0 ajitabhp:$ ls -l ~/.gvfs/ total 0 ajitabhp:$ ps -ef|grep gvfsd-smb ajitabhp 10896 1 0 11:28 ? ... (2 Replies)
Discussion started by: ajitabhpandey
2 Replies

7. Shell Programming and Scripting

Capture first N Bytes from first line in a file

Hi Guyz, I need to capture first N Bytes from the first line of my file. Eg. If i have following data in File1 414d51204541495052475731202020204a910846230e420c Hello 3621363663212 Help Required Then, i want the value of first 48 Bytes to be stored in a variable. That is, variable... (5 Replies)
Discussion started by: DTechBuddy
5 Replies

8. UNIX and Linux Applications

trying to install Fedora 9, know any good image burners?

Hey, I'm downloading a DVD image for Fedora 9 onto a windows XP environment. I want to burn it to a DVD of course and then install the operating system on a partition of my laptop. My question is, what's a reliable image burner that I can download and use with windows for this project. I'm not... (1 Reply)
Discussion started by: gelitini
1 Replies

9. Shell Programming and Scripting

Capture entire line in ps command

I need to determine what processes are running at certain times of the day. I have a script that issues the /usr/ucb/ps aux command and captures it to a file. I want to see the cpu usage and memory usage. This command lops off the end of the of the display line so I can't see the entire... (2 Replies)
Discussion started by: MizzGail
2 Replies
Login or Register to Ask a Question
webcam(1)						      General Commands Manual							 webcam(1)

NAME
webcam - capture images and upload them to a webserver using ftp SYNOPSIS
webcam [ config file ] DESCRIPTION
webcam captures images from a video4linux device like bttv, annotates them and and uploads them to a webserver using ftp in a endless loop. CONFIGURATION
At startup webcam reads the configuration from the given config file or ~/.webcamrc if none is specified in the command line. The config file has at least two sections. The "grab" section holds the capture parameters. Any other section describes where the image should be uploaded. Older versions used "ftp" as name for that section. Recently the webcam utility got support for multiple connections, thus any section name is accepted and you can have more than one ftp section (you have to use another name for each section througth, name them by upload servers for example). Here is an sample config file (the given values are the defaults): [grab] device = /dev/video0 text = "webcam %Y-%m-%d %H:%M:%S" infofile = filename fg_red = 255 fg_green = 255 fg_blue = 255 width = 320 height = 240 delay = 3 wait = 0 input = composite1 norm = pal rotate = 0 top = 0 left = 0 bottom = -1 right = -1 quality = 75 trigger = 0 once = 0 [ftp] host = www user = webcam pass = xxxxxx dir = public_html/images file = webcam.jpeg tmp = uploading.jpeg passive = 1 debug = 0 auto = 0 local = 0 ssh = 0 The annotation text is processed with strftime. Check the strftime(3) or date(1) manpage to see how you can format the timestamps. The text can also be read from a extern file (use infofile for that). The default color for the text overlay is white (RGB=255,255,255). Entries in the range of 0 through 255 for fg_red, fg_green, and fg_blue can be used to define a different color. Likewise bg_red, bg_green, and bg_blue can be used to set the background color (which defaults to transparent). input is the video source (TV/composite/whatever), norm the TV norm. delay is the delay between two images in seconds. wait is the ini- tial delay before the first image is grabbed (some cameras need some time for adapting to lightning, thus don't return images with reason- able quality within the first few seconds ...). quality is the JPEG quality for the stored images. top, bottom, left, and right in the grab section allow cropping the image after it is grabbed. They should satisfy 0<=top<bottom<=height and 0<=left<right<=width. (0,0 is the top, left corner.) If rotate is positive, the output image will be rotated counter-clockwise 90 degrees that number of times (1, 2, or 3). With trigger set to a non-zero value webcam will upload the image only if the content of the image has changed. It just looks for the max- imum difference between the last uploaded and current image and if it is greater than the specified value the image will be uploaded. If once is set to 1 webcam will upload a single frame and quit. archive can be used to create a (local) archive of the webcam images. Just specify the filename for the files as argument. The filename will be processed with strftime(3), so you can use the place the usual time format controls into the string to get unique filenames. Non- existing directories are created if needed. If debug in the ftp section is set to 1 the complete communication between webcam and the ftp utility is printed to stderr. auto enables autologin via ~/.netrc (starts the ftp utility without the '-n' switch, check the ftp(1) man page for more info about the ~/.netrc file). If local in the ftp section is non-zero, files will be stored locally (using the dir, tmp, and file parameters) rather than ftped. ssh set to non-zero makes webcam use ssh instead of ftp. CORRECTION OF DISTORTION
contributed by Frederic Helin, the parameters belong into the [grab] section of the config file too. distor = 1 If distor param is set to 1, the correction of distortion works. distor_k = 700 This is the coefficient of distortion. This algorithm is based on the paper "Correcting Distortion of Image by Image Registration" of Toru Tamaki, Tsuyoshi Yamamura and Noboru Ahnishi. More your lens has an important distortion, more 'distor_k' must be neared of 0. 700 is the default value. Coefficient k of program is x100 than article. distor_cx = 192 distor_cy = 144 Coordinates of the lens optical axis: width/2 and height/2 are the default values. The axis doesn't go through the image center. So, you can change its coordinates around the center of image to affine correction. distor_zoom = 30 Zoom parameter is used to cache the distorted borders of image, if you don't like this. Default value is 100. distor_sensorw = 320 distor_sensorh = 240 Dimensions of camera sensor. Default values are for 1/4p sensor. This parameters used to have the same k coefficient than article. AUTHOR
Gerd Knorr <kraxel@bytesex.org> COPYRIGHT
Copyright (C) 1997-2002 Gerd Knorr This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MER- CHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. (c) 1998-2000 Gerd Knorr webcam(1)