hi !
below, i am referring to gem-0.87 (and no prior versions)
chris clepper wrote:
i found this in the docs:
Can't process pix_movie data with pix objects
POSTED 4/24/99
BUG: pix_movie sends the data immediately to OpenGL, so ther is no chance to process the data.
some geos don't render data from pix_movie correctly
cgc
this is out of date. it is true for [pix_movie], BUT:: with [pix_film] you *can* do image-processing !
i get "error: Gem: pix object cannot handle gray image" when sending pix_movie(s) to pix_add...
(same error with pix_mask too)
there is the [pix_rgba] object that tries to convert all non rgba-formats to rgba which can then be processed by other objects, like pix_mask
i'm using MJPEG coded videos (yes, they are in color. but i don't think this the problem)
in fact, this is the problem, since normally movies will store data in rgb. to avoid overhead, pix_movie (and pix_film) do *not* convert the data to rgba-space. almost all pix-objects have methods for rgba-images (which are "colour" in Gem) but some do not have methods for other colour-spaces, like "rgb" (which are called "gray" -- though obviously they are not)
(win2k, pd0.35-17, gem 0.85)
well, ok. what i said above applies to gem-0.87 only. try it. there are no precompiled binaries for windows right now, but the sources (which can be found somewhere at ftp://iem.kug.ac.at/pd/Externals/GEM/LINUX ) should definitely compile under both windows and linux.
mfg.f.ar IOhannes
cheers
-andre
ps. maybe i should use pix_multiimage instead...
i do not think that this is a good solution for movies (when they are longer than some secs)