hi,
I just got a Logitech QuickCam Go. I'm trying to record video with it but failing. The webcam is supported (same hardware is a the QuickCam Chat). Here is what I have done after googling.
I can record a jpg with (the backslashes are mine)
mplayer tv:// -tv \ driver=v4l:device=/dev/video0:width=320:height=240:outfmt=rgb24 \ -frames 1 -vo jpeg
I get a file 000000001.jpg in my current directory.
I can also see a video feed in the video config of kopete. Hence, the webcam works. What I can't get working is this
mencoder tv:// -tv driver=v4l:width=320:height=240:device=/dev/video0 -nosound -ovc lavc -o wcrecording.avi
wcrecording.avi just shows a black screen when palyed w/ mplayer
I also tried
ffmpeg -f video4linux2 -i /dev/video0 /tmp/out.mpg
but it barfs w/ this error
[video4linux2 @ 0xb7f6b110]Missing/Wrong parameters /dev/video0: Error while opening file
can someone please help ?
thanks.
Sharukh.
On Thu, Jan 29, 2009 at 8:23 PM, Dr. Sharukh K. R. Pavri. lists@pavri.net wrote:
mencoder tv:// -tv driver=v4l:width=320:height=240:device=/dev/video0 -nosound -ovc lavc -o wcrecording.avi
wcrecording.avi just shows a black screen when palyed w/ mplayer
I also tried
ffmpeg -f video4linux2 -i /dev/video0 /tmp/out.mpg
but it barfs w/ this error
[video4linux2 @ 0xb7f6b110]Missing/Wrong parameters /dev/video0: Error while opening file
can someone please help ?
Can you please give the output of following commands as user ls -l /dev/video* groups This will check if /dev/video0 actually exists and if the permissions are right. Here's my blog post on how I got my webcam to work on Linux see if it helps http://techlog.mehulved.com/?p=24
On Thu, 29 Jan 2009, Mehul Ved wrote:
On Thu, Jan 29, 2009 at 8:23 PM, Dr. Sharukh K. R. Pavri. lists@pavri.net wrote:
mencoder tv:// -tv driver=v4l:width=320:height=240:device=/dev/video0 -nosound -ovc lavc -o wcrecording.avi
wcrecording.avi just shows a black screen when palyed w/ mplayer
I also tried
ffmpeg -f video4linux2 -i /dev/video0 /tmp/out.mpg
but it barfs w/ this error
[video4linux2 @ 0xb7f6b110]Missing/Wrong parameters /dev/video0: Error while opening file
can someone please help ?
Can you please give the output of following commands as user ls -l /dev/video* groups This will check if /dev/video0 actually exists and if the permissions are right. Here's my blog post on how I got my webcam to work on Linux see if it helps http://techlog.mehulved.com/?p=24
Oh yes, the device is /dev/video0. As I said, the webcam does work. I am able to see a video window in kopete, I can snap a pic using mplayer and now I can even record video using vlc.
What I am looking for is to record video fromthe command line.
regards,
Sharukh.