[GEM-dev] [ pd-gem-Bugs-2980652 ] [PD] strange colors with pix_record

SourceForge.net noreply at sourceforge.net
Wed Jun 16 18:43:07 CEST 2010


Bugs item #2980652, was opened at 2010-04-01 19:37
Message generated for change (Comment added) made by zmoelnig
You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=507079&aid=2980652&group_id=64325

Please note that this message will contain a full copy of the comment thread,
including the initial issue submission, for this request,
not just the latest update.
Category: Pixes (pix_ objects)
Group: None
Status: Open
Resolution: None
Priority: 5
Private: No
Submitted By: max (maxn)
Assigned to: Nobody/Anonymous (nobody)
Summary: [PD] strange colors with pix_record

Initial Comment:
System: GEM ver: 0.92.2 compiled: Jan 20 2010 on OS X 10.6.3
Symptom: a grey cube will be shown in blue when recorded with pix_record.
see attached files to test. Please report on this bug to se weather it affects other systems too,

----------------------------------------------------------------------

>Comment By: IOhannes m zmlnig (zmoelnig)
Date: 2010-06-16 18:43

Message:
i assume the k32BGRAPixelFormat -> k32ARGBPixelFormat is on macintel as
well?
(just to be sure; it seems like on my G4 i cannot select any of the
RGBA-colorspaces, so i cannot really test)

fgmasdr
IOhannes

----------------------------------------------------------------------

Comment By: Matthias Neuenhofer (neuenhofer)
Date: 2010-06-16 17:26

Message:
here my suggestion from April … think is still the same. or?

yes the RGBA channels are set wrong on mac osx. the cube appears blue
because the alpha channel is read as blue.
when you change channels like this 
R –> G 
G –> R 
B –> A 
A –> B
the movie will justified. but it´s not handy to give each record this
process so  
i fixed this with a change in the code of recordQT.cpp in line 241 -
instead of colorspace = k32BGRAPixelFormat;
i use colorspace = k32ARGBPixelFormat;
but i don´t know how this affects other os

also the recorded mov is upside down - this can fix in quicktime pro with
a click in the properties of the video track -
so i don´t looked for the code issue.

matthias

----------------------------------------------------------------------

Comment By: max (maxn)
Date: 2010-06-16 10:59

Message:
please refer to the thread “strange colors with pix_record” on the
list.
codec was defaulting to “video” but that doesn't seem to have
influence on it.
didn't try it with pixes but doubt that would make a difference.
and yes - changing the colorspace with pix_yuv is a workaround, it works
then.


----------------------------------------------------------------------

Comment By: IOhannes m zmlnig (zmoelnig)
Date: 2010-06-15 12:04

Message:
which codec are you using?
does it work when just recording a pix (as aquired by pix_film)
does it work if you manually change the colorspace, e.g. with [pix_yuv]
resp. [pix_rgba]

----------------------------------------------------------------------

You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=507079&aid=2980652&group_id=64325



More information about the GEM-dev mailing list