hello Malte,
yes, I think you missed the point or I wasn't clear enough :-)
I don't want to make all the video transparente; I want to use video as if I was using a 32-bit image, with full alpha support: that is, with some parts fully opaque, and others fully transparents, and some with some transparency.
I received some e-mails about that; I am trying to use a lot of TIF files, and I am using makefilename (thanks to claudius) to change the images (so, I am simulating a video with an image sequence). It is working until now ;-)
bye, andrei
Message: 6 Date: Wed, 21 Jul 2004 13:26:46 +0200 From: Malte Steiner steiner@block4.com Reply-To: steiner@block4.com Organization: block 4 To: pd-list@iem.at Subject: Re: [PD] transparent video or: how to concatenate strings?
andreithomaz wrote:
hello list,
I am using GEM on WindowsXP. I would like to mix videos with transparency (that is, with alpha channel). But I cann't find a codec that supports that. Do you know anyone?
How do you mean that, do you just want to blend video into each other? No problem with that, you can add an alpha blending to each Gem stream. Something like
[gemhead 50] | [color 1 1 1 0.5] | [alpha] | [pix_movie] | [square 4]
makes one videotexture half transparent (the 0.5 is it), double it and put another number in gemhead, 51 maybe, for the other video.
A way to solve the problem would be to show a image sequence (PNG files with 32 bit color). But, for that, I would have to transform a number into a string, and concatenate it with a string (for exemple, "frame" + number + ".png"). Is it possible to make that?
thanks a lot, andrei
But maybe I miss the point of your mail...
Malte
-- Malte Steiner media art + development -www.block4.com-