Problem with interlaced movies...
Problem with interlaced movies...
- Subject: Problem with interlaced movies...
- From: Peter Litwinowicz <email@hidden>
- Date: Mon, 16 Jul 2007 19:00:42 -0700
- Thread-topic: Problem with interlaced movies...
Title: Problem with interlaced movies...
Paul and Darrin, (et al.),
We are making a new for-sale FxPlug (finally!) I finally read your Rendering Paths document. It’s all good, but I still have some questions (of course, now that I’m doing this “for real” I’m hitting some serious snags).
I’ve may have asked many of these questions before, but now I have real reason to know the exact answers. I followed the discussion you guys had on this list about clipwell images, but I have some questions about input image that are not clipwell images.
The plugin I’m writing is all software-based. So no GPU.
Questions:
FCP:
Let’s say I drop lower-field-first interlaced material into a sequence that has “Field Dominance” set to lower-field-first. I get a 720x240 field as my input image at time 0. Great. This is what I expect. At resolution of 50% I get a 360x240 image, marked as progressive. Again cool enough. Let’s say I drop the lower-field-first footage into a sequence with Field Dominance set to None. At 100% resolution I get a 720x480 image marked as progressive (while the input field ORDER is lower-field-first). Cool. However, I may want to replace the interpolated scanlines with my own algorithm, but this only makes sense at 100% resolution because only at 100% are the original fields present (at 25 or 50% resolution we are dealing with approximations anyhow, so at these resolutions I don’t care so much what the interpolation of scanline method is). So how do I determine if my lower-field-first footage, sent to me as progressive material is at 100% or not?
Also, when you create a full frame from a field, can you confirm that in FCP that you linearly interpolate the inbetween scanlines (except for the one scanline at the top or bottom that you have to duplicate), right?
(We’re back to the question of the input media being a different format than the output timeline format... And I want to be able to interpolate scanlines differently at 100% resolution that what you are providing for me).
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.
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.
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).
Anxiously awaiting your answers (and I’ve submitted the bugs to the bugreporter form).
Pete
_______________________________________________
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