#N canvas 621 114 691 473 10;
#X obj 9 265 cnv 15 430 185 empty empty empty 20 12 0 14 #e0e0e0 #404040 0;
#X text 40 267 Inlets:;
#X obj 9 227 cnv 15 430 30 empty empty empty 20 12 0 14 #bcbcbc #404040 0;
#X text 18 226 Arguments:;
#X obj 8 56 cnv 15 430 165 empty empty empty 20 12 0 14 #e0e0e0 #404040 0;
#X obj 449 77 cnv 15 200 280 empty empty empty 20 12 0 14 #dce4fc #404040 0;
#X text 453 60 Example:;
#X obj 536 293 cnv 15 100 60 empty empty empty 20 12 0 14 #bcbcbc #404040 0;
#X obj 461 206 cnv 15 180 30 empty empty empty 20 12 0 14 #14e814 #404040 0;
#X text 71 31 Class: pix object;
#X text 64 237 list: <buffer_name>;
#X text 26 312 Inlet 1: message: set <buffer_name>: write to another buffer.;
#X text 440 363 see also:;
#X obj 508 382 pix_buffer_read;
#X obj 461 84 bng 25 250 50 0 empty empty empty 0 -6 0 8 #fcfcfc #000000 #000000;
#X obj 461 112 openpanel;
#X msg 461 156 open \$1 \$2;
#X obj 461 135 pack s 0;
#X msg 474 182 set depot;
#X obj 507 362 pix_buffer depot 10;
#X text 50 12 Synopsis: [pix_buffer_filmopen];
#X text 29 57 Description: reads a movie into a [pix_buffer];
#X text 11 79 [pix_buffer_filmopen] reads a movie into a named buffer in the [pix_buffer] object \, starting at an (optional) bufferindex (defaults to 0). The film is read as fast as possible and the entire film is read \, so you might get clicks.;
#X text 13 151 This object is meant to be used at initialization time.;
#X text 26 280 Inlet 1: message: open <filename> <bufferindex>: read a filename into buffer starting at index.;
#X text 15 172 This object needs the gemwindow to be created.;
#X obj 461 212 pix_buffer_filmopen depot;
#A saved init;
#X obj 461 242 unpack f f f;
#X floatatom 461 264 5 0 0 0 - - - 0;
#X floatatom 495 264 5 0 0 0 - - - 0;
#X floatatom 530 264 5 0 0 0 - - - 0;
#X obj 632 262 bng 15 250 50 0 empty empty empty 17 7 0 10 #fcfcfc #000000 #000000;
#X text 49 341 Outlets:;
#X text 26 356 Outlet 1: list: <length> <width> <height>: gets the dimensions (in fps and pixels) of a film when it gets loaded. if length is not available (video-streams) -1 is returned.;
#X text 26 413 Outlet 2: bangs when finished loading;
#X text 452 8 GEM abstraction;
#X obj 543 301 _gemwin;
#X connect 14 0 15 0;
#X connect 15 0 17 0;
#X connect 16 0 26 0;
#X connect 17 0 16 0;
#X connect 18 0 26 0;
#X connect 26 0 27 0;
#X connect 26 1 31 0;
#X connect 27 0 28 0;
#X connect 27 1 29 0;
#X connect 27 2 30 0;
