Gentoo Archives: gentoo-user

From: Walter Dnes <waltdnes@××××××××.org>
To: Gentoo Users List <gentoo-user@l.g.o>
Subject: [gentoo-user] Questions about recording webcam+mic on netbook
Date: Fri, 05 Oct 2012 07:21:46
Message-Id: 20121005071946.GA1248@waltdnes.org
1 I'm getting really ambitious with my 3-year-old Acer netbook, now that
2 open source Poulsbo video support exists. After tweaking the kernel,
3 I've got the webcam+mic recording with the command...
4
5 ffmpeg -y -f alsa -i plughw:0,0 -f video4linux2 -i /dev/video0 -f avi -vcodec mpeg4 output.avi
6
7 mplayer plays the output file fine with the command...
8
9 mplayer -vo x11 output.avi
10
11 Any suggestions for better options? Would x264 be an improvement? Is
12 there a way for the video to be displayed on the screen as it's being
13 recorded? Should I be looking at a program other than ffmpeg? BTW,
14 here is output from "emerge -pv ffmpeg mplayer" in case anybody has
15 ideas for improvements in my USE flags...
16
17
18 [ebuild R ] media-video/ffmpeg-0.10.3 USE="X aac alsa bzip2 encode faac libv4l mmx mp3 oss ssse3 theora threads truetype v4l vorbis x264 zlib -3dnow -3dnowext -aacplus (-altivec) -amr -avx -bindist -cdio (-celt) -cpudetection -debug -dirac -doc -frei0r -gnutls -gsm -hardcoded-tables -ieee1394 -jack -jpeg2k -libass -mmxext -modplug (-neon) -network -openal -openssl -pic -pulseaudio -rtmp -schroedinger -sdl -speex -static-libs -test -vaapi -vdpau (-vis) -vpx -xvid" FFTOOLS="-aviocat -cws2fws -ffeval -graph2dot -ismindex -pktdumper -qt-faststart -trasher" 0 kB
19
20 [ebuild R ] media-video/mplayer-1.0_rc4_p20110322-r1 USE="X a52 alsa dts encode faac faad gif jpeg mmx mng mp3 opengl png real sse sse2 ssse3 theora truetype v4l vorbis win32codecs x264 xv -3dnow -3dnowext -aalib (-altivec) -amr (-aqua) -bidi -bindist -bl -bluray -bs2b -cddb -cdio -cdparanoia -cpudetection -custom-cpuopts -debug -dga -dirac -directfb -doc -dv -dvb -dvd -dvdnav -dxr3 -enca -fbcon -ftp -ggi -gsm -iconv -ipv6 -jack -joystick -jpeg2k -ladspa -libass -libcaca -libmpeg2 -lirc -live -lzo -mad -md5sum -mmxext -mpg123 -nas -network -nut -openal -osdmenu -oss -pnm -pulseaudio -pvr -quicktime -radio -rar -rtc -rtmp -samba -schroedinger -sdl -shm -speex -tga -toolame -tremor -twolame -unicode -vdpau -vidix -vpx -xanim -xinerama -xscreensaver -xvid -xvmc -zoran" VIDEO_CARDS="-mga -s3virge -tdfx -vesa" 0 kB
21
22 --
23 Walter Dnes <waltdnes@××××××××.org>
24 I don't run "desktop environments"; I run useful applications

Replies

Subject Author
Re: [gentoo-user] Questions about recording webcam+mic on netbook Michael Mol <mikemol@×××××.com>
[gentoo-user] Re: Questions about recording webcam+mic on netbook James <wireless@×××××××××××.com>