Bug 499685 - Kdenlive crashes when moving cursor between videos with a Transform composition
Summary: Kdenlive crashes when moving cursor between videos with a Transform composition
Status: RESOLVED FIXED
Alias: None
Product: kdenlive
Classification: Applications
Component: Video Effects & Transitions (show other bugs)
Version: git-master
Platform: Microsoft Windows Microsoft Windows
: NOR crash
Target Milestone: ---
Assignee: Jean-Baptiste Mardelle
URL:
Keywords: triaged
Depends on:
Blocks:
 
Reported: 2025-02-08 15:54 UTC by Bibido
Modified: 2025-02-10 09:24 UTC (History)
1 user (show)

See Also:
Latest Commit:
Version Fixed In:
Sentry Crash Report:


Attachments
One video above the other, Transform in the middle (22.96 KB, image/png)
2025-02-08 15:54 UTC, Bibido
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Bibido 2025-02-08 15:54:41 UTC
Created attachment 178080 [details]
One video above the other, Transform in the middle

SUMMARY
Whenever the timeline cursor touches two videos one above the other, with the one above having a Transform composition, Kdenlive crashes when using the latest git version. 

STEPS TO REPRODUCE
1. Have two MPEG clips, one above the other
2. Apply a Transform composition on the upper clip that spreads further left than the clip below
3. Move the timeline cursor with your mouse or arrow keys

OBSERVED RESULT
The image I am attaching here shows the application before it froze and then crashed. You can see the timeline cursor is in the middle of the two videos. Kdenlive doesn't crash if I move the cursor with my mouse on the left side of the Transform composition that is empty (i.e. when the two videos don't touch), but it crashes immediately once it reaches the zone when both videos touch each other.

The rendering process also fails when I try to export the two videos with Transform in the middle. This is the result:

"Rendering of ... crashed

[libx264 @ 000002139be006c0] interlace + weightp is not implemented
[in @ 00000213a7f60ac0] Changing video frame properties on the fly is not supported by all filters. [in @ 00000213a7f60ac0] filter context - w: 1920 h: 1080 fmt: 1 csp: unknown range: unknown, incoming frame - w: 1920 h: 1080 fmt: 1 csp: bt709 range: unknown pts_time: 5303.48"

EXPECTED RESULT
Kdenlive shouldn't crash. 

SOFTWARE/OS VERSIONS
Windows: 11 Pro
macOS: 
(available in the Info Center app, or by running `kinfo` in a terminal window)
Linux/KDE Plasma: 
KDE Plasma Version: 
KDE Frameworks Version: 
Qt Version: 

ADDITIONAL INFORMATION
Comment 1 Bernd 2025-02-08 18:30:50 UTC
I tried to replicate (albeit on Linux) but cannot reproduce your error. What are the values of the Transform composition? Can you try with a Transform effect?
Comment 2 Bibido 2025-02-08 19:24:11 UTC
(In reply to Bernd from comment #1)
> I tried to replicate (albeit on Linux) but cannot reproduce your error. What
> are the values of the Transform composition? Can you try with a Transform
> effect?

I just click the little circle at the bottom of the upper clip to create a composition (which defaults to Wipe and doesn't cause a crash) and then I change that to a Transform composition using the mousewheel because sometimes I need to make use of the transparent background in the upper video (it happens even with normal MPEGs now that I tried). So I don't touch any values of the Transform composition and I also have no problems with the normal Transform effect.

As I am testing, I notice the program crashes during cursor moves also with other types of compositions, such as Vertical Barn Door Wipe.
Comment 3 Bibido 2025-02-10 09:24:30 UTC
The latest git version seems to have fixed the crash with Transform, so thank you all.