Gentoo Archives: gentoo-user

From: Daevid Vincent <daevid@××××××.com>
To: gentoo-user@l.g.o
Subject: RE: [gentoo-user] BTTV Mini-HOWTO -- how do I use multiple inputs?
Date: Tue, 29 Nov 2005 07:14:57
Message-Id: 002301c5f4b3$ea4e4ad0$450a0a0a@locutus
In Reply to: Re: [gentoo-user] BTTV Mini-HOWTO -- how do I use multiple inputs? by Nick Rout
1 > > If I try to take a picture:
2 > >
3 > > /usr/bin/v4lctl -c /dev/video0 snap jpeg 320x240
4 > > /home/dae51d/public_html/nokia_cam.jpg
5 > > /usr/bin/v4lctl -c /dev/video1 snap jpeg 320x240
6 > > /home/dae51d/public_html/ittybitty_cam.jpg
7 > >
8 > > Then the first one works fine, but the second one is failing with:
9 > >
10 > > v4l2: open /dev/video1: No such device
11 > > v4l2: open /dev/video1: No such device
12 > > v4l: open /dev/video1: No such device
13 > > no grabber device available
14 >
15 > yes, you probably have one bttv device with a number of inputs. you
16 > need to switch inputs. they are usually called TV, Composite, S-Video
17 > etc. If there is more than one composite they might be called
18 > Composite-1, Composite-2 etc
19 >
20 > On the other hand they may be audio inputs? 4 composite inputs is
21 > rather excessive I would have thought.
22
23 The PCI card looks kind of like this one:
24 http://www.hauppauge.com/pages/products/data_impactvcb.html
25 But it has 3 RCA Inputs and and S-VIDEO input (see bottom of page)
26
27 > By the way which package does v4lctl come in?
28
29 # equery belongs v4lctl
30 [ Searching for file(s) v4lctl in *... ]
31 media-tv/xawtv-3.94-r1 (/usr/bin/v4lctl)
32
33 > ok it is part of xawtv. just refreshing myself, you can see a list of
34 > available parameters with
35 >
36 > v4lctl -c /dev/video0 list
37
38 attribute | type | current | default | comment
39 -----------+--------+---------+---------+-----------------------------------
40 --
41 norm | choice | PAL | PAL | PAL NTSC SECAM PAL-Nc PAL-M PAL-N
42 NTSC-JP PAL-60
43 input | choice | Televis | Televis | Television Composite1 S-Video
44 Composite3
45 audio mode | choice | mono | mono | mono stereo lang1 lang2
46 bright | int | 32768 | 32768 | range is 0 => 65535
47 contrast | int | 32768 | 32768 | range is 0 => 65535
48 color | int | 32768 | 32768 | range is 0 => 65535
49 hue | int | 32768 | 32768 | range is 0 => 65535
50 mute | bool | off | off |
51 chroma agc | bool | off | off |
52 combfilter | bool | off | off |
53 automute | bool | on | off |
54 luma decim | bool | off | off |
55 agc crush | bool | on | off |
56 vcr hack | bool | off | off |
57 whitecrush | int | 207 | 207 | range is 0 => 255
58 whitecrush | int | 127 | 127 | range is 0 => 255
59
60 So this doesn't mention anything about the inputs.
61
62 I would have thought they would be /dev/video0 ... Video2
63
64 Since the way that I take a snap with one camera attached to the card is
65 like this:
66 /usr/bin/v4lctl -c /dev/video0 snap jpeg 320x240
67 /home/dae51d/public_html/nokia_cam.jpg
68
69 Notice the "-c /dev/video0"
70
71
72 --
73 gentoo-user@g.o mailing list

Replies

Subject Author
Re: [gentoo-user] BTTV Mini-HOWTO -- how do I use multiple inputs? Nick Rout <nick@×××××××.nz>