1
#N canvas 283 209 927 686 10;
2
#X obj 107 53 metro 40;
6
#X msg 210 132 open /dev/video0;
7
#X msg 210 156 open /dev/video1;
8
#X text 348 128 you can choose the input device using the 'open' message.
9
the default is /dev/video0;
11
#X text 349 182 closes the video port;
12
#X msg 210 207 type yv12;
13
#X msg 210 231 type grey;
14
#X text 349 210 type sets the ouput image package type. currently only
15
yv12 (luma/chroma color) and greyscale are supported.;
16
#X msg 211 260 dim 320 240;
17
#X msg 211 283 dim 640 480;
18
#X msg 212 336 channel \$1;
19
#X floatatom 212 312 5 0 0 0 - - -;
20
#X floatatom 210 459 5 0 0 0 - - -;
21
#X msg 210 483 freq \$1;
22
#X floatatom 271 459 5 0 0 0 - - -;
23
#X msg 271 483 freqMHz \$1;
24
#X text 346 459 sets the v4l tuner frequency (in v4l units and MHz)
26
#X obj 107 580 pdp_help_output;
27
#X text 348 526 creation arguments: <input device> <capture format>
29
#X text 347 620 i.e. if you get weird colours \, try;
30
#X obj 601 620 pdp_v4l /dev/video RGB24;
31
#X text 206 14 pdp_v4l grabs video from the video4linux device. it
32
sends out the most recently grabbed frame whenever a bang message is
33
received \, and will then discard that frame (it will be sent out on
34
time at most). the output framerate is limited by the device only.
36
#X text 206 89 (to make sure you receive every frame with little jitter
37
\, poll pdp_v4l with a high rate metronome);
38
#X text 348 554 capture format can be one of "auto" \, "YUV420P" \,
39
"YUV422" \, "RGB24" or "RGB32". for most cards autodetect (default)
40
should work. if not \, add the desired capture format argument when
41
you create a pdp_v4l object.;
42
#X obj 107 527 pdp_v4l;
43
#X text 349 338 sets the v4l channel (like tuner \, composite \, svideo
45
#X msg 212 366 norm PAL;
46
#X msg 211 410 norm SECAM;
47
#X msg 211 388 norm NTSC;
48
#X msg 211 431 norm AUTO;
49
#X text 349 377 sets the video norm;