aboutsummaryrefslogtreecommitdiff
path: root/Gem/v4l2-videoplugin.pd
blob: 45c4cfc2502419d632984c172634ec38b2676e7d (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
#N canvas 8 49 505 589 10;
#X msg 9 219 device usb-0000:00:04.1-4;
#X msg 9 239 device usb-0000:00:06.0-2;
#X msg 9 259 device usb-0000:00:04.0-1;
#X msg -42 366 get driver;
#X msg 48 366 get card;
#X msg 138 366 get bus_info;
#X text -42 304 contrary to /dev/video* files \, this address is not
related to the plug order of the devices;
#X obj -73 425 cnv 15 150 20 empty \$0-propreadNamev4l2 -- 10 9 0 14
-203904 -66577 0;
#X obj 86 425 cnv 15 200 20 empty \$0-propreadValuev4l2 -- 10 9 0 14
-261234 -66577 0;
#X obj -21 282 s \$1-ctl;
#X text -38 176 You can also choose a device by its physical location
on the bus:;
#X obj -21 132 s \$1-ctl;
#X msg 9 69 device /dev/video0;
#X msg 9 89 device /dev/video4;
#X text -44 350 these are some related read-only properties :;
#N canvas 762 178 450 537 getDeviceInfo 0;
#X obj 54 38 inlet;
#X obj 54 66 s \$1-ctl;
#X obj 64 104 r \$1-info;
#X obj 64 369 s \$0-propreadNamev4l2;
#X obj 64 150 route driver card bus_info;
#X msg 64 190 driver;
#X obj 64 170 t b a;
#X obj 64 319 symbol;
#X obj 114 170 t b a;
#X obj 164 170 t b a;
#X msg 114 190 card;
#X msg 164 190 bus_info;
#X obj 141 272 symbol;
#X msg 64 339 label \$1;
#X msg 141 299 label \$1;
#X obj 141 330 s \$0-propreadValuev4l2;
#X obj 64 124 route prop;
#X obj 275 194 loadbang;
#X msg 275 214 --;
#X obj 275 234 t a a;
#X connect 0 0 1 0;
#X connect 2 0 16 0;
#X connect 4 0 6 0;
#X connect 4 1 8 0;
#X connect 4 2 9 0;
#X connect 5 0 7 0;
#X connect 6 0 5 0;
#X connect 6 1 12 0;
#X connect 7 0 13 0;
#X connect 8 0 10 0;
#X connect 8 1 12 0;
#X connect 9 0 11 0;
#X connect 9 1 12 0;
#X connect 10 0 7 0;
#X connect 11 0 7 0;
#X connect 12 0 14 0;
#X connect 13 0 3 0;
#X connect 14 0 15 0;
#X connect 16 0 4 0;
#X connect 17 0 18 0;
#X connect 18 0 19 0;
#X connect 19 0 7 0;
#X connect 19 1 12 0;
#X restore -42 394 pd getDeviceInfo;
#X text -38 26 With V4L2 backend you can choose a device via its device-name:
;
#X connect 0 0 9 0;
#X connect 1 0 9 0;
#X connect 2 0 9 0;
#X connect 3 0 15 0;
#X connect 4 0 15 0;
#X connect 5 0 15 0;
#X connect 12 0 11 0;
#X connect 13 0 11 0;