You are not logged in.

#1 2010-02-07 20:49:47

ares952
Member
Registered: 2009-11-08
Posts: 50

How to take a screenshot from webcam?

Hi, I have my USB webcam properly installed and it works. I can use vlc for it, and everything works OK. However, I would like to take a screenshot from the webcam.
When I use
cat /dev/video >> picture.jpg it takes all jpg files into one file and never stops. If I stop saving into picture.jpg only the last file is visible and all images during the saving time are saved.
I would like to take only one shot. Something like take-one-screen-shot /dev/video > picture.jpg
Is that possible?
I have read http://wiki.archlinux.org/index.php/Webcam, there is a program in AUR, and i guess it works, but I would prefer core/extra/comunity programs.
Thank you.

Last edited by ares952 (2010-02-07 20:52:27)

Offline

#2 2010-02-07 23:44:08

JackH79
Member
From: Australia
Registered: 2009-06-18
Posts: 663
Website

Re: How to take a screenshot from webcam?

You can use vlc.

I think there is something in the Video menu called snapshot (can't tell you the exact location, as I'm at work on Windows machine).
If that doesn't work, you could try ffmpeg. Check out the man pages. I think there is a section about getting screen grabs from webcams.

Offline

#3 2010-02-07 23:47:47

GogglesGuy
Member
From: Rocket City
Registered: 2005-03-29
Posts: 610
Website

Re: How to take a screenshot from webcam?

cheese?

Offline

#4 2010-02-07 23:55:06

my0pic
Member
From: Melbourne, Australia
Registered: 2008-05-23
Posts: 206

Re: How to take a screenshot from webcam?

Have a look at xawtv. It's in the extra repos. It includes a program called streamer which will capture to a single jpg.

Offline

#5 2010-02-08 01:37:40

R00KIE
Forum Fellow
From: Between a computer and a chair
Registered: 2008-09-14
Posts: 4,734

Re: How to take a screenshot from webcam?

You may want to give guvcview a try, but you need to get it from the AUR.


R00KIE
Tm90aGluZyB0byBzZWUgaGVyZSwgbW92ZSBhbG9uZy4K

Offline

#6 2010-02-08 02:43:03

jt512
Member
Registered: 2009-02-19
Posts: 262

Re: How to take a screenshot from webcam?

R00KIE wrote:

You may want to give guvcview a try, but you need to get it from the AUR.

+1 for guvcview.  No gnome dependencies, and more functionality than cheese.

Jay

Offline

#7 2010-02-13 11:43:35

ares952
Member
Registered: 2009-11-08
Posts: 50

Re: How to take a screenshot from webcam?

Well, thank you a lot. I am trying to use streamer :-) It looks good.

Offline

Board footer

Powered by FluxBB