#N canvas 556 114 846 748 10;
#X obj 532 621 cnv 15 100 60 empty empty empty 20 12 0 14 -195568 -66577
0;
#N canvas 0 0 450 300 gemwin 0;
#X obj 132 136 gemwin;
#X obj 67 89 outlet;
#X obj 67 10 inlet;
#X msg 67 70 set destroy;
#X msg 132 112 create \, 1;
#X msg 198 112 destroy;
#X msg 156 71 set create;
#X obj 67 41 route create;
#X connect 2 0 7 0;
#X connect 3 0 1 0;
#X connect 4 0 0 0;
#X connect 5 0 0 0;
#X connect 6 0 1 0;
#X connect 7 0 3 0;
#X connect 7 0 4 0;
#X connect 7 1 6 0;
#X connect 7 1 5 0;
#X restore 537 660 pd gemwin;
#X msg 537 641 create;
#X text 533 620 Create window:;
#X obj 553 331 gemhead;
#X obj 553 567 pix_texture;
#X obj 553 589 rectangle 4 3;
#X obj 553 390 pix_file_read;
#X msg 52 360 start;
#X msg 108 360 stop;
#X msg 49 591 forceColorspace GRAY;
#X msg 49 569 forceColorspace YUV;
#X msg 49 635 forceColorspace RGBA;
#X floatatom 617 533 5 0 0 1 duration_in_msec - -;
#X floatatom 656 516 5 0 0 1 width - -;
#X floatatom 696 499 5 0 0 1 height - -;
#X msg 49 613 forceColorspace RGB;
#X obj 639 438 print VIDEO_END;
#X text 285 78 part ot the videoIO framework for pd;
#X text 297 62 reads a video or internet stream;
#X obj 53 289 s fileread;
#X obj 572 360 r fileread;
#X text 638 456 bang at the end of the video;
#X obj 53 213 openpanel;
#X obj 53 195 bng 15 250 50 0 empty empty empty 17 7 0 10 -262144 -1
-1;
#X msg 53 234 set open \$1;
#X text 51 127 Open a file or stream:;
#X text 52 332 Play control:;
#X obj 52 392 s fileread;
#X obj 173 406 s fileread;
#X msg 244 381 seek 0;
#X msg 173 380 seek \$1;
#X floatatom 173 360 5 0 0 0 - - -;
#X text 243 362 start position;
#X text 219 450 will output single frames;
#X obj 49 663 s fileread;
#X text 48 483 Force a colorspace conversion:;
#X text 49 507 Without this messages videos are played in the colorspace
they are. By sending a forceColorspace message they will be converted
to the desired colorspace. NOTE: one has to reopen the file when changing
forceColorspace !;
#X text 333 37 ::: PIX_FILE_READ :::;
#X text 175 435 NOTE: in non-playing mode seeks;
#X text 51 149 General URIs are specified like /local/file/ \, dvd://chapter
\, http://host/path/file \, mms://host/path/file and so on.;
#X text 221 196 more URI examples:;
#N canvas 312 70 617 493 URI-examples 0;
#X text 11 17 Files on the local filesystem can be read with the usual
path:;
#X obj 13 79 s fileread;
#X msg 13 58 open /home/holzi/Desktop/yuv-test.mov;
#X text 12 123 HTTP-stream example:;
#X obj 12 166 s fileread;
#X msg 12 145 open http://stream.sbg.ac.at/unitv/image/image_01_v3.rmvb
;
#X obj 12 259 s fileread;
#X text 12 204 MMS-stream example:;
#X msg 12 226 open mms://ms.mdcs.dtag.de/zdf/zdf/07/08/070802_geritzt_37g_h.wmv
;
#X text 12 300 DVD example;
#X msg 13 323 open dvd://01;
#X obj 13 345 s fileread;
#X text 124 324 this will open the first title of the DVD;
#X text 125 339 you can use the usual seek commands;
#X msg 15 398 open udp://0.0.0.0:4951;
#X obj 15 419 s fileread;
#X text 12 379 UDP-stream example:;
#X text 206 401 this will open an udp stream streamed with the standard
configurations of this gstreamer pipeline: gst-launch filesrc location=test_mpeg2.mpeg
! mpegparse ! udpsink;
#X connect 2 0 1 0;
#X connect 5 0 4 0;
#X connect 8 0 6 0;
#X connect 10 0 11 0;
#X connect 14 0 15 0;
#X restore 228 214 pd URI-examples;
#X msg 643 649 \; pd dsp 1;
#X msg 710 649 \; pd dsp 0;
#X text 646 629 Audio IO:;
#X obj 572 413 dac~;
#X text 605 414 <- stereo audio output;
#X obj 403 409 s fileread;
#X text 373 332 Set the playback speed:;
#X text 393 348 double speed;
#X text 167 332 Seek to position (in msec):;
#X msg 403 364 speed 2;
#X obj 309 663 s fileread;
#X msg 309 634 videoTrack 1;
#X msg 309 612 audioTrack 1;
#X text 304 579 Set the tracks to play:;
#X text 304 593 The default track is 1;
#X msg 53 255 open /home/holzi/projects/champions/recording/champions09.ogg
;
#X obj 617 478 unpack f f f;
#X text 645 703 videoIO: created 2007 \, by;
#X obj 596 277 s fileread;
#X text 498 128 switch ON/OFF audio processing:;
#X text 499 151 Do this ALWAYS if you only want to read video !;
#X text 497 180 it will be resampled which can cost quite a lot;
#X text 500 193 performance also if dsp processing is off in pd.;
#X msg 596 236 audio 1;
#X msg 661 236 audio 0;
#X text 498 209 (standard is ON);
#X text 608 717 Georg Holzmann \, Thomas Holzmann;
#X text 498 166 Especially if the audio has a different samplerate
;
#X connect 1 0 2 0;
#X connect 2 0 1 0;
#X connect 4 0 7 0;
#X connect 5 0 6 0;
#X connect 7 0 5 0;
#X connect 7 1 46 0;
#X connect 7 2 46 1;
#X connect 7 3 59 0;
#X connect 7 4 17 0;
#X connect 8 0 28 0;
#X connect 9 0 28 0;
#X connect 10 0 35 0;
#X connect 11 0 35 0;
#X connect 12 0 35 0;
#X connect 16 0 35 0;
#X connect 21 0 7 0;
#X connect 23 0 25 0;
#X connect 24 0 23 0;
#X connect 25 0 58 0;
#X connect 30 0 29 0;
#X connect 31 0 29 0;
#X connect 32 0 31 0;
#X connect 52 0 48 0;
#X connect 54 0 53 0;
#X connect 55 0 53 0;
#X connect 58 0 20 0;
#X connect 59 0 13 0;
#X connect 59 1 14 0;
#X connect 59 2 15 0;
#X connect 66 0 61 0;
#X connect 67 0 61 0;
