| Summary: | Mix Clips compositions transition applies to lower layers | ||
|---|---|---|---|
| Product: | [Applications] kdenlive | Reporter: | Mihai Vasiliu <mihai.vasiliu.93> |
| Component: | Video Effects & Transitions | Assignee: | Jean-Baptiste Mardelle <jb> |
| Status: | VERIFIED FIXED | ||
| Severity: | normal | CC: | fritzibaby, mihai.vasiliu.93 |
| Priority: | NOR | Flags: | mihai.vasiliu.93:
low_hanging+
fritzibaby: timeline_corruption+ |
| Version First Reported In: | 22.04.3 | ||
| Target Milestone: | --- | ||
| Platform: | Microsoft Windows | ||
| OS: | Microsoft Windows | ||
| Latest Commit: | https://invent.kde.org/multimedia/kdenlive/-/commit/d1178a66be64026c5e8b24f70b19d33a8684875c | Version Fixed/Implemented In: | |
| Sentry Crash Report: | |||
| Attachments: |
project and files to reproduce issue
Workaround with the desired behaviour |
||
|
Description
Mihai Vasiliu
2022-07-17 17:10:01 UTC
Created attachment 150920 [details]
project and files to reproduce issue
Thanks for your report! I can confirm this behavior following your steps. Something with track composition is wrong. For anyone having the same issue or interested in fixing the bug, I have found a workaround: If you add an Alpha Operations effect to both images that are meant to use the MixClips effect, the desired transition is now possible without the black bars. Check out the workaround attachment. So the issue is definitely with the alpha and must be addressed in the MixClips effect itself. Created attachment 157986 [details]
Workaround with the desired behaviour
After finding out the the Alpha operations effect makes it work right, I tested out using png files with transparency instead of jpg files for the pictures. In this case the issue is no longer seen. It doesn't matter what is the size of the png file, it is only important to have an alpha layer. So, the fix for this issue should be something like, when using MixClips, it should automatically treat the images with a transparency layer even if the images do not have one. Shotcut is already working on this. We may need to port the changes from there. See https://github.com/mltframework/shotcut/commit/6e5c57ef9edb06951cf972c4b5e1575f84265657 The commit in the MLT framework is this one: https://github.com/mltframework/mlt/commit/85d669e573d33ea7a786337a198e1c03620a1294 Anyone available to help porting the changes indicated from the Shotcut commit? I am not familiar with the Kdenlive codebase/repo. Thanks a lot for your report and investigation. This will be fixed in git master and for the upcoming 23.08.0 version Git commit d1178a66be64026c5e8b24f70b19d33a8684875c by Jean-Baptiste Mardelle. Committed on 13/07/2023 at 06:30. Pushed by mardelle into branch 'master'. Ensure luma transition considers padding as transparent M +6 -0 data/transitions/dissolve.xml M +3 -0 data/transitions/luma.xml https://invent.kde.org/multimedia/kdenlive/-/commit/d1178a66be64026c5e8b24f70b19d33a8684875c Thanks for your time to commit this fix! I really appreciate it and can start working again on my projects without any workarounds. Confirmed fixed in nightly version 23.07.70 (rev. d2b889602) |