[Ilugc] Re: Webcam and Wifi in DELL laptop working with ubuntu 8.04 hardy heron

  • From: kannan4k@xxxxxxxxx (Kannan)
  • Date: Sat Feb 14 19:14:14 2009

Vedio Recording using webcam in any Linux
Distro<http://www.linuxmonk.org/2008/10/14/vedio-recording-using-webcam-in-any-linux-distro/>

For vedio recording in linux, mplayer alone may not be enough, one
additional package that comes with mplayer is needed. Its mencoder. To
install mencoder in a debian based distro use the command

*$sudo apt-get install mencoder*

For other distros like redhat you can use relevant tools like YUM to install
mencoder.

Then for vedio recording follow the commad below

*Video Recording Without Sound*

*$ mencoder tv:// -tv driver=v4l2:width=640:height=480:device=/dev/video0
-nosound -ovc lavc -o filename.avi*

 *Video recording With Sound*

*$ mencoder tv:// -tv
driver=v4l2:width=640:height=480:device=/dev/video0:forceaudio:adevice=/dev/dsp
-ovc lavc -oac mp3lame -lameopts cbr:br=64:mode=3 -o filename.avi*

 To change/increase the rate of frames captured use the fps option of the
above command.

Use it like


-- 
With regards,
Kannan.

Other related posts: