Re: FxPlug adding color cast.
site_archiver@lists.apple.com Delivered-To: pro-apps-dev@lists.apple.com Hi Trevor, 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, _______________________________________________ Do not post admin requests to the list. They will be ignored. Pro-apps-dev mailing list (Pro-apps-dev@lists.apple.com) Help/Unsubscribe/Update your Subscription: http://lists.apple.com/mailman/options/pro-apps-dev/site_archiver%40lists.ap... 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... Trevor _______________________________________________ Do not post admin requests to the list. They will be ignored. Pro-apps-dev mailing list (Pro-apps-dev@lists.apple.com) Help/Unsubscribe/Update your Subscription: http://lists.apple.com/mailman/options/pro-apps-dev/gds% 40noiseindustries.com This email sent to gds@noiseindustries.com This email sent to site_archiver@lists.apple.com
participants (1)
-
Gabriele de Simone