aboutsummaryrefslogtreecommitdiff
path: root/doc/rs_pdp_live~.pd
blob: 50f6b809bb8d274fe4106f0fce0a46a4e43a6ad7 (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
#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;
#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 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 text 325 175 Read video file;
#X obj 247 154 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
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 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
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 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;