aboutsummaryrefslogtreecommitdiff
path: root/doc/objects/pdp_v4l.pd
blob: 5f5ebb499d8a88b9a715483dc4a4666510e9dbf1 (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
#N canvas 238 181 882 542 10;
#X obj 107 427 pdp_v4l;
#X obj 107 53 metro 40;
#X msg 159 14 stop;
#X msg 107 14 bang;
#X msg 51 14 bang;
#X msg 209 93 open /dev/video0;
#X msg 209 117 open /dev/video1;
#X text 347 95 you can choose the input device using the 'open' message.
the default is /dev/video0;
#X msg 209 142 close;
#X text 348 143 closes the video port;
#X msg 209 168 type yv12;
#X msg 209 192 type grey;
#X text 348 171 type sets the ouput image package type. currently only
yv12 (luma/chroma color) and greyscale are supported.;
#X msg 210 221 dim 320 240;
#X msg 210 244 dim 640 480;
#X text 348 215 dim sets the dimensions of the captured frame. please
note that in all objects dimensions and packet type (color/greyscale)
have to be the same to be combined (i.e. mixed);
#X text 207 18 pdp_v4l grabs video from the video4linux device. it
grabs a frame whenever a bang message is received. the output rate
is limited by the maximum framerate of the video device. if there is
no device opened \, it will attempt to open /dev/video0;
#X msg 210 319 channel \$1;
#X floatatom 210 295 5 0 0;
#X text 347 320 sets the v4l channel (like tuner \, composite \, svideo
\, ...);
#X floatatom 210 359 5 0 0;
#X msg 210 383 freq \$1;
#X floatatom 271 359 5 0 0;
#X msg 271 383 freqMHz \$1;
#X text 346 359 sets the v4l tuner frequency (in v4l units and MHz)
;
#X obj 107 480 pdp_help_output;
#X connect 0 0 25 0;
#X connect 1 0 0 0;
#X connect 2 0 1 0;
#X connect 3 0 1 0;
#X connect 4 0 0 0;
#X connect 5 0 0 0;
#X connect 6 0 0 0;
#X connect 8 0 0 0;
#X connect 10 0 0 0;
#X connect 11 0 0 0;
#X connect 13 0 0 0;
#X connect 14 0 0 0;
#X connect 17 0 0 0;
#X connect 18 0 17 0;
#X connect 20 0 21 0;
#X connect 21 0 0 0;
#X connect 22 0 23 0;
#X connect 23 0 0 0;