Re: Is FxImageColorInfo valid?
Re: Is FxImageColorInfo valid?
- Subject: Re: Is FxImageColorInfo valid?
- From: Paul Schneider <email@hidden>
- Date: Thu, 30 Oct 2008 19:08:03 -0500
Hi Stoney,
FxImageColorInfo should be trustworthy.
In Final Cut, you should expect to get
RGB_GAMMA_DEFAULT_MACINTOSH_DISPLAY if your sequence is set to "Render
in RGB", and RGB_GAMMA_VIDEO otherwise. This assumes that your plugin
doesn't handle YUV formats; if it does, you can expect to get the YUV
variants (Rec 601 or Rec 709).
In Motion, you should always expect to get
RGB_GAMMA_DEFAULT_MACINTOSH_DISPLAY.
This is the current behavior of the shipping apps; we may change the
behavior in the future. For example, the LINEAR option is there as a
placeholder in case we want to start processing linear.
I'm not sure why you would be getting linear data in FCP or in Motion,
unless your media is actually linear, but not labeled as such.
Neither app currently linearizes during processing.
Can you send me one of your test images off-list?
Thanks,
- Paul
On Oct 30, 2008, at 6:54 PM, Stonewall Ballard wrote:
I've found that in Motion, I always get back
kFxImageColorInfo_RGB_GAMMA_DEFAULT_MACINTOSH_DISPLAY from
[inputImage colorInfo] in renderOutput:withInput:withInfo. In FCP, I
always get back kFxImageColorInfo_RGB_GAMMA_VIDEO. This is with RGB
images, regardless of depth. I tried this with lots of different
input images, still, synthetic, and video, with the same results.
Using some clips that I created with varied color profiles in AE, it
appears that in Motion, the input image has linear gamma at the
point that it reaches my FxPlug. The compensation suggested by Pete
Warden's message "Recommendations for plugins that want to work
internally in linear color",
<http://lists.apple.com/archives/pro-apps-dev/2008/Feb/msg00015.html>
seem to seriously overcompensate for the gamma in FCP, and is
unnecessary in Motion.
Some of my code wants to work in linear rgb, but I don't see how to
interpret these results.
Can anyone clarify this?
TIA for any help.
- Stoney
--
Stonewall Ballard
email@hidden http://stoney.sb.org/
_______________________________________________
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
_______________________________________________
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