Bug 497845

Summary: real effect of "Fill Border" effect on a clip only shows up in 1:1 preview mode and not in scaled previews (Version 25.03.70 - 9385)
Product: [Applications] kdenlive Reporter: Karina Shoelove <happygirl11011985>
Component: Video Effects & TransitionsAssignee: Jean-Baptiste Mardelle <jb>
Status: RESOLVED FIXED    
Severity: normal CC: fritzibaby
Priority: NOR Keywords: triaged
Version First Reported In: 24.12.0   
Target Milestone: ---   
Platform: Other   
OS: Linux   
Latest Commit: Version Fixed/Implemented In:
Sentry Crash Report:

Description Karina Shoelove 2024-12-23 21:45:12 UTC
SUMMARY
While testing the [497796] I found that the effect now works, but only in the 1:1 preview and in no other mode. In previous versions it did not scale correctly in the other mods and threw some error when switching preview modes.

STEPS TO REPRODUCE
1. Add color clip to project and timeline (not black as borders are by default black)
2. add effect Fill Borders
3. set to 1:1 in preview
4. switch effect mode to "Fixed"
5. add left 500px and right 500px - everything should work
6. switch preview mode from 1:1 to other modes and verify if scaled effect is visible, in my version it only shows up in 1:1

OBSERVED RESULT
* only works in 1:1 mode which is quite heavy to use in some effect stacks, especially some fill borders are heavy loading

EXPECTED RESULT
* each preview mode should show the scaled width of of the effect

SOFTWARE/OS VERSIONS
Operating System: Debian GNU/Linux 12
KDE Plasma Version: 5.27.5
KDE Frameworks Version: 5.103.0
Qt Version: 5.15.8
Kernel Version: 6.1.0-27-amd64 (64-bit)
Graphics Platform: offscreen
Processors: 20 × 13th Gen Intel® Core™ i7-1370P
Memory: 62.4 GiB of RAM
Graphics Processor: Mesa Intel® Graphics
Kdenlive Version: 25.03.70 - 9385
Comment 1 emohr 2024-12-25 19:41:06 UTC
Thank you for reporting. 

In version 24.12.0 the effect "Fill Borders" doesn’t work on Windows. I cannot adjust any of the values (left/right/top/bottom).

Please try with the current Kdenlive AppImage version 24.12.0 to see if the effect works on Linux: https://kdenlive.org/en/download/
Comment 2 Karina Shoelove 2024-12-25 20:40:42 UTC
(In reply to emohr from comment #1)
> Thank you for reporting. 
> 
> In version 24.12.0 the effect "Fill Borders" doesn’t work on Windows. I
> cannot adjust any of the values (left/right/top/bottom).
> 
> Please try with the current Kdenlive AppImage version 24.12.0 to see if the
> effect works on Linux: https://kdenlive.org/en/download/

I did my "test" with daily build version -> https://cdn.kde.org/ci-builds/multimedia/kdenlive/master/linux/
Comment 3 emohr 2024-12-26 09:41:02 UTC
I tested with the Windows daily build 25.03.70 (9385) and here the "Fill Borders" effect is working.

I can confirm the behavior following your steps changing the preview resolution. The black border changes the size as you change the preview resolution.
Comment 4 Jean-Baptiste Mardelle 2024-12-26 14:44:30 UTC
Thanks for your report. This is now fixed in MLT:
https://github.com/mltframework/mlt/commit/e70901c93fccfc8820ea5a5502086741d3bb5176
Comment 5 emohr 2024-12-26 20:20:22 UTC
I can confirm that with the MLT update the effect "Fill Borders" is working correct when you change the preview resolution.