Bug 499120 - Position and Zoom breaks for Stabilized Clips with a different aspect ratio
Summary: Position and Zoom breaks for Stabilized Clips with a different aspect ratio
Status: CONFIRMED
Alias: None
Product: kdenlive
Classification: Applications
Component: Video Effects & Transitions (show other bugs)
Version: 24.12.1
Platform: Microsoft Windows Microsoft Windows
: NOR normal
Target Milestone: ---
Assignee: Jean-Baptiste Mardelle
URL:
Keywords: triaged
Depends on:
Blocks:
 
Reported: 2025-01-25 06:42 UTC by skachm
Modified: 2025-01-26 15:59 UTC (History)
1 user (show)

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


Attachments
Image 1-3 show expected behavior. Image 5 shows bug with stabilized clips (888.47 KB, image/png)
2025-01-25 06:42 UTC, skachm
Details

Note You need to log in before you can comment on or make changes to this bug.
Description skachm 2025-01-25 06:42:07 UTC
Created attachment 177659 [details]
Image 1-3 show expected behavior. Image 5 shows bug with stabilized clips

SUMMARY
Position & Zoom stretches stabilized clips that have an aspect ratio different from the project settings frame size

STEPS TO REPRODUCE
1. Set the project frame size, eg. vertical 1080x1920
2. Import a clip with a different aspect ratio, eg. 3840x3360 (Image 1)
3. Stabilize the clip
4. Add the Position and Zoom transform 

OBSERVED RESULT
1. Stabilized clip is stretched to match the project aspect ratio (Image 5)

EXPECTED RESULT
1. Stabilized clip matches the behavior of the unstabilized clip (Images 2-3), where adding the transform does not affect the clip aspect ratio

SOFTWARE/OS VERSIONS
Windows: 10 Version 22H2
KDE Frameworks Version: 6.9.0
Qt Version: 6.8.0

ADDITIONAL INFORMATION
Comment 1 emohr 2025-01-25 12:31:58 UTC
The Position & Zoom effect has some bugs we cannot really fix. Please try again and use the Transform effect. Does the issue still happen?
Comment 2 skachm 2025-01-25 21:08:51 UTC
Transform does not distort the aspect ratio, but appears to have a separate (less critical issue) where the fit to width and fit to height stop working. (Transform also matches the project frame size instead of the stabilized clip's aspect ratio, it just doesn't stretch the clip)
Comment 3 emohr 2025-01-26 15:59:12 UTC
Thank you for reporting. I can confirm the issue. Following your steps. 

When a clip is stabilized to a MLT clip: Transform -> all Align features doesn’t work anymore

Workaround: use all other parameters like scale and position to adjust the MLT clip.