From bf6d0609625714ed52acf19a007a378645de2faa Mon Sep 17 00:00:00 2001 From: "N.N." Date: Sun, 14 Nov 2004 22:52:23 +0000 Subject: PiDiP v 0.12.17 svn path=/trunk/externals/pidip/; revision=2272 --- doc/help-pdp_ascii.pd | 32 ++++----- doc/help-pdp_compose.pd | 73 ++++++++++---------- doc/help-pdp_ctrack.pd | 10 +-- doc/help-pdp_ffmpeg~.pd | 2 +- doc/help-pdp_form.pd | 14 ++-- doc/help-pdp_live~.pd | 8 ++- doc/help-pdp_ocanvas.pd | 42 ++++++++---- doc/help-pdp_pen.pd | 120 +++++++++++++++++---------------- doc/help-pdp_streaming.pd | 10 +-- doc/help-pdp_text.pd | 22 ++++--- doc/help-pdp_yqt.pd | 2 +- doc/rs_pdp_live~.pd | 165 ++++++++++++++++++++++++++++------------------ 12 files changed, 284 insertions(+), 216 deletions(-) (limited to 'doc') diff --git a/doc/help-pdp_ascii.pd b/doc/help-pdp_ascii.pd index d678c46..120ea20 100644 --- a/doc/help-pdp_ascii.pd +++ b/doc/help-pdp_ascii.pd @@ -1,8 +1,8 @@ -#N canvas 84 12 763 664 10; +#N canvas 368 56 763 664 10; #X obj 268 64 bng 15 250 50 0 empty empty empty 20 8 0 8 -262144 -1 -1; #X msg 123 136 loop \$1; -#X obj 124 114 tgl 15 0 empty empty empty 20 8 0 8 -262144 -1 -1 1 +#X obj 124 114 tgl 15 0 empty empty empty 20 8 0 8 -262144 -1 -1 0 1; #X msg 370 44 open \$1; #X obj 369 20 openpanel; @@ -33,7 +33,6 @@ #X msg 302 372 brightness \$1; #X floatatom 404 373 5 0 0 0 - - -; #X floatatom 302 398 5 0 0 0 - - -; -#X obj 191 444 pdp_xv; #X obj 366 300 openpanel; #X obj 438 301 bng 15 250 50 0 empty empty empty 0 -6 0 8 -262144 -1 -1; @@ -45,7 +44,8 @@ #X text 393 347 Activate/suppress colors; #X text 462 300 Load a characters map; #X obj 346 203 pdp_v4l; -#X obj 95 307 pdp_scale 800 600; +#X obj 95 307 pdp_scale 600 480; +#X obj 191 444 pdp_xv; #X connect 0 0 9 0; #X connect 1 0 14 0; #X connect 2 0 1 0; @@ -56,23 +56,23 @@ #X connect 7 0 9 0; #X connect 8 0 6 0; #X connect 9 0 14 0; -#X connect 10 0 37 0; +#X connect 10 0 36 0; #X connect 11 0 10 0; #X connect 12 0 10 0; -#X connect 13 0 37 0; -#X connect 14 0 38 0; +#X connect 13 0 36 0; +#X connect 14 0 37 0; #X connect 15 0 17 0; #X connect 16 0 19 0; #X connect 17 0 16 0; #X connect 19 0 18 0; -#X connect 22 0 32 0; +#X connect 22 0 31 0; #X connect 23 0 22 0; -#X connect 24 0 32 0; +#X connect 24 0 31 0; #X connect 25 0 24 0; -#X connect 26 0 32 1; -#X connect 28 0 30 0; -#X connect 29 0 28 0; -#X connect 30 0 32 0; -#X connect 32 0 27 0; -#X connect 37 0 38 0; -#X connect 38 0 32 0; +#X connect 26 0 31 1; +#X connect 27 0 29 0; +#X connect 28 0 27 0; +#X connect 29 0 31 0; +#X connect 31 0 38 0; +#X connect 36 0 37 0; +#X connect 37 0 31 0; diff --git a/doc/help-pdp_compose.pd b/doc/help-pdp_compose.pd index 4c4e8f7..2404bff 100644 --- a/doc/help-pdp_compose.pd +++ b/doc/help-pdp_compose.pd @@ -3,7 +3,7 @@ #X obj 100 167 bng 15 250 50 0 empty empty empty 20 8 0 8 -262144 -1 -1; #X msg 54 201 loop \$1; -#X obj 55 179 tgl 15 0 empty empty empty 20 8 0 8 -262144 -1 -1 0 1 +#X obj 55 179 tgl 15 0 empty empty empty 20 8 0 8 -262144 -1 -1 1 1 ; #X msg 39 146 open \$1; #X obj 38 122 openpanel; @@ -12,20 +12,20 @@ #X msg 123 144 stop; #X obj 121 168 metro 70; #X obj 116 200 pdp_yqt; -#X floatatom 244 273 5 0 0; -#X floatatom 253 294 5 0 0; -#X floatatom 270 315 5 0 0; -#X floatatom 288 339 5 0 0; +#X floatatom 244 273 5 0 0 0 - - -; +#X floatatom 253 294 5 0 0 0 - - -; +#X floatatom 270 315 5 0 0 0 - - -; +#X floatatom 288 339 5 0 0 0 - - -; #X text 269 614 written by Yves Degoyon ( ydegoyon@free.fr ); #X text 290 273 R component; #X text 298 293 G component; #X text 315 314 B component; -#X floatatom 299 360 5 0 0; +#X floatatom 299 360 5 0 0 0 - - -; #X text 336 338 X coordinate of cursor ( pick ); #X text 347 359 Y coordinate of cursor ( pick ); #X msg 14 443 pick; #X text 11 422 Pick up the color; -#X floatatom 309 380 5 0 0; +#X floatatom 309 380 5 0 0 0 - - -; #X text 356 380 Tolerance ( default = 50 ); #X text 269 583 pdp_compose : video compositor; #X text 269 599 change all pixels of a given color by a second video @@ -48,12 +48,12 @@ source; 1; #X obj 589 507 pdp_control; #X msg 589 480 thread \$1; -#X floatatom 589 568 5 0 0; +#X floatatom 589 568 5 0 0 0 - - -; #X obj 589 539 route pdp_drop; #X obj 97 305 pdp_form ---------; #X msg 116 246 ellipse 69 124 59 78; -#X floatatom 130 274 5 0 0; -#X floatatom 176 274 5 0 0; +#X floatatom 130 274 5 0 0 0 - - -; +#X floatatom 176 274 5 0 0 0 - - -; #X msg 317 410 luminosity \$1; #X obj 419 411 tgl 15 0 empty empty empty 0 -6 0 8 -262144 -1 -1 0 1; @@ -62,7 +62,6 @@ source; #X obj 362 524 bng 15 250 50 0 empty empty empty 20 8 0 8 -262144 -1 -1; #X msg 322 523 stop; -#X text 269 628 idea suggested by liz; #X obj 165 466 pdp_compose ----; #X obj 394 132 pdp_v4l; #X obj 403 101 metro 70; @@ -71,7 +70,7 @@ source; #X msg 405 68 stop; #X msg 490 99 open /dev/video; #X text 471 67 Live; -#X floatatom 514 66 5 0 0; +#X floatatom 514 66 5 0 0 0 - - -; #X obj 401 437 tgl 15 0 empty empty empty 0 -6 0 8 -262144 -1 -1 0 1; #X msg 325 436 cursor \$1; @@ -82,7 +81,8 @@ source; #X msg 155 561 cursor \$1; #X obj 233 562 tgl 15 0 empty empty empty 0 -6 0 8 -262144 -1 -1 0 1; -#X connect 0 0 64 0; +#X obj 16 517 route press; +#X connect 0 0 69 0; #X connect 1 0 8 0; #X connect 2 0 9 0; #X connect 3 0 2 0; @@ -92,13 +92,13 @@ source; #X connect 7 0 8 0; #X connect 8 0 9 0; #X connect 9 0 43 0; -#X connect 10 0 54 2; -#X connect 11 0 54 3; -#X connect 12 0 54 4; -#X connect 13 0 54 5; -#X connect 18 0 54 6; -#X connect 21 0 54 0; -#X connect 23 0 54 7; +#X connect 10 0 53 2; +#X connect 11 0 53 3; +#X connect 12 0 53 4; +#X connect 13 0 53 5; +#X connect 18 0 53 6; +#X connect 21 0 53 0; +#X connect 23 0 53 7; #X connect 27 0 34 0; #X connect 28 0 35 0; #X connect 29 0 28 0; @@ -107,31 +107,32 @@ source; #X connect 32 0 31 0; #X connect 33 0 34 0; #X connect 34 0 35 0; -#X connect 35 0 54 1; +#X connect 35 0 53 1; #X connect 38 0 40 0; #X connect 39 0 42 0; #X connect 40 0 39 0; #X connect 42 0 41 0; -#X connect 43 0 54 0; +#X connect 43 0 53 0; #X connect 44 0 43 0; #X connect 45 0 43 2; #X connect 46 0 43 3; -#X connect 47 0 54 0; +#X connect 47 0 53 0; #X connect 48 0 47 0; -#X connect 49 0 54 1; +#X connect 49 0 53 1; #X connect 50 0 49 0; #X connect 51 0 50 0; #X connect 52 0 50 0; -#X connect 54 0 0 0; -#X connect 55 0 43 0; +#X connect 53 0 0 0; +#X connect 54 0 43 0; +#X connect 55 0 54 0; #X connect 56 0 55 0; -#X connect 57 0 56 0; -#X connect 58 0 56 0; -#X connect 59 0 55 0; -#X connect 61 0 56 1; -#X connect 62 0 63 0; -#X connect 63 0 54 0; -#X connect 64 0 54 0; -#X connect 64 0 21 0; -#X connect 68 0 0 0; -#X connect 69 0 68 0; +#X connect 57 0 55 0; +#X connect 58 0 54 0; +#X connect 60 0 55 1; +#X connect 61 0 62 0; +#X connect 62 0 53 0; +#X connect 63 0 53 0; +#X connect 63 0 21 0; +#X connect 67 0 0 0; +#X connect 68 0 67 0; +#X connect 69 0 63 0; diff --git a/doc/help-pdp_ctrack.pd b/doc/help-pdp_ctrack.pd index 85687c4..7850e1d 100644 --- a/doc/help-pdp_ctrack.pd +++ b/doc/help-pdp_ctrack.pd @@ -1,9 +1,9 @@ #N canvas 42 26 781 666 10; -#X obj 35 493 pdp_xv; +#X obj 19 504 pdp_xv; #X obj 268 64 bng 15 250 50 0 empty empty empty 20 8 0 8 -262144 -1 -1; #X msg 123 136 loop \$1; -#X obj 124 114 tgl 15 0 empty empty empty 20 8 0 8 -262144 -1 -1 0 +#X obj 124 114 tgl 15 0 empty empty empty 20 8 0 8 -262144 -1 -1 1 1; #X msg 370 44 open \$1; #X obj 369 20 openpanel; @@ -67,13 +67,13 @@ #X obj 594 281 route pdp_drop; #X msg 118 379 setcur \$1 \$2; #X text 6 378 Set the cursor; -#X msg 12 527 cursor \$1; -#X obj 85 529 tgl 15 0 empty empty empty 0 -6 0 8 -262144 -1 -1 0 1 +#X msg 7 425 cursor \$1; +#X obj 80 427 tgl 15 0 empty empty empty 0 -6 0 8 -262144 -1 -1 1 1 ; #X floatatom 123 591 5 0 0 0 - - -; #X floatatom 173 592 5 0 0 0 - - -; #X floatatom 220 591 5 0 0 0 - - -; -#X text 140 631 Color components; +#X text 139 624 Color components; #X text 135 609 R; #X text 186 609 G; #X text 230 609 B; diff --git a/doc/help-pdp_ffmpeg~.pd b/doc/help-pdp_ffmpeg~.pd index 5b9f10a..bcb5394 100644 --- a/doc/help-pdp_ffmpeg~.pd +++ b/doc/help-pdp_ffmpeg~.pd @@ -62,8 +62,8 @@ server; #X obj 501 251 spigot~; #X floatatom 128 194 5 0 0 0 - - -; #X obj 122 273 pdp_affine; -#X msg 319 358 feed http://www.xicnet.com:8000/feed1.ffm; #X msg 318 415 feed http://localhost:8090/feed1.ffm; +#X msg 320 357 feed http://www.xicnet.com:8000/sin1.ffm; #X connect 0 0 9 0; #X connect 1 0 46 0; #X connect 2 0 1 0; diff --git a/doc/help-pdp_form.pd b/doc/help-pdp_form.pd index 8fd8871..8be2e0c 100644 --- a/doc/help-pdp_form.pd +++ b/doc/help-pdp_form.pd @@ -21,12 +21,12 @@ #X msg 357 139 stop; #X msg 442 170 open /dev/video; #X obj 252 167 pdp_yqt; -#X obj 606 530 tgl 15 0 empty empty empty 0 -6 0 8 -262144 -1 -1 0 +#X obj 628 513 tgl 15 0 empty empty empty 0 -6 0 8 -262144 -1 -1 0 1; -#X obj 606 582 pdp_control; -#X msg 606 555 thread \$1; -#X floatatom 606 643 5 0 0 0 - - -; -#X obj 606 614 route pdp_drop; +#X obj 628 565 pdp_control; +#X msg 628 538 thread \$1; +#X floatatom 628 626 5 0 0 0 - - -; +#X obj 628 597 route pdp_drop; #X text 222 631 written by Yves Degoyon (ydegoyon@free.fr); #X obj 189 362 hdl 15 1 0 10 empty empty empty 0 -6 0 8 -262144 -1 -1 0; @@ -59,6 +59,9 @@ #X msg 179 333 ellipse 89 120 56 78 0 255 0; #X text 222 605 pdp_form : geometric forms addition in PDP; #X obj 144 562 pdp_form -----------------; +#X obj 346 540 hsl 128 15 0 1 0 0 empty empty empty -2 -6 0 8 -262144 +-1 -1 0 1; +#X text 487 540 alpha ( global ); #X connect 1 0 10 0; #X connect 2 0 16 0; #X connect 3 0 2 0; @@ -94,3 +97,4 @@ #X connect 48 0 51 0; #X connect 49 0 51 0; #X connect 51 0 0 0; +#X connect 52 0 51 9; diff --git a/doc/help-pdp_live~.pd b/doc/help-pdp_live~.pd index a12f862..a490a18 100644 --- a/doc/help-pdp_live~.pd +++ b/doc/help-pdp_live~.pd @@ -2,14 +2,16 @@ #X obj 128 113 rs_pdp_live~; #X obj 156 158 dac~; #X text 51 321 written by Yves Degoyon (ydegoyon@free.fr); -#X text 51 308 ( at least from ffserver ); -#X text 51 295 pdp_live~ : decodes a live video stream; #X text 236 112 <-- everything is in this box; #X text 265 127 where the block size is redefined; #X text 265 142 this is necessary for an; #X text 266 154 ( acceptable? ) audio decoding; #X obj 395 221 loadbang; #X msg 395 251 \; pd dsp 1; +#X text 51 308 and the video files supported by your ffmpeg (avi \, +mpg \, ..); +#X text 51 295 pdp_live~ : decodes a live video stream from ffmpeg +; #X connect 0 0 1 0; #X connect 0 1 1 1; -#X connect 9 0 10 0; +#X connect 7 0 8 0; diff --git a/doc/help-pdp_ocanvas.pd b/doc/help-pdp_ocanvas.pd index 2069ead..c0191ae 100644 --- a/doc/help-pdp_ocanvas.pd +++ b/doc/help-pdp_ocanvas.pd @@ -2,7 +2,7 @@ #X obj 227 100 bng 15 250 50 0 empty empty empty 20 8 0 8 -262144 -1 -1; #X msg 123 139 loop \$1; -#X obj 124 117 tgl 15 0 empty empty empty 20 8 0 8 -262144 -1 -1 1 +#X obj 124 117 tgl 15 0 empty empty empty 20 8 0 8 -262144 -1 -1 0 1; #X msg 119 80 open \$1; #X obj 118 56 openpanel; @@ -68,14 +68,14 @@ overlay; #X floatatom 697 165 5 0 0 0 - - -; #X text 36 605 note : the maximum number of inputs is 10; #X text 36 618 ( easily hackable in the code ); -#X text 544 397 Change offsets of first video source; -#X obj 548 351 pack f f; -#X floatatom 549 312 5 0 0 0 - - -; -#X floatatom 599 312 5 0 0 0 - - -; -#X obj 589 331 t b f; -#X text 564 294 X; -#X text 609 293 Y; -#X msg 548 375 offset 1 \$1 \$2; +#X text 530 349 Change offsets of first video source; +#X obj 534 303 pack f f; +#X floatatom 639 304 5 0 0 0 - - -; +#X floatatom 699 304 5 0 0 0 - - -; +#X obj 597 302 t b f; +#X text 679 302 X; +#X text 740 304 Y; +#X msg 534 327 offset 1 \$1 \$2; #X obj 81 315 loadbang; #X msg 173 540 select \$1 \$2; #X msg 279 539 drag \$1 \$2; @@ -86,11 +86,11 @@ overlay; #X obj 307 255 pdp_scale 320 240; #X obj 496 254 pdp_scale 320 240; #X obj 234 497 route press drag release; -#X msg 546 428 average \$1; -#X obj 629 429 tgl 15 0 empty empty empty 0 -6 0 8 -262144 -1 -1 0 +#X msg 535 438 average \$1; +#X obj 615 439 tgl 15 0 empty empty empty 0 -6 0 8 -262144 -1 -1 0 1; -#X text 544 451 Average sources at intersections; -#X text 544 463 ( default = 0 ); +#X text 533 461 Average sources at intersections; +#X text 533 473 ( default = 0 ); #X msg 104 476 cursor 0; #X obj 224 425 pdp_ocanvas 640 480 3; #X obj 234 469 pdp_xv; @@ -98,6 +98,15 @@ overlay; #X obj 228 449 pdp_scale 320 240; #X msg 105 446 cursor 1; #X obj 358 315 pdp_i 5000; +#X obj 535 369 pack f f; +#X floatatom 640 370 5 0 0 0 - - -; +#X floatatom 737 370 5 0 0 0 - - -; +#X obj 598 368 t b f; +#X msg 535 393 alpha \$1 \$2; +#X text 680 368 S; +#X text 531 415 Change alpha values for each source; +#X text 697 391 Alpha [0.0-1.0]; +#X obj 696 368 / 100; #X connect 0 0 7 0; #X connect 1 0 8 0; #X connect 2 0 1 0; @@ -172,3 +181,10 @@ overlay; #X connect 79 0 77 0; #X connect 80 0 77 0; #X connect 81 0 76 3; +#X connect 82 0 86 0; +#X connect 83 0 82 0; +#X connect 84 0 90 0; +#X connect 85 0 82 0; +#X connect 85 1 82 1; +#X connect 86 0 76 0; +#X connect 90 0 85 0; diff --git a/doc/help-pdp_pen.pd b/doc/help-pdp_pen.pd index b82766f..5b8436b 100644 --- a/doc/help-pdp_pen.pd +++ b/doc/help-pdp_pen.pd @@ -2,7 +2,7 @@ #X obj 268 64 bng 15 250 50 0 empty empty empty 20 8 0 8 -262144 -1 -1; #X msg 123 136 loop \$1; -#X obj 124 114 tgl 15 0 empty empty empty 20 8 0 8 -262144 -1 -1 0 +#X obj 124 114 tgl 15 0 empty empty empty 20 8 0 8 -262144 -1 -1 1 1; #X msg 370 44 open \$1; #X obj 369 20 openpanel; @@ -30,42 +30,45 @@ #X text 85 498 pdp_pen : free hand drawing object; #X text 85 514 written by Yves Degoyon ( ydegoyon@free.fr ); #X text 85 528 on request from patrick ( 11h11.com ); -#X obj 238 387 pdp_xv; #X msg 282 463 draw \$1 \$2; -#X msg 383 241 clear; -#X text 431 242 Clear all drawings; -#X msg 382 270 width \$1; -#X floatatom 455 271 5 0 0 0 - - -; -#X text 503 271 Width of the pen ( default = 3 ); -#X msg 381 302 rgb \$1 \$2 \$3; -#X obj 479 305 pack f f f; -#X floatatom 513 330 5 0 0 0 - - -; -#X text 524 343 R; -#X floatatom 562 331 5 0 0 0 - - -; -#X floatatom 610 331 5 0 0 0 - - -; -#X text 622 343 B; -#X obj 610 303 t b f; -#X text 572 343 G; -#X obj 563 304 t b f; -#X text 381 328 Color of the pen; -#X msg 381 358 mode \$1; -#X obj 447 360 tgl 15 0 empty empty empty 0 -6 0 8 -262144 -1 -1 0 +#X msg 403 238 clear; +#X text 451 239 Clear all drawings; +#X msg 402 267 width \$1; +#X floatatom 470 267 5 0 0 0 - - -; +#X text 523 268 Width of the pen ( default = 3 ); +#X msg 401 299 rgb \$1 \$2 \$3; +#X obj 499 302 pack f f f; +#X floatatom 533 327 5 0 0 0 - - -; +#X text 544 340 R; +#X floatatom 582 328 5 0 0 0 - - -; +#X floatatom 630 328 5 0 0 0 - - -; +#X text 642 340 B; +#X obj 630 300 t b f; +#X text 592 340 G; +#X obj 583 301 t b f; +#X text 401 325 Color of the pen; +#X msg 401 355 mode \$1; +#X obj 467 357 tgl 15 0 empty empty empty 0 -6 0 8 -262144 -1 -1 0 1; -#X text 473 361 Mode ( 0=drawing \, 1=erase ); -#X text 473 374 ( default=0 ); -#X obj 466 396 unpack f f; -#X obj 469 418 f; -#X obj 515 418 f; -#X msg 381 395 fill \$1 \$2; -#X obj 469 441 pack f f; -#X obj 551 397 t b b; -#X msg 600 397 bang; -#X text 640 398 Fill a region; +#X text 493 358 Mode ( 0=drawing \, 1=erase ); +#X text 493 371 ( default=0 ); +#X obj 486 393 unpack f f; +#X obj 489 415 f; +#X obj 535 415 f; +#X msg 401 392 fill \$1 \$2; +#X obj 489 438 pack f f; +#X obj 571 394 t b b; +#X msg 620 394 bang; +#X text 660 395 Fill a region; #X obj 238 419 route press drag release; #X floatatom 280 214 5 0 0 0 - - -; #X floatatom 333 213 5 0 0 0 - - -; #X text 273 197 X Offset; #X text 329 197 Y Offset; +#X obj 406 213 hsl 128 15 0 1 0 0 empty empty empty -2 -6 0 8 -262144 +-1 -1 8800 1; +#X text 543 213 alpha; +#X obj 239 387 pdp_xv; #X connect 0 0 9 0; #X connect 1 0 10 0; #X connect 2 0 1 0; @@ -86,33 +89,34 @@ #X connect 17 0 20 0; #X connect 18 0 17 0; #X connect 20 0 19 0; -#X connect 21 0 25 0; -#X connect 25 0 55 0; +#X connect 21 0 61 0; +#X connect 25 0 21 0; #X connect 26 0 21 0; -#X connect 27 0 21 0; -#X connect 29 0 21 0; -#X connect 30 0 29 0; -#X connect 32 0 21 0; +#X connect 28 0 21 0; +#X connect 29 0 28 0; +#X connect 31 0 21 0; +#X connect 32 0 31 0; #X connect 33 0 32 0; -#X connect 34 0 33 0; -#X connect 36 0 41 0; -#X connect 37 0 39 0; -#X connect 39 0 33 0; -#X connect 39 1 33 2; -#X connect 41 0 33 0; -#X connect 41 1 33 1; -#X connect 43 0 21 0; -#X connect 44 0 43 0; -#X connect 47 0 48 1; -#X connect 47 1 49 1; -#X connect 48 0 51 0; -#X connect 49 0 51 1; -#X connect 50 0 21 0; -#X connect 51 0 50 0; -#X connect 52 0 48 0; -#X connect 52 1 49 0; -#X connect 53 0 52 0; -#X connect 55 0 47 0; -#X connect 55 1 26 0; -#X connect 56 0 21 1; -#X connect 57 0 21 2; +#X connect 35 0 40 0; +#X connect 36 0 38 0; +#X connect 38 0 32 0; +#X connect 38 1 32 2; +#X connect 40 0 32 0; +#X connect 40 1 32 1; +#X connect 42 0 21 0; +#X connect 43 0 42 0; +#X connect 46 0 47 1; +#X connect 46 1 48 1; +#X connect 47 0 50 0; +#X connect 48 0 50 1; +#X connect 49 0 21 0; +#X connect 50 0 49 0; +#X connect 51 0 47 0; +#X connect 51 1 48 0; +#X connect 52 0 51 0; +#X connect 54 0 46 0; +#X connect 54 1 25 0; +#X connect 55 0 21 1; +#X connect 56 0 21 2; +#X connect 59 0 21 3; +#X connect 61 0 54 0; diff --git a/doc/help-pdp_streaming.pd b/doc/help-pdp_streaming.pd index f8a26ad..0cc34e5 100644 --- a/doc/help-pdp_streaming.pd +++ b/doc/help-pdp_streaming.pd @@ -3,7 +3,7 @@ #X obj 263 66 bng 15 250 50 0 empty empty empty 20 8 0 8 -262144 -1 -1; #X msg 165 92 loop \$1; -#X obj 166 70 tgl 15 0 empty empty empty 20 8 0 8 -262144 -1 -1 0 1 +#X obj 166 70 tgl 15 0 empty empty empty 20 8 0 8 -262144 -1 -1 1 1 ; #X msg 150 45 open \$1; #X obj 149 21 openpanel; @@ -13,7 +13,7 @@ #X msg 227 66 stop; #X obj 233 92 metro 70; #X text 386 588 written by Yves Degoyon ( ydegoyon@free.fr ); -#X obj 169 156 pdp_yqt; +#X obj 155 165 pdp_yqt; #X obj 160 315 pdp_o; #X msg 267 154 connect localhost 4578; #X msg 267 179 disconnect; @@ -24,8 +24,8 @@ #X floatatom 180 512 5 0 0 0 - - -; #X text 229 512 Connection state; #X text 249 492 Number of frames received; -#X symbolatom 220 470 10 0 0 0 - - -; -#X text 301 472 Address of the emitter; +#X symbolatom 220 470 15 0 0 0 - - -; +#X text 332 470 Address of the emitter; #X msg 267 253 refresh; #X msg 267 279 framerate \$1; #X floatatom 366 280 5 0 0 0 - - -; @@ -50,6 +50,7 @@ #X text 413 255 by changing these two parameters :; #X floatatom 207 341 5 0 0 0 - - -; #X text 259 340 Bandwidth (in kb); +#X msg 268 133 connect 193.171.120.173 4578; #X connect 1 0 9 0; #X connect 2 0 11 0; #X connect 3 0 2 0; @@ -81,3 +82,4 @@ #X connect 38 0 37 0; #X connect 40 0 41 0; #X connect 41 0 12 0; +#X connect 47 0 12 0; diff --git a/doc/help-pdp_text.pd b/doc/help-pdp_text.pd index dd03714..735afc0 100644 --- a/doc/help-pdp_text.pd +++ b/doc/help-pdp_text.pd @@ -1,5 +1,5 @@ #N canvas 84 12 763 664 10; -#X obj 92 608 pdp_xv; +#X obj 152 627 pdp_xv; #X obj 268 64 bng 15 250 50 0 empty empty empty 20 8 0 8 -262144 -1 -1; #X msg 123 136 loop \$1; @@ -21,12 +21,12 @@ #X msg 357 139 stop; #X msg 442 170 open /dev/video; #X obj 252 167 pdp_yqt; -#X obj 606 530 tgl 15 0 empty empty empty 0 -6 0 8 -262144 -1 -1 0 +#X obj 648 451 tgl 15 0 empty empty empty 0 -6 0 8 -262144 -1 -1 0 1; -#X obj 606 582 pdp_control; -#X msg 606 555 thread \$1; -#X floatatom 606 643 5 0 0 0 - - -; -#X obj 606 614 route pdp_drop; +#X obj 648 503 pdp_control; +#X msg 648 476 thread \$1; +#X floatatom 648 564 5 0 0 0 - - -; +#X obj 648 535 route pdp_drop; #X text 221 617 pdp_text : text rendering in PDP; #X text 222 631 written by Yves Degoyon (ydegoyon@free.fr); #X msg 144 282 text moshi-moshi 34 58; @@ -57,7 +57,7 @@ #X msg 30 387 delete 1; #X msg 30 421 resize 20; #X msg 30 489 font helmetr/14; -#X obj 155 585 pdp_text -----------------; +#X obj 155 598 pdp_text -----------------; #X text 139 254 text x y [ r g b angle ]; #X floatatom 331 554 5 0 0 0 - - -; #X text 379 553 Angle; @@ -68,8 +68,11 @@ #X floatatom 14 562 5 0 0 0 - - -; #X msg 64 560 antialias \$1; #X msg 29 458 font helmetr/5; -#X floatatom 365 577 5 0 0 0 - - -; -#X text 411 577 Scroll; +#X floatatom 354 572 5 0 0 0 - - -; +#X text 400 572 Scroll; +#X obj 380 594 hsl 128 15 0 1 0 0 empty empty empty -2 -6 0 8 -262144 +-1 -1 0 1; +#X text 517 594 Alpha ( global ); #X connect 1 0 10 0; #X connect 2 0 16 0; #X connect 3 0 2 0; @@ -116,3 +119,4 @@ #X connect 60 0 51 0; #X connect 61 0 51 0; #X connect 62 0 51 8; +#X connect 64 0 51 9; diff --git a/doc/help-pdp_yqt.pd b/doc/help-pdp_yqt.pd index b3b6809..70c671b 100644 --- a/doc/help-pdp_yqt.pd +++ b/doc/help-pdp_yqt.pd @@ -3,7 +3,7 @@ #X obj 268 64 bng 15 250 50 0 empty empty empty 20 8 0 8 -262144 -1 -1; #X msg 123 136 loop \$1; -#X obj 124 114 tgl 15 0 empty empty empty 20 8 0 8 -262144 -1 -1 0 +#X obj 124 114 tgl 15 0 empty empty empty 20 8 0 8 -262144 -1 -1 1 1; #X msg 370 44 open \$1; #X obj 369 20 openpanel; diff --git a/doc/rs_pdp_live~.pd b/doc/rs_pdp_live~.pd index 50f6b80..e30e721 100644 --- a/doc/rs_pdp_live~.pd +++ b/doc/rs_pdp_live~.pd @@ -1,73 +1,108 @@ -#N canvas 168 29 842 529 10; -#X text 460 551 written by Yves Degoyon (ydegoyon@free.fr); -#X floatatom 223 475 5 0 0 0 - - -; -#X text 269 474 Streaming status; -#X floatatom 244 453 5 0 0 0 - - -; -#X obj 36 449 pdp_xv; +#N canvas 393 46 872 636 10; +#X text 455 594 written by Yves Degoyon (ydegoyon@free.fr); +#X floatatom 223 540 5 0 0 0 - - -; +#X text 268 540 Streaming status; +#X floatatom 243 519 5 0 0 0 - - -; #X text 611 77 Connect to a live stream; -#X text 325 118 Disconnect from the current stream; -#X msg 247 116 disconnect; -#X text 293 454 Number of video frames decoded; -#X text 457 527 ( at least from ffserver ); -#X text 23 547 NOTE : as for pdp_ffmpeg~ \, transmitting audio; -#X text 22 565 with the video stream produces some unsteady sound; -#X text 23 580 a prefered solution would be to use mp3cast~/mp3amp~ +#X text 325 111 Disconnect from the current stream; +#X msg 247 109 disconnect; +#X text 292 520 Number of video frames decoded; +#X text 452 570 ( at least from ffserver ); +#X text 21 570 NOTE : as for pdp_ffmpeg~ \, transmitting audio; +#X text 20 588 with the video stream produces some unsteady sound; +#X text 21 603 a prefered solution would be to use mp3cast~/mp3amp~ ; -#X msg 246 335 priority \$1; -#X floatatom 335 336 5 0 0 0 - - -; -#X text 385 357 ( optional \, if you know what you're doing ); -#X obj 70 493 outlet~; -#X obj 146 486 outlet~; -#X text 387 342 ([-20 \, 20 ] default : 0 ); -#X text 390 329 Set the priority of decoding thread; -#X msg 247 225 connect \$1; -#X text 460 513 pdp_live~ : decodes a live video stream; -#X text 458 539 and reads most common files ( avi \, mpg \, .... ) +#X msg 253 415 priority \$1; +#X floatatom 342 416 5 0 0 0 - - -; +#X text 388 439 ( optional \, if you know what you're doing ); +#X obj 72 543 outlet~; +#X text 393 411 Set the priority of decoding thread; +#X msg 247 214 connect \$1; +#X text 455 556 pdp_live~ : decodes a live video stream; +#X text 453 582 and reads most common files ( avi \, mpg \, .... ) ; -#X text 325 175 Read video file; -#X obj 247 154 bng 15 250 50 0 empty empty empty 0 -6 0 8 -262144 -1 +#X text 325 164 Read video file; +#X obj 247 143 bng 15 250 50 0 empty empty empty 0 -6 0 8 -262144 -1 -1; -#X obj 247 176 openpanel; -#X msg 248 296 audio \$1; -#X obj 317 298 tgl 15 0 empty empty empty 0 -6 0 8 -262144 -1 -1 0 +#X obj 247 165 openpanel; +#X msg 253 384 audio \$1; +#X obj 322 386 tgl 15 0 empty empty empty 0 -6 0 8 -262144 -1 -1 0 1; -#X text 348 298 Activate decoding of audio ( default : off ); -#X obj 247 200 makefilename file://%s; -#X msg 9 388 autocreate 1; +#X text 353 386 Activate decoding of audio ( default : off ); +#X obj 247 189 makefilename file://%s; #X msg 244 52 connect http://localhost:8090/test1.mpg; -#X obj 65 61 block~ 1024; -#X obj 322 261 tgl 15 0 empty empty empty 0 -6 0 8 -262144 -1 -1 1 +#X obj 327 355 tgl 15 0 empty empty empty 0 -6 0 8 -262144 -1 -1 1 1; -#X msg 248 259 thread \$1; -#X obj 378 259 loadbang; -#X msg 343 259 1; -#X text 449 259 Activate threading ( default : on ); -#X floatatom 260 430 5 0 0 0 - - -; -#X text 306 430 Reception framerate; -#X text 333 411 End of stream reached; -#X floatatom 287 409 5 0 0 0 - - -; +#X msg 253 355 thread \$1; +#X obj 383 355 loadbang; +#X msg 348 355 1; +#X text 451 355 Activate threading ( default : on ); +#X floatatom 259 496 5 0 0 0 - - -; +#X text 305 496 Reception framerate; +#X text 333 476 End of stream reached; +#X floatatom 286 475 5 0 0 0 - - -; +#X obj 115 424 pdp_live~; +#X obj 341 257 tgl 15 0 empty empty empty 0 -6 0 8 -262144 -1 -1 1 +1; +#X obj 397 255 loadbang; +#X msg 362 255 1; +#X msg 250 256 autoplay \$1; +#X text 465 255 Activate auto play mode ( default : on ); +#X msg 252 291 bang; +#X msg 392 293 bang; +#X floatatom 433 294 5 0 0 0 - - -; +#X text 485 292 In manual mode \, read next frame ( autoplay = off +); +#X obj 328 293 metro 70; +#X msg 254 319 loop \$1; +#X obj 316 320 tgl 15 0 empty empty empty 0 -6 0 8 -262144 -1 -1 1 +1; +#X obj 372 318 loadbang; +#X msg 337 318 1; +#X text 440 318 Activate loop mode for files ( default : on ); +#X floatatom 75 252 5 0 0 0 - - -; +#X text 6 194 Frame seek; +#X msg 289 292 stop; +#X obj 134 543 outlet~; +#X text 390 424 ([0 \, 20 ] default : 1 ); +#X text 6 222 ffmpeg >= 0.4.9; +#X text 6 207 warning : works only with; +#X obj 35 501 pdp_xv; +#X obj 66 61 block~ 1024; #X msg 246 78 connect http://gollum.artefacte.org:8090/osas.mpg; -#X obj 113 374 pdp_live~; -#X connect 7 0 43 0; -#X connect 13 0 43 0; -#X connect 14 0 13 0; -#X connect 20 0 43 0; -#X connect 24 0 25 0; -#X connect 25 0 29 0; -#X connect 26 0 43 0; -#X connect 27 0 26 0; -#X connect 29 0 20 0; -#X connect 30 0 4 0; -#X connect 31 0 43 0; -#X connect 33 0 34 0; -#X connect 34 0 43 0; -#X connect 35 0 36 0; -#X connect 36 0 33 0; -#X connect 42 0 43 0; -#X connect 43 0 4 0; -#X connect 43 1 16 0; -#X connect 43 2 17 0; -#X connect 43 3 1 0; -#X connect 43 4 3 0; -#X connect 43 5 38 0; -#X connect 43 6 41 0; +#X connect 6 0 37 0; +#X connect 12 0 37 0; +#X connect 13 0 12 0; +#X connect 17 0 37 0; +#X connect 21 0 22 0; +#X connect 22 0 26 0; +#X connect 23 0 37 0; +#X connect 24 0 23 0; +#X connect 26 0 17 0; +#X connect 27 0 37 0; +#X connect 28 0 29 0; +#X connect 29 0 37 0; +#X connect 30 0 31 0; +#X connect 31 0 28 0; +#X connect 37 0 60 0; +#X connect 37 1 15 0; +#X connect 37 2 56 0; +#X connect 37 3 1 0; +#X connect 37 4 3 0; +#X connect 37 5 33 0; +#X connect 37 6 36 0; +#X connect 38 0 41 0; +#X connect 39 0 40 0; +#X connect 40 0 38 0; +#X connect 41 0 37 0; +#X connect 43 0 37 0; +#X connect 44 0 47 0; +#X connect 45 0 47 1; +#X connect 47 0 37 0; +#X connect 48 0 37 0; +#X connect 49 0 48 0; +#X connect 50 0 51 0; +#X connect 51 0 49 0; +#X connect 53 0 37 1; +#X connect 55 0 47 0; +#X connect 62 0 37 0; -- cgit v1.2.1