Re: FxPlug adding color cast.
Re: FxPlug adding color cast.
- Subject: Re: FxPlug adding color cast.
- From: Gabriele de Simone <email@hidden>
- Date: Mon, 12 Feb 2007 15:49:44 -0500
Hi Trevor,
I can confirm your findings, and offer a workaround. That color shift
is only there during 8 bit RGB or YUV processing. If that's all your
plug-in supports, then you're out of luck. But if you can write your
plug-in to support floating point rendering, the unwanted color shift
will not be there when you are *rendering*, as long as the "Render
all YUV material in high-precision YUV" setting is ON in your
sequence setting.
Even if your plug-in supports 32 bit float rendering only in RGB, you
will still benefit from that the "high-precision" option, since FCP
appears to do the float YUV to RGB conversion for you. Obviously, if
you plug-in supports 32 bit YUV rendering ('r4fl') you're in the best
position for limiting the damage.
As a side note: the sequence setting only affects rendering, so
there's no way to get rid of that color shift during preview. You'll
have to document this fact with your users...
Gabe
Noise Industries, LLC
On Feb 12, 2007, at 2:04 PM, Trevor Anderson wrote:
I'm relatively new to FxPlug programming, but I did notice something
strange. It seems that in Final Cut, it reduces the red and blue
channels in my image giving it a green color cast. Once I noticed
this I stripped the plugin down and found that even when I simply send
out exactly the pixel values it sent in to me, it still does it. It
does it whether I ask for RGB or YUV. If I switch codecs in Final Cut
to something like Video, then it doesn't do it, but if I'm in any of
the DV codecs, it does. Is this a QuickTime bug? Something to do with
color space conversion on rendering? Any help or suggestions would be
appreciated,
Trevor
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Pro-apps-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
40noiseindustries.com
This email sent to email@hidden
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Pro-apps-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden