Summary: | [Regression] Combining composite + position and zoom effect crops too early | ||
---|---|---|---|
Product: | [Applications] kdenlive | Reporter: | Vincent Petry <PVince81> |
Component: | Video Effects & Transitions | Assignee: | Jean-Baptiste Mardelle <jb> |
Status: | CONFIRMED --- | ||
Severity: | major | CC: | cgiraud, fritzibaby, julius.kuenzel, kde-bugs, kolloom |
Priority: | NOR | Keywords: | triaged |
Version First Reported In: | Appimage - Refactoring | ||
Target Milestone: | --- | ||
Platform: | openSUSE | ||
OS: | Linux | ||
Latest Commit: | Version Fixed In: | ||
Sentry Crash Report: | |||
Attachments: |
Revert patch for bd78c208bc43f5d2e2833621fb6a4a1bcc9d54f2
can be reproduced on 18.12.1 on 19.03.70 |
Description
Vincent Petry
2018-06-19 20:54:46 UTC
More info in case it matters: - Plasma 5.25.5 (plasma5-workspace-5.12.5-lp150.1.1.x86_64) - ffmpeg-3.4.2-lp150.3.1.x86_64 Bug is also happening in version v17.08.3 compiled from matching git tag. I tried going back further with git, hoping to do a bisect, but am getting compilation errors. Is this effect part actually in kdenlive or libmlt ? I suspect I might need to downgrade libmlt as well to compile older versions. Now I also just tried the AppImage version for 18.04.1 and the bug is also happening there. Mlt got updated to 6.8.0-lp150.10.1, issue persists. I'd appreciate some pointers: - is this reproducible or is this only in my env ? - are transitions done by kdenlive or libmlt ? (to know what to bisect) Bonjour Vincent :) Sorry for late answer The cropped edges seem to correspond to your bottom image format. There must be a bug in Composite & Transform (I believe it tries to speedup compositions by skipping transparent pixels on top image, seems to mess and skipping void pixels in bottom image) C&T, as all video processing, is done in MLT, Kdenlive is "just a GUI & set of tools" around. However recent Kdenlive needs recent MLT, if you build an older MLT you might break Kdenlive. The file to track is: mlt/src/modules/qt/transition_qtblend.cpp (maybe commit from 2017-01-03: "Fix transparency of pixbuf images", precedes mlt 6.6.0...) However, as a workaround: for just an opacity transition, you should rather use "dissolve", that is made for this purpose. I hope you wouldn't have your bug. (and you could use "Transform" instead of "Pan & Zoom", but it doesn't really matter) Hope this helps! Thanks for the info. While I could settle on the workaround, I think the issue should be addressed in general for other people who might be using Composite for other purposes. Here is my action plan: 0) Solve crash issues with kdenlive from git v18.04.2 and mlt from git v6.8.0, likely related to environment and/or compilation options 1) Attempt to revert bd78c208bc43f5d2e2833621fb6a4a1bcc9d54f2 on top of v6.8.0 (with conflict resolution) and see if issue is fixed 2) If not fixed, bisect mlt to find when it stopped working (needs compiling matching kdenlive version when crossing mlt version boundaries) 3) Try out dissolve workaround (not sure why I used composite and never saw this one) Currently at step 0 and have some alternative things to try out before asking for help. Hmph... Whatever I do, when using the manually compiled mlt from git with proper dirs, kdenlive shows green vertical bars in the preview panel and crashes when I open my test project. I took the compilation option from the RPM build log to make sure it has the right paths: % ./configure --prefix=/usr --exec-prefix=/usr --bindir=/usr/bin --sbindir=/usr/sbin --sysconfdir=/etc --datadir=/usr/share --includedir=/usr/include --libdir=/usr/lib64 --libexecdir=/usr/lib --localstatedir=/var --sharedstatedir=/var/lib --mandir=/usr/share/man --infodir=/usr/share/info --enable-sdl --enable-sdl2 --enable-debug --enable-gpl --enable-gpl3 --enable-extra-versioning --swig-languages=python % make -j4 % sudo make install This gives me the green bars and crashes. Maybe I've hit upon another bug or env issue. I'll need to get this working to be able to properly bisect later on. For now, I've used a barbaric approach and copied the modules manually on top of the RPM files: % sudo cp lib*.so /usr/lib64/mlt-6/ At least now kdenlive works as before. And using this approach, reverting bd78c208bc43f5d2e2833621fb6a4a1bcc9d54f2 did NOT solve the transition issue. So I'll likely need to bisect. I've attached the reverted commit in case I did something wrong during conflict resolution. Created attachment 113527 [details]
Revert patch for bd78c208bc43f5d2e2833621fb6a4a1bcc9d54f2
Revert of bd78c208bc43f5d2e2833621fb6a4a1bcc9d54f2.
Does NOT solve the transition issue.
Unless I didn't overwrite the correct so files...
Please try with the actual Kdenlive AppImage version 18.08.2. Run the Appimage from the terminal (press CTRL + ALT + T). Move to the AppImage folder and run the .AppImage: ./Kdenlive*.AppImage This version has an updated MLT part. Created attachment 118551 [details]
can be reproduced on 18.12.1
issue persists on 18.12.1b appimage build on ubuntu
Created attachment 118552 [details]
on 19.03.70
Also reproducible on refactoring_timeline (commit 76bca9ab6)
This is definitely a long standing bug
kdenlive 19.03.70
mlt 6.13
ffmpeg 4.0.2-2
git repo branch origin/refactoring_timeline 76bca9ab6
KDE Frameworks Version: 5.55
Qt Version: 5.11.1
I will go ahead and make it confirmed Thanks thompson. I change it Refactoring. This is still confirmed for 21.03.70 (rev. a8b094679) Still confirmed with kdenlive-21.08.0a-x86_64.appimage |