1

I have an EEE PC 701 and want to record video using the built-in webcam. I have installed Lubuntu 14.10. I already have installed avconv and I want to use avconv.

0

2 Answers 2

2

If you want to use avconv

Find video device

 ls /dev/video*

suppose video0

2- Find audio device

 arecord -l

suppose output like this

 card 1: U0x46d0x8ad [USB Device 0x46d:0x8ad],........

Then the audio device would be:

plughw:U0x46d0x8ad,0

Capture video and audio:

avconv -f video4linux2 -r 25 -i /dev/video0 -f alsa -i plughw:U0x46d0x8ad,0 -ar 
22050 -ab 64k -strict experimental -acodec aac -vcodec mpeg4 -y webcam.mp4

If you want to try some GUI apps:

1.Camorama Webcam Viewer

To install it:

sudo apt-get install camorama

Caomorana screenshot


2.GTK+ base UVC Viewer

Install GUVC Viewer

sudo apt-get install guvcview

enter image description here

11
  • I want to use avconv, the output of ls /dev/video* is /dev/video0 and the output of arecord -l is: card 0: Intel [HDA Intel], device 0: ALC662 rev1 Analog [ALC662 rev1 Analog] Subdevices: 0/1 Subdevice #0: subdevice #0 What do I have to type?
    – wb9688
    May 12, 2015 at 10:33
  • avconv -f video4linux2 -r 25 -i /dev/video0 -f alsa -i plughw:Intel,0 -ar 22050 -ab 64k -strict experimental -acodec aac -vcodec mpeg4 -y webcam.mp4
    – Maythux
    May 12, 2015 at 10:35
  • I get the error: [alsa @ 0x976c3a0] cannot open audio device plughw:Intel,0 (No such device) plughw:Intel,0: Input/output error
    – wb9688
    May 12, 2015 at 10:47
  • Do you have input device such as microphone?>
    – Maythux
    May 12, 2015 at 10:49
  • Yes, I have a built-in microphone.
    – wb9688
    May 12, 2015 at 10:50
1

Go to application , Chose

cheese

Cheese has an icon to record a video , Use that .

Simple as few clicks

Not the answer you're looking for? Browse other questions tagged .