#N canvas 127 47 872 636 10; #X text 452 600 written by Yves Degoyon (ydegoyon@free.fr); #X floatatom 240 549 5 0 0 0 - - -; #X text 289 550 Number of video frames decoded; #X msg 250 409 priority \$1; #X floatatom 339 410 5 0 0 0 - - -; #X text 385 433 ( optional \, if you know what you're doing ); #X obj 134 543 outlet~; #X text 390 405 Set the priority of decoding thread; #X obj 247 174 bng 15 250 50 0 empty empty empty 0 -6 0 8 -262144 -1 -1; #X msg 250 379 audio \$1; #X obj 319 381 tgl 15 0 empty empty empty 0 -6 0 8 -262144 -1 -1 1 1; #X obj 322 350 tgl 15 0 empty empty empty 0 -6 0 8 -262144 -1 -1 1 1; #X msg 248 350 thread \$1; #X obj 378 350 loadbang; #X msg 343 350 1; #X text 446 350 Activate threading ( default : on ); #X floatatom 256 526 5 0 0 0 - - -; #X floatatom 280 506 5 0 0 0 - - -; #X obj 339 288 tgl 15 0 empty empty empty 0 -6 0 8 -262144 -1 -1 1 1; #X obj 395 286 loadbang; #X msg 360 286 1; #X msg 248 287 autoplay \$1; #X text 463 286 Activate auto play mode ( default : on ); #X msg 248 318 bang; #X msg 388 318 bang; #X floatatom 429 319 5 0 0 0 - - -; #X text 481 319 In manual mode \, read next frame ( autoplay = off ); #X obj 324 318 metro 70; #X msg 285 318 stop; #X obj 111 430 pdp_theorin~; #X msg 248 253 close; #X text 326 255 Close the current file; #X text 325 195 Open a theora video file; #X msg 247 224 open \$1; #X text 303 528 File framerate; #X text 327 507 End of file reached; #X text 452 586 pdp_theorin~ : threaded theora file reader; #X text 11 163 Seek file ( in kilobytes ); #X obj 72 543 outlet~; #X text 387 418 ([0 \, 20 ] default : 1 ); #X obj 247 196 openpanel; #X text 444 380 Activate decoding of audio ( default : on ); #X obj 377 380 loadbang; #X msg 342 380 1; #X text 12 179 warning : there's a big delay; #X text 11 192 and risks of desynchronisation; #X text 25 220 seekable for now ); #X text 11 207 ( sorry \, theora is not really; #X floatatom 309 455 5 0 0 0 - - -; #X text 354 455 File size ( in kbs ); #X obj 39 496 pdp_glx; #X obj 78 259 vsl 15 128 0 510 0 0 empty filesize empty 0 -8 0 8 -262144 -1 -1 0 1; #X msg 310 473 \; filesize range 0 \$1; #X floatatom 59 411 5 0 0 0 - - -; #X obj 691 39 tgl 15 0 empty empty empty 0 -6 0 8 -262144 -1 -1 0 1 ; #X obj 691 91 pdp_control; #X msg 691 64 thread \$1; #X floatatom 691 152 5 0 0 0 - - -; #X obj 691 123 route pdp_drop; #X obj 129 294 route 1; #X obj 152 265 symbol; #X msg 115 265 bang; #X obj 241 582 block~ 512; #X connect 3 0 29 0; #X connect 4 0 3 0; #X connect 8 0 40 0; #X connect 9 0 29 0; #X connect 10 0 9 0; #X connect 11 0 12 0; #X connect 12 0 29 0; #X connect 13 0 14 0; #X connect 14 0 11 0; #X connect 18 0 21 0; #X connect 19 0 20 0; #X connect 20 0 18 0; #X connect 21 0 29 0; #X connect 23 0 29 0; #X connect 24 0 27 0; #X connect 25 0 27 1; #X connect 27 0 29 0; #X connect 28 0 27 0; #X connect 29 0 50 0; #X connect 29 1 38 0; #X connect 29 2 6 0; #X connect 29 3 1 0; #X connect 29 4 16 0; #X connect 29 5 17 0; #X connect 29 5 59 0; #X connect 29 6 48 0; #X connect 30 0 29 0; #X connect 33 0 29 0; #X connect 40 0 33 0; #X connect 40 0 60 1; #X connect 42 0 43 0; #X connect 43 0 10 0; #X connect 48 0 52 0; #X connect 51 0 29 1; #X connect 51 0 53 0; #X connect 54 0 56 0; #X connect 55 0 58 0; #X connect 56 0 55 0; #X connect 58 0 57 0; #X connect 59 0 61 0; #X connect 60 0 33 0; #X connect 61 0 60 0;