[Kdenlive-devel] Announcing Movit, a new video filter library

Dan Dennedy dan at dennedy.org
Thu Nov 15 23:31:28 UTC 2012


On Thu, Nov 15, 2012 at 1:03 PM, Steinar H. Gunderson
<sgunderson at bigfoot.com> wrote:
> On Fri, Nov 16, 2012 at 12:58:27AM +0400, Alexandre Prokoudine wrote:
>> To be honest, that's a tiny issue. But I easily get the demo to
>> display images with incorrect aspect ratio. E.g. 2979x1979 is rendered
>> as 16:10, so it's vertically squeezed.
>
> Correct aspect handling is a known problem; the pipeline is created with a
> given aspect, and everything that doesn't fit is scaled (bilinearly as
> provided by your GPU, unless you instantiate a ResampleEffect, in which case
> you'll get high-quality Lanczos resampling).
>
> In the long run, I think the right thing to do would be to do letter- or
> pillarboxing, although it's not immediately obvious what the background
> should be. (This is one of the primary reasons why Movit also can't crop
> right now.)

I suggest black with 0 alpha if you do not want to bother making it
configurable. MLT has used black for 8 years without a request for
anything else.

Now that I just made a new MLT release, I will take a serious look at
this and the other glsl contribution to MLT. I do not plan to use
movit's filter chain (the other glsl contribution reused MLT's), and I
plan to borrow and discard liberally, in general. IOW I do not plan to
integrate movit as independent lib/project. I will also take a closer
look at adopting gtest as that looks interesting.

-- 
+-DRD-+




More information about the Kdenlive mailing list