aboutsummaryrefslogtreecommitdiff
path: root/doc/help-pdp_rec~.pd
blob: ffbf1b74b5c11e1d59c68f0544a638c5ec92da45 (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
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
#N canvas 5 16 986 661 10;
#X obj 255 34 bng 15 250 50 0 empty empty empty 20 8 0 8 -262144 -1
-1;
#X msg 117 65 loop \$1;
#X obj 117 40 tgl 15 0 empty empty empty 20 8 0 8 -262144 -1 -1 0 1
;
#X msg 280 33 open \$1;
#X obj 342 33 openpanel;
#X obj 412 34 bng 15 250 50 0 empty empty empty 20 8 0 8 -262144 -1
-1;
#X floatatom 303 69 5 0 0 0 - - -;
#X msg 212 35 stop;
#X obj 216 84 metro 70;
#X obj 18 245 pdp_v4l;
#X obj 27 214 metro 70;
#X obj 72 180 bng 15 250 50 0 empty empty empty 20 8 0 8 -262144 -1
-1;
#X msg 29 181 stop;
#X msg 92 215 open /dev/video;
#X text 113 637 written by Yves Degoyon ( ydegoyon@free.fr );
#X msg 281 217 stop;
#X msg 280 191 start;
#X text 432 167 Open a file before any operations;
#X text 322 192 Start recording;
#X msg 280 165 open /tmp/output.mov;
#X floatatom 159 534 5 0 0 0 - - -;
#X obj 213 124 pdp_yqt;
#X text 328 621 using YUV420P color model ( hard-coded);
#X text 112 621 it records in quicktime format;
#X msg 283 347 jpeg \$1;
#X floatatom 346 348 5 0 0 0 - - -;
#X text 395 346 JPEG quality factor ( if using jpeg compressor );
#X msg 281 372 framerate \$1;
#X floatatom 378 372 5 0 0 0 - - -;
#X text 427 371 Frame rate : if not set \, it will be calculated;
#X text 388 325 Set a compressor supported by libquicktime ( 0.9.1
);
#X msg 281 270 symbol jpeg;
#X msg 282 324 compressor \$1;
#X msg 281 294 symbol raw;
#X msg 361 293 symbol divx;
#X msg 449 294 symbol dv;
#X msg 369 270 symbol yuv2;
#X text 319 225 ( u need to do that to have a useable movie );
#X text 322 212 Stop recording;
#X obj 832 499 tgl 15 0 empty empty empty 0 -6 0 8 -262144 -1 -1 0
1;
#X obj 832 551 pdp_control;
#X msg 832 524 thread \$1;
#X floatatom 832 612 5 0 0 0 - - -;
#X obj 832 583 route pdp_drop;
#X text 113 605 pdp_rec~ : records video and audio output to file;
#X obj 119 300 adc~;
#X text 273 125 <---- audio connections;
#X text 281 147 ==== ACTIONS ========;
#X text 282 250 ==== VIDEOS SETTINGS ========;
#X text 390 450 Set a compressor supported by libquicktime ( 0.9.1
);
#X text 285 399 ==== AUDIO SETTINGS ========;
#X msg 284 449 acompressor \$1;
#X msg 284 423 symbol twos;
#X obj 139 109 pdp_xv;
#X text 283 475 NOTE : pdp_rec~ will record 2 channels \, 8 bits audio
at the samplerate of PD;
#X msg 375 423 symbol raw;
#X obj 159 505 pdp_rec~;
#X obj 21 385 pdp_affine;
#X floatatom 52 340 5 0 0 0 - - -;
#X obj 26 440 pdp_xv;
#X connect 0 0 8 0;
#X connect 1 0 21 0;
#X connect 2 0 1 0;
#X connect 3 0 21 0;
#X connect 4 0 3 0;
#X connect 5 0 4 0;
#X connect 6 0 8 1;
#X connect 7 0 8 0;
#X connect 8 0 21 0;
#X connect 9 0 57 0;
#X connect 10 0 9 0;
#X connect 11 0 10 0;
#X connect 12 0 10 0;
#X connect 13 0 9 0;
#X connect 15 0 56 0;
#X connect 16 0 56 0;
#X connect 19 0 56 0;
#X connect 21 0 53 0;
#X connect 21 0 56 0;
#X connect 21 4 56 0;
#X connect 21 5 56 1;
#X connect 24 0 56 0;
#X connect 25 0 24 0;
#X connect 27 0 56 0;
#X connect 28 0 27 0;
#X connect 31 0 32 0;
#X connect 32 0 56 0;
#X connect 33 0 32 0;
#X connect 34 0 32 0;
#X connect 35 0 32 0;
#X connect 36 0 32 0;
#X connect 39 0 41 0;
#X connect 40 0 43 0;
#X connect 41 0 40 0;
#X connect 43 0 42 0;
#X connect 45 0 56 0;
#X connect 45 1 56 1;
#X connect 51 0 56 0;
#X connect 52 0 51 0;
#X connect 55 0 51 0;
#X connect 56 0 20 0;
#X connect 57 0 59 0;
#X connect 57 0 56 0;
#X connect 58 0 57 1;