On Thu, 29 Jan 2009, Mehul Ved wrote:
On Thu, Jan 29, 2009 at 8:23 PM, Dr. Sharukh K. R.
Pavri.
<lists(a)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.
--
Dr. Sharukh K. R. Pavri. Homoeopath, Linuxer.
Hardware, n.: The parts of a computer system that can be kicked.