Re: [PD] YUV v/s RGBA

2009-09-15 Thread zmoelnig

Quoting Andres Ferrari an...@yahoo.com:



hello, i am trying to use pix_mask with 2 movies.

the movies were encoded in RGBA colorspace (codec planarRGB) for .mov files.

but when I open the video the pd console show that is not possible  
use pix_mask with 2 YUV movies...


if I use open in pix_film (or pix_movie) with the argument  
RGBA...the pix_alpha works...but the quality is horible.


the same happens with pix_alpha, pix_takealpha and pix_coloralpha.

maybe this objects works only with still images in jpg??
maybe I need other codecs for my movies??
maybe I have to create the movie with his own alpha channel??

i don't know...please help me.

(GEM 0.91 OSX 10.4 PPC)


on OSX, the default colorspace is YUV: all films/videos will be  
presented in YUV.


use [pix_rgba] to convert any pixes into RGBA.
or use [colorspace RGBA( message to [pix_film] to decode directly into RGBA.


fgmasdr
IOhannes


This message was sent using IMP, the Internet Messaging Program.


bin2nSCcosJpU.bin
Description: Öffentlicher 	PGP-Schlüssel
___
Pd-list@iem.at mailing list
UNSUBSCRIBE and account-management - 
http://lists.puredata.info/listinfo/pd-list


Re: [PD] YUV v/s RGBA

2009-09-15 Thread chris clepper
On Mon, Sep 14, 2009 at 4:40 PM, Andres Ferrari an...@yahoo.com wrote:


 hello, i am trying to use pix_mask with 2 movies.

 the movies were encoded in RGBA colorspace (codec planarRGB) for .mov
 files.

 but when I open the video the pd console show that is not possible use
 pix_mask with 2 YUV movies...


YUV has no alpha channel.



 maybe this objects works only with still images in jpg??


It works with movies in RGBA colorspace.


 maybe I need other codecs for my movies??


The 'None' codec will give uncompressed RGBA.  Or try Photo-JPEG at 100%
quality (any other quality level is YUV).


 maybe I have to create the movie with his own alpha channel??


The best way to use alpha channels is pre-render them in an off line app
like Photoshop or After Effects.  The alpha channel can hold any values, and
they don't have to be related to the image at all (alpha has no set meaning
in image processing).  pix_alpha just does a very simple average of R G and
B which might not give you the results you want.  You could do an extreme
setting for pix_contrast/saturation before it to remove all color
(saturation 0) and create black or white pixels with a very high contrast
value.  This would give a mask like the dancer.jpg used in the example
patches based on the brightness of the pixels.
___
Pd-list@iem.at mailing list
UNSUBSCRIBE and account-management - 
http://lists.puredata.info/listinfo/pd-list


[PD] YUV v/s RGBA

2009-09-14 Thread Andres Ferrari

hello, i am trying to use pix_mask with 2 movies.

the movies were encoded in RGBA colorspace (codec planarRGB) for .mov files.

but when I open the video the pd console show that is not possible use pix_mask 
with 2 YUV movies...

if I use open in pix_film (or pix_movie) with the argument RGBA...the pix_alpha 
works...but the quality is horible.

the same happens with pix_alpha, pix_takealpha and pix_coloralpha.

maybe this objects works only with still images in jpg??
maybe I need other codecs for my movies??
maybe I have to create the movie with his own alpha channel??

i don't know...please help me.

(GEM 0.91 OSX 10.4 PPC)

thanks a lot.

Andrés Ferrari G.

http://www.myspace.com/anfex





  

¡Obtén la mejor experiencia en la web!
Descarga gratis el nuevo Internet Explorer 8. 
http://downloads.yahoo.com/ieak8/?l=e1

___
Pd-list@iem.at mailing list
UNSUBSCRIBE and account-management - 
http://lists.puredata.info/listinfo/pd-list