LinuxQuestions.org
Share your knowledge at the LQ Wiki.
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 02-12-2010, 03:08 PM   #1
danpaluska
LQ Newbie
 
Registered: Dec 2009
Location: new york city and sometimes boston and hopefully sometime somewhere warmer
Distribution: i'm trying to remain agnostic. but fedora and ubuntu so far.
Posts: 20

Rep: Reputation: 0
Cheese / Webcam recording success stories? linux videobooth installations?


Not sure if this is right place or not but i'm looking for some success stories of Cheese and external webcams or built in netbook cameras.

Would love to see some actual examples.

Here is the type of behavior I seem to always* get:
http://www.youtube.com/watch?v=NsW53o9kAXA

*I have tried 3 different computers, dell 8100 (1.5 ghz p4, 256 ram), ibm thinkcentre (1.4ghz p4, 512 ram), ibm thinkpad t42 (1.7ghz p3, 1gb ram)
and several different webcams (2 old logitech cameras, ps3eye, ms lifecam show) running either fedora or ubuntu.

see also this post for some other movies of a system i had similar problems with:
http://www.linuxquestions.org/questi...webcam-783511/

here is a list of cams that work with skype but i find skype and cheese to be different as it's the RECORD feature that seems to cause the problems. displaying the feed is never too bad, but recording seems to break the feed.
https://wiki.kubuntu.org/SkypeWebCams


So i'm looking to know if anybody out there has had success with cheese or another webcam RECORDING program on linux. i'm working on several videobooth installations(http://broadcasterproject.wordpress.com) and would love to permanently ditch my mac for linux but having trouble finding acceptable performance in this area. any tips are appreciated.

and i'm happy to turn this thread into wiki page if there are enough responses.

thanks!
-dan
 
Old 02-12-2010, 06:54 PM   #2
irmin
Member
 
Registered: Jan 2010
Location: the universe
Distribution: Slackware (modified), Slackware64 (modified), openSuSE (modified)
Posts: 342

Rep: Reputation: 62
Hi,

I have two laptops, an Asus EeePc 900A and a Medion P6613, which both are equipped with a built-in webcam. These built-in cameras are connected internally via USB. Both use the uvcvideo driver. To record the video captured, I use mencoder:

Code:
mencoder -tv driver=v4l2:device=/dev/video0:alsa:adevice=<alsa microphone pcm>:immediatemode=0:audiorate=48000 -fps 25 tv:// -oac lavc -ovc lavc -lavcopts vcodec=mpeg2video:acodec=mp2:vbitrate=1600:abitrate=192 -of mpeg -o <output file/pipe>
If you want to view the recorded view at the same time, you can view the output file with mplayer the same.
 
Old 02-16-2010, 02:31 PM   #3
danpaluska
LQ Newbie
 
Registered: Dec 2009
Location: new york city and sometimes boston and hopefully sometime somewhere warmer
Distribution: i'm trying to remain agnostic. but fedora and ubuntu so far.
Posts: 20

Original Poster
Rep: Reputation: 0
how exactly do i fill in the alsa part?

Code:
axiomtwvee@axiomtwvee:~/Videos/Webcam$ cat /proc/asound/version
Advanced Linux Sound Architecture Driver Version 1.0.20.
axiomtwvee@axiomtwvee:~/Videos/Webcam$ cat /proc/asound/cards
 0 [Intel          ]: HDA-Intel - HDA Intel
                      HDA Intel at 0xd02c0000 irq 22
 1 [U0x46d0x8dd    ]: USB-Audio - USB Device 0x46d:0x8dd
                      USB Device 0x46d:0x8dd at usb-0000:00:1d.3-2, full speed
also tried this line i found in another forum but it gives me an error about setting the norm. any ideas here?

Code:
axiomtwvee@axiomtwvee:~/Videos/Webcam$ mencoder tv:// -tv driver=v4l2:device=/dev/video0:width=320:height=240:forceaudio -ovc lavc -oac lavc -lavcopts vcodec=mpeg4:acodec=mp3 -ffourcc divx -o test.avi

MEncoder SVN-r29237-4.4.1 (C) 2000-2009 MPlayer Team
success: format: 9  data: 0x0 - 0x0
TV file format detected.
Selected driver: v4l2
 name: Video 4 Linux 2 input
 author: Martin Olschewski <olschewski@zpr.uni-koeln.de>
 comment: first try, more to come ;-)
v4l2: your device driver does not support VIDIOC_G_STD ioctl, VIDIOC_G_PARM was used instead.
Selected device: USB Camera (046d:08dd)
 Capabilites:  video capture  read/write  streaming
 supported norms:
 inputs: 0 = zc3xx;
 Current input: 0
 Current format: unknown (0x4745504a)
tv.c: norm_from_string(pal): Bogus norm parameter, setting default.
v4l2: ioctl enum norm failed: Invalid argument
Error: Cannot set norm!
Selected input hasn't got a tuner!
v4l2: Cannot get fps
Audio block size too low, setting to 16384!
Floating point exception
any ideas?
thanks,
dan
 
  


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 recognized by Linux but not cheese or camorama- help? Logomachist Linux - Hardware 10 10-24-2009 03:19 AM
Recording video with Cheese kmacphail Linux - Software 2 06-26-2009 10:01 AM
some of my success stories using linux eeyoree LinuxQuestions.org Member Success Stories 1 01-08-2005 11:53 AM

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

All times are GMT -5. The time now is 03:48 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