#N canvas 49 8 827 508 12;
#X obj 23 151 gemwin;
#X msg 20 89 create;
#X msg 27 114 destroy;
#X obj 88 105 tgl 30 0 empty empty empty 20 8 0 8 -262144 -1 -1 0 1
;
#X obj 90 186 gemhead;
#X obj 90 391 pix_texture2;
#X floatatom 220 105 5 0 0;
#X msg 150 106 auto \$1;
#X obj 150 87 tgl 15 0 empty empty empty 20 8 0 8 -262144 -1 -1 0 1
;
#X floatatom 175 257 5 0 0;
#X obj 90 297 pix_rgba;
#X msg 197 335 -1 -2 -1 -2 8 -2 1 -2 1;
#X obj 90 358 pix_convolve 3 3;
#X obj 289 252 t f b;
#X obj 319 273 print END;
#X text 468 301 transform the movie into RGBA-space;
#X text 472 233 load and play-back a movie;
#X text 368 28 win32:;
#X text 358 91 linux:;
#X text 212 84 frame;
#N canvas 243 65 604 505 README 0;
#X text 79 38 the pix_film is the same as pix_movie but does not texture
the movie immediately onto a Geo.;
#X text 80 77 therefore it is possible to manipulate the frames;
#X text 78 106 the pix_film object will return the movie in it's (more
or less) native color-space. most of the times \, this will probably
be not RGBA but RGB or BGR (on windows machines).;
#X text 78 153 do not worry about this. however \, most of the pix-manips
will only work correctly on RGBA-pixes. if this is the case and you
send it a non-RGBA pixture it will say something like "pix_object cannon
handle gray image".;
#X text 79 226 to avoid this \, you can convert your pix-buff to RGBA
using "pix_rgba". this will be a no-cost operation if the pix_buf already
is in RGBA.;
#X text 66 334 you might notice a significant performance-enhancement
by just turning the [pix_rgba] off (via the toggle). however \, not
[pix_rgba] is expensive but the [pix_convolve] (which appears to do
nothing when initialized with "0 0 0 0 1 0 0 0 0". When [pix_rgba]
is "off" \, the [pix_convolve] will be bypassed \, and therefore be
very fast.;
#X restore 635 187 pd README;
#X obj 117 269 tgl 15 0 empty empty empty 20 8 0 8 -262144 -1 -1 1
1;
#X obj 90 464 square 4;
#X obj 90 233 pix_film;
#X floatatom 149 438 5 0 0;
#X msg 393 48 open ../data/homer.avi;
#X msg 390 108 open ../data/anim-1.mov;
#X msg 391 136 open ../data/alea.mpg;
#X text 479 396 you have to texture the movie by hand;
#X text 477 361 manipulate the movie (expensive!);
#X text 26 10 load \, play and manipulate digital videos;
#X text 204 318 edge detection;
#X msg 397 338 0.125 0.125 0.125 0.125 0.125 0.125 0.125 0.125 0.125
;
#X text 399 320 smoothing;
#X connect 1 0 0 0;
#X connect 2 0 0 0;
#X connect 3 0 0 0;
#X connect 4 0 23 0;
#X connect 5 0 22 0;
#X connect 6 0 23 1;
#X connect 7 0 23 0;
#X connect 8 0 7 0;
#X connect 10 0 12 0;
#X connect 11 0 12 2;
#X connect 12 0 5 0;
#X connect 13 0 23 1;
#X connect 13 1 14 0;
#X connect 21 0 10 0;
#X connect 23 0 10 0;
#X connect 23 1 9 0;
#X connect 23 2 13 0;
#X connect 24 0 22 1;
#X connect 25 0 23 0;
#X connect 26 0 23 0;
#X connect 27 0 23 0;
#X connect 32 0 12 2;
