Gentoo Archives: gentoo-amd64

From: Drake Donahue <donahue95@×××××××.net>
To: gentoo-amd64@l.g.o
Subject: Re: [gentoo-amd64] Video for Linux - webcam
Date: Sun, 09 Aug 2009 15:39:33
Message-Id: 1249832369.6078.7.camel@oddman.donahues.us.
In Reply to: [gentoo-amd64] Video for Linux - webcam by Mansour Al Akeel
1 On Sun, 2009-08-09 at 10:33 -0300, Mansour Al Akeel wrote:
2 > I have been trying to get the webcam to work on:
3 >
4 > Linux mars 2.6.29-gentoo-r5 #1 SMP Sat Aug 8 13:33:30 ADT 2009 x86_64
5 > AMD Athlon(tm) 64 X2 Dual-Core Processor TK-53 AuthenticAMD GNU/Linux
6 >
7 > lsusb
8 > Bus 002 Device 001: ID 1d6b:0001
9 > Bus 001 Device 002: ID 05ca:1810 Ricoh Co., Ltd
10 > Bus 001 Device 001: ID 1d6b:0002
11 >
12 > I enabled V4L in the Kernel and enabled API 1.0.
13 > Then I installed the driver as in :
14 >
15 > http://forums.gentoo.org/viewtopic-t-768893.html?sid=57e3dbf52a9be44c18f4f779069802ab
16 >
17 > Now, when I try this:
18 > ==============================================================
19 > mplayer -fps 15 tv:// -tv driver=v4l2:device=/dev/v4l/video0
20 > MPlayer 29040-4.1.2 (C) 2000-2009 MPlayer Team
21 >
22 > Playing tv://.
23 > TV file format detected.
24 > No such driver: v4l2
25 >
26 >
27 > Exiting... (End of file)
28 > ==============================================================
29 >
30 > So I tried without specifying a driver:
31 >
32 > $ mplayer -fps 25 tv:// -tv device=/dev/video
33 >
34 > MPlayer 29040-4.1.2 (C) 2000-2009 MPlayer Team
35 >
36 > Playing tv://.
37 > TV file format detected.
38 > Selected driver: dummy
39 > name: NULL-TV
40 > author: alex
41 > comment:
42 > Selected input hasn't got a tuner!
43 > ==========================================================================
44 > Opening video decoder: [raw] RAW Uncompressed Video
45 > VDec: vo config request - 320 x 200 (preferred colorspace: Planar YV12)
46 > VDec: using Planar YV12 as output csp (no 0)
47 > Movie-Aspect is undefined - no prescaling applied.
48 > VO: [xv] 320x200 => 320x200 Planar YV12
49 > Selected video codec: [rawyv12] vfm: raw (RAW YV12)
50 > ==========================================================================
51 > Audio: no sound
52 > FPS forced to be 25.000 (ftime: 0.040).
53 > Starting playback...
54 > V: 1.0 73/ 73 0% 6% 0.0% 0 0
55 > V: 1.0 82/ 82 0% 6% 0.0% 0 0
56 >
57 > Exiting... (End of file)
58 >
59 >
60 > I got a small window, with a green color and nothing else. I will
61 > appreciate any advice, as I don't want to keep booting to windows, only
62 > for this. :)
63 > Thanks
64 >
65 >
66 >
67
68 Just guessing, don't have ricoh, but:
69 In menu config the following choices (just for the camera, other
70 multimedia devices not considered by me) and recompile kernel:
71 Device Drivers --->
72 Multimedia devices --->
73 *** Multimedia core support ***
74 <M> Video For Linux
75 [*] Enable Video For Linux API 1 (DEPRECATED) (NEW)
76 *** Multimedia drivers ***
77 [ ] Load and attach frontend and tuner driver modules as needed
78 [*] Video capture adapters (NEW) --->
79 --- Video capture adapters
80 [*] V4L USB devices (NEW) --->
81 --- V4L USB devices
82 <M> USB OV511 Camera support (NEW)