Gentoo Archives: gentoo-user

From: Michael Mol <mikemol@×××××.com>
To: gentoo-user@l.g.o
Subject: Re: [gentoo-user] Questions about recording webcam+mic on netbook
Date: Sat, 06 Oct 2012 11:50:22
Message-Id: CA+czFiCN3=HyJPAW9Wmr1AC_-v=mRRy31ZibhipacHwmhZwd8Q@mail.gmail.com
In Reply to: Re: [gentoo-user] Questions about recording webcam+mic on netbook by Walter Dnes
1 On Sat, Oct 6, 2012 at 5:03 AM, Walter Dnes <waltdnes@××××××××.org> wrote:
2 > On Fri, Oct 05, 2012 at 07:36:16AM -0400, Michael Mol wrote
3 >> On Oct 5, 2012 3:23 AM, "Walter Dnes" <waltdnes@××××××××.org> wrote:
4 >> >
5 >> > I'm getting really ambitious with my 3-year-old Acer netbook, now that
6 >> > open source Poulsbo video support exists. After tweaking the kernel,
7 >> > I've got the webcam+mic recording with the command...
8 >>
9 >> Check out 'uvcview'.
10 >
11 > I assume you meant luvcview. It works for monitoring, but I can't
12 > figure out how to record properly...
13
14 Actually, it looks like the one I'm accustomed to is
15 media-video/guvcview. I haven't played with media-video/luvcview
16
17 >
18 > 1) It outputs a raw stream file (named "stream.raw") which mplayer can't
19 > figure out how to play.
20 >
21 > 2) How do I get it to record audio too?
22 >
23 > I wouldn't mind transcoding the raw output, if I could get sound in
24 > there. ffmpeg can record mpeg4 video plus mp3 sound. The video has
25 > blocky artifacts when there's motion on the screen. I tried ffmpeg with
26 > x264 codec, but the cpu is simply not up to it. I used cpufreq-utils to
27 > push both cores to their max speed (1.3 ghz) but it didn't help.
28
29 When I last used guvcview, it muxed both audio and video into an
30 appropriate container format for me, but it was all very configurable.
31 I do recall I went with MJPEG for a video codec.[1]
32
33 I realize you're not fond of GNOME, but guvcview doesn't require
34 pulling in all of gnome. Though looking at it now, it may require
35 pulseaudio.
36
37 I haven't tried luvcview, sorry.
38
39 [1] This video was recorded with guvcview, and then uploaded as-is.
40 http://www.youtube.com/watch?v=kul0eGILCI4
41
42 --
43 :wq

Replies

Subject Author
Re: [gentoo-user] Questions about recording webcam+mic on netbook Walter Dnes <waltdnes@××××××××.org>