#N canvas 469 90 719 552 10;
#X declare -lib Gem;
#X text 502 8 GEM object;
#X obj 8 315 cnv 15 430 220 empty empty empty 20 12 0 14 #e0e0e0 #404040 0;
#X text 9 327 Inlets:;
#X text 9 397 Outlets:;
#X obj 8 282 cnv 15 430 30 empty empty empty 20 12 0 14 #bcbcbc #404040 0;
#X text 17 281 Arguments:;
#X obj 8 56 cnv 15 430 180 empty empty empty 20 12 0 14 #e0e0e0 #404040 0;
#X obj 449 57 cnv 15 250 450 empty empty empty 20 12 0 14 #dce4fc #404040 0;
#X text 453 40 Example:;
#X obj 594 440 cnv 15 100 60 empty empty empty 20 12 0 14 #bcbcbc #404040 0;
#X obj 451 88 cnv 15 155 200 empty empty empty 20 12 0 14 #14e814 #404040 0;
#X obj 451 63 gemhead;
#X text 17 411 Outlet 1: gemlist;
#X text 23 341 Inlet 1: gemlist;
#X obj 462 93 bng 25 250 50 0 empty empty empty 0 -6 0 8 #fcfcfc #000000 #000000;
#X text 505 57 open a supported;
#X text 506 68 movie-clip;
#X obj 471 377 unpack 0 0 0 0;
#X floatatom 466 400 5 0 0 3 length - - 0;
#X floatatom 515 400 5 0 0 3 width - - 0;
#X floatatom 565 400 5 0 0 3 height - - 0;
#X obj 530 358 bng 15 250 50 0 empty empty end_reached 20 7 0 10 #fcfcfc #000000 #000000;
#X text 71 31 Class: pix object (pix source);
#X text 29 57 Description: load in a movie-file;
#X obj 462 122 openpanel;
#X msg 462 142 open \$1;
#X obj 451 482 rectangle 4 3;
#X text 15 78 [pix_movie] loads in a preproduced digital-video to be used as a texture \, bitblit or something else.;
#X text 63 292 symbol: file to load initially;
#X msg 490 199 auto \$1;
#X obj 490 181 tgl 15 0 empty empty empty 0 -6 0 8 #fcfcfc #000000 #000000 0 1;
#X msg 501 223 colorspace Grey;
#X obj 8 239 cnv 15 430 40 empty empty empty 20 12 0 14 #fcac44 #404040 0;
#X obj 451 341 pix_movie;
#X text 459 515 see also:;
#X obj 536 515 pix_film;
#X text 50 12 Synopsis: [pix_movie];
#X obj 513 247 tgl 15 0 empty empty empty 0 -6 0 8 #fcfcfc #000000 #000000 0 1;
#X obj 505 300 hsl 128 15 0 127 0 0 empty empty empty -2 -8 0 10 #fcfcfc #000000 #000000 0 1;
#X floatatom 502 320 5 0 0 1 frame_number - - 0;
#N canvas 830 50 450 300 demo 0;
#X obj 23 26 inlet;
#X text 126 127 win32:;
#X text 116 190 linux \, OSX:;
#X obj 79 257 outlet;
#X obj 20 50 bng 17 250 50 0 empty empty empty 17 7 0 10 #fcfcfc #000000 #000000;
#X obj 38 51 cnv 15 81 15 empty empty demo_movie 4 8 0 10 #fcfcfc #000000 0;
#X msg 29 102 open examples/data/alea.mpg;
#X msg 151 147 open examples/data/homer.avi;
#X msg 144 210 open examples/data/anim-1.mov;
#X connect 0 0 4 0;
#X connect 4 0 6 0;
#X connect 6 0 3 0;
#X connect 7 0 3 0;
#X connect 8 0 3 0;
#X coords 0 -1 1 1 100 17 1 20 50;
#X restore 474 162 pd demo movie;
#X text 22 373 Inlet 2: float: <frame number> sets the frame to output;
#X obj 616 515 pix_texture;
#X text 14 241 You don't need [pix_texture] to texture the image. [pix_movie] is a combination of [pix_film] and [pix_texture];
#X text 17 470 Outlet 4: list: the texture id \, same as Outlet 2 of [pix_texture];
#X msg 513 266 rectangle \$1;
#X floatatom 615 400 5 0 0 3 fps - - 0;
#X text 17 117 This object accepts the same set of messages as [pix_film]. In addition \, it will immediately download the frames to the gfx-card and make them available as a texture.;
#X text 23 356 Inlet 1: see [pix_film];
#X text 17 427 Outlet 2: see [pix_film];
#X text 17 450 Outlet 3: see [pix_film];
#X text 21 161 Think of this object as a hybrid between [pix_film] and [pix_texture]...;
#N canvas 484 243 450 300 META 0;
#X obj 10 25 declare -lib Gem;
#X text 10 45 DESCRIPTION load in a movie-file;
#X text 10 65 KEYWORDS Gem pix image;
#X text 20 85 INLET_0 gemlist see;
#X text 20 105 INLET_1 float;
#X text 20 125 OUTLET_0 gemlist;
#X text 20 145 OUTLET_1 see;
#X text 20 165 OUTLET_2 see;
#X text 20 185 OUTLET_3 list;
#X text 10 205 AUTHOR IOhannes m zmölnig;
#X text 10 225 LICENSE GPL-2.0-or-later;
#X restore 578 8 pd META;
#X obj 599 447 _gemwin;
#X connect 11 0 33 0;
#X connect 14 0 24 0;
#X connect 17 0 18 0;
#X connect 17 1 19 0;
#X connect 17 2 20 0;
#X connect 17 3 46 0;
#X connect 24 0 25 0;
#X connect 25 0 33 0;
#X connect 29 0 33 0;
#X connect 30 0 29 0;
#X connect 31 0 33 0;
#X connect 33 0 26 0;
#X connect 33 1 17 0;
#X connect 33 2 21 0;
#X connect 37 0 45 0;
#X connect 38 0 39 0;
#X connect 39 0 33 1;
#X connect 40 0 33 0;
#X connect 45 0 33 0;
