Bug 368875 - "Position and Zoom" effect creates white line and dots outside clip
Summary: "Position and Zoom" effect creates white line and dots outside clip
Status: RESOLVED FIXED
Alias: None
Product: kdenlive
Classification: Applications
Component: Effects & Transitions (show other bugs)
Version: 16.08.0
Platform: Mint (Ubuntu based) Linux
: NOR major
Target Milestone: ---
Assignee: Vincent PINON
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2016-09-16 00:25 UTC by Dany
Modified: 2016-12-18 12:00 UTC (History)
4 users (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments
Whit dots and vertical bar around image (709.84 KB, image/jpeg)
2016-09-16 00:27 UTC, Dany
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Dany 2016-09-16 00:25:53 UTC
Easy step to reproduce:

Reproducible: Always

Steps to Reproduce:
1. add in timeline a .png image, larger than video resolution.
2. right click on clip and select "Add effect -> crop and trasform -> position and zoom"
3. Resize image with hight/low handle

Actual Results:  
A white vertical bar and white dots appears outside clip (see attachment). It remain after rendering too.
Comment 1 Dany 2016-09-16 00:27:17 UTC
Created attachment 101109 [details]
Whit dots and vertical bar around image
Comment 2 Jean-Baptiste Mardelle 2016-09-17 11:36:09 UTC
This is probably a problem in MLT's affine filter. Which MLT version are you using ?
From a terminal, type:
melt -version
Comment 3 Dany 2016-09-17 11:50:34 UTC
(In reply to Jean-Baptiste Mardelle from comment #2)
> This is probably a problem in MLT's affine filter. Which MLT version are you
> using ?
> From a terminal, type:
> melt -version

$ melt -version
No LADSPA plugins were found!

Check your LADSPA_PATH environment variable.
melt 6.3.0
Copyright (C) 2002-2016 Meltytech, LLC
<http://www.mltframework.org/>
This is free software; see the source for copying conditions.  There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE
Comment 4 Jean-Baptiste Mardelle 2016-09-17 12:58:14 UTC
Can you tell me what is the size (widthxheight) of the image "banner.png" used in your project, or even attach it here?

Thanks
Comment 5 Dany 2016-09-17 13:17:11 UTC
(In reply to Jean-Baptiste Mardelle from comment #4)
> Can you tell me what is the size (widthxheight) of the image "banner.png"
> used in your project, or even attach it here?
> 
> Thanks

My image is 500x108 (it became large like entire screen), but it happen if you add a Color Clip too. I was trying this tutorial https://opensource.com/life/15/8/adding-lower-thirds-kdenlive and appears same problem when I crop and resize the Color Clip.
(I'm new in Linux and english language, be patient please...)
Comment 6 Jean-Baptiste Mardelle 2016-09-18 07:02:57 UTC
Thanks for the details and the video. I can now confirm the bug. It is a problem with the "affine" filter / transition that is part of MLT. There are several issues with this effect / transition that are not easy to fix. Because of this, I wrote a new effect / transition for MLT a few months ago that has the same features fixes these problems. You can find the effect under the name "Transform" and the transition under "Composite and Transform". Do you have these available ? 
I should deprecate the use of Affine transition for Kdenlive 16.12 (added on 16.12 roadmap: https://phabricator.kde.org/T3788 )
Comment 7 Dany 2016-09-18 23:50:39 UTC
I have both effect / transition. Thanks for your work and time.
Comment 8 Wegwerf 2016-10-08 16:42:33 UTC
I've tried with recent frei0r/MLT fixes and a problematic project of mine where I saw this kind of corruption as reported here; it's gone now. So I'm now closing this as resolved fixed.

As for the Affine transition: a quick poll in our G+ community (https://plus.google.com/103555172011502893674/posts/ijcVd2FsbKa) showed that 16% out of 31 Kdenlive users use Affine on a regular basis as their most-used transition.

Deprecating Affine won't do much good, me thinks.
Comment 9 Andrej M. 2016-12-18 12:00:38 UTC
Hello,

in addition to the problem that was fixed, some other effects have white lines/dots when used: rotate and shear, rotate (keyframable), distort.

$ melt -version
melt 6.4.1

Kdenlive version 16.08.3
KDE Frameworks 5.27.0
Qt 5.7.1 (built against 5.6.1)
The xcb windowing system

Best Regards,
Andrej Mernik