Re: Problem with interlaced movies...
Re: Problem with interlaced movies...
- Subject: Re: Problem with interlaced movies...
- From: Darrin Cardani <email@hidden>
- Date: Mon, 23 Jul 2007 09:35:17 -0700
On Jul 16, 2007, at 7:00 PM, Peter Litwinowicz wrote: Motion: Let’s say I drop interlaced footage into an interlaced project. And I have the following code. - (BOOL)renderOutput:(FxImage *)outputImage withInput:(FxImage *)inputImage withInfo:(FxRenderInfo)renderInfo FxBitmap *srcMap = (FxBitmap *)inputImage; If I do this: FxFieldOrder inFieldOrder = [srcMap fieldOrder]; FxFieldOrder outFieldOrder = [outMap fieldOrder]; FxField inField = [srcMap field]; FxField outField = [outMap field]; I get the correct in/out Field and FieldOrder only if the project is set to have fields. If the project is set to not have fields, then I get progressive for the Field and Field Order in AND out. The Field and Field Order for the input should not be set to progressive just because we are in progressive project. This is a bug.
Hmmm... I remember going over this repeatedly to make sure we were doing it right. I'll see if I can figure out what's going wrong. Also, let say I set the project to have fields. If I do this: [parmsMultipleInputFramesApi getInputBitmap:&srcMap withInfo:renderInfo atTime:renderInfo.frame]; This should be equivalent to the the first way of setting srcMap to the inputImage. However, the field and field order of srcMap is set to progressive no matter what, when I uses . parmsMultipleInputFramesApi getInputBitmap. This is a bug too.
I can believe that we may have missed this case. I'll check it again, too. Also, in Motion is there any way I can determine whether or not I’m at 100% resolution so that I can replace your field interpolation with some other field interpolation of my own? And do you guys do field interpolation or duplication in Motion 3 (it seems that you do field interpolation, but I just want to make sure).
You should be able to tell the scale from the renderInfo.scale parameter, I believe. I thought we were doing field duplication, but I'll have to ask Pete Warden to be sure.
|
_______________________________________________
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