LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 05-11-2003, 05:06 AM   #16
Crashed_Again
Senior Member
 
Registered: Dec 2002
Location: Atlantic City, NJ
Distribution: Ubuntu & Arch
Posts: 3,503

Original Poster
Rep: Reputation: 57

I'm beginning to think this was not meant to be. I finally got bttv installed correctly and now when I run it I get this:

[me@here user]# bttvgrab
bttvgrab error: Is a directory (open /dev/video)

open /dev/video?
 
Old 05-11-2003, 05:27 AM   #17
MasterC
LQ Guru
 
Registered: Mar 2002
Location: Salt Lake City, UT - USA
Distribution: Gentoo ; LFS ; Kubuntu ; CentOS ; Raspbian
Posts: 12,613

Rep: Reputation: 69
I don't know about that bttvgrab, it's been abandoned for nearly a year...

Just an idea, but try:
mplayer -tv off:driver=v4l:width=320:height=240 -jpeg progressive:outdir=/var/www/html/grabs -vo jpeg

If you prefer png:
mplayer -tv off:driver=v4l:width=320:height=240 -z 4 -vo png

Not sure about either, but less sure about the PNG option than the jpeg option :)

Cool

Last edited by MasterC; 05-11-2003 at 05:34 AM.
 
Old 05-11-2003, 02:16 PM   #18
Crashed_Again
Senior Member
 
Registered: Dec 2002
Location: Atlantic City, NJ
Distribution: Ubuntu & Arch
Posts: 3,503

Original Poster
Rep: Reputation: 57
I tried the mplayer command you suggested and it says:

Error: option 'tv' has no suboption 'off'
 
Old 05-11-2003, 03:06 PM   #19
Crashed_Again
Senior Member
 
Registered: Dec 2002
Location: Atlantic City, NJ
Distribution: Ubuntu & Arch
Posts: 3,503

Original Poster
Rep: Reputation: 57
Okay when I do this:

mplayer -tv on:driver=v4l:width=320:height=240 -jpeg progressive:outdir=/var/www/html -vo jpeg

It saves about 10 images per second and it just names them all something different. I get:

00000001.jpg
00000002.jpg
00000003.jpg
00000004.jpg
etc.

So how could I get it to take snapshots at a different time interval and keep saving the images under one name like snapshot.jpg ?

Last edited by Crashed_Again; 05-11-2003 at 03:08 PM.
 
Old 05-12-2003, 03:25 AM   #20
MasterC
LQ Guru
 
Registered: Mar 2002
Location: Salt Lake City, UT - USA
Distribution: Gentoo ; LFS ; Kubuntu ; CentOS ; Raspbian
Posts: 12,613

Rep: Reputation: 69
mplayer -tv on:driver=v4l:width=320:height=240 -jpeg progressive:outdir=/var/www/html -sstep 1 -vo jpeg

Note the -sstep 1 option. The 1 means take a picture every second. So if you wanted to change that to "2" or something, that'd be fine.

As for saving them under 1 filename... I'll look into that

Cool

Last edited by MasterC; 05-12-2003 at 03:26 AM.
 
  


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
webcam software mehro Linux - Software 1 09-22-2005 01:28 AM
webcam software punt Linux - General 5 08-11-2005 06:43 AM
Webcam software objorkum Linux - Software 2 02-27-2004 11:11 AM
Webcam software Viper168 Linux - Software 2 01-21-2004 08:00 AM
WebCam and what software? FrozenDeath Linux - General 5 11-26-2002 10:18 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 06:30 PM.

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