#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 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 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 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 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 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 327 355 tgl 15 0 empty empty empty 0 -6 0 8 -262144 -1 -1 1
1;
#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 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;
