Bug 414070

Summary: Random movement in rendered output on Position-zoom effect when importing keyframes from Auto Mask
Product: [Applications] kdenlive Reporter: inQuis <inquis.jj>
Component: Video Effects & TransitionsAssignee: Vincent PINON <vpinon>
Status: RESOLVED NOT A BUG    
Severity: critical CC: fritzibaby
Priority: NOR Flags: fritzibaby: timeline_corruption+
Version First Reported In: 19.08.3   
Target Milestone: ---   
Platform: Other   
OS: Linux   
Latest Commit: Version Fixed/Implemented In:
Sentry Crash Report:
Attachments: Screenshot of result in preview window and frame from rendered output
mlt file used to render faulty effect

Description inQuis 2019-11-12 17:02:38 UTC
Created attachment 123869 [details]
Screenshot of result in preview window and frame from rendered output

SUMMARY
When importing the keyframes from Auto Mask and applying it to another effect, such as Position and Zoom, it shows the expected result in the preview window, however in de rendered version movement is all over the place and seems random

STEPS TO REPRODUCE
1. Insert a video clip into timeline and add the Auto Mask effect
2. Select a feature to follow and hit Analyse
3. Click on Copy to clipboard button next to tracking data
4. Insert another clip or still image into a higher track of the timeline
5. Add a keyframable affect, for instance the Position and Zoom effect to this clip/image
6. Click Options, Import keyframes from clipboard
7. Choose either Geometry or Position and click OK
8. Observe result in preview window: movement as expected
9. Render to file and observe random movement

OBSERVED RESULT
In rendered output: random movement

EXPECTED RESULT
Proper movement as shown in preview window

SOFTWARE/OS VERSIONS
Linux, Ubuntu 18.04.3 LTS
KDenlive versions 19.08.2b-x86_64, 19.08.3-x86_64, 19.11.80-c827054-x86_64, 19.11.80-d5a078a-x86_64, 20.03.70-5cb2e98-x86_64

ADDITIONAL INFORMATION
Part of keyframes that where copied to the clipboard:
231/205:760x469:0;1=231/205:760x469;2=230,944/205,121:760x469;3=236,194/206,808:760x469;4=243,86/211,586:760x469;5=258,06/214,886:760x469;6=273,242/216,523:760x469;7=276,18/217,304:760x469;8=268,103/216,765:760x469;9=262,817/212,765:760x469;10=263,817/209,108:760x469;11=267,876/207,52:760x469;12=267,879/204,827:760x469;13=265,384/201,694:760x469;14=266,704/205,049:760x469;15=263,791/209,329:760x469;16=256,612/209,937:760x469;17=249,456
Comment 1 emohr 2019-11-18 17:32:51 UTC
For upcoming version 19.12 lots of effects are "repaired". Can you test with the nightly build to check if it's solved? https://binary-factory.kde.org/job/Kdenlive_Nightly_Appimage_Build/lastSuccessfulBuild/artifact/
Comment 2 inQuis 2019-11-18 20:09:55 UTC
Created attachment 123999 [details]
mlt file used to render faulty effect
Comment 3 inQuis 2019-11-18 20:11:16 UTC
I've tested with every nightly build since, all with the same problematic result :(

I've added the .mlt file that was produced to render the output; hope it helps!
Comment 4 inQuis 2019-11-19 12:08:08 UTC
I did another test on a different computer with exactly the same specs and OS (Ubuntu 18.04.03 LTS) yet this time the file renders as expected! There appears to be some strange rendering problem on my system which also manifests in bug 414277. I already tried clearing all settings and cached files to no avail. Is there anything I could try to resolve the issue?
Comment 5 emohr 2019-11-19 16:44:04 UTC
What the 2 PC's has for CPU's, RAM, Graphic cards? 

Please test with the AppImage always because then there are no packaging issues. 

If the hardware is the same maybe Ubuntu is not proper installed. I had a similar case and after updating to Ubuntu 19.04 Kdenlive run smooth.
Comment 6 inQuis 2019-12-09 14:34:24 UTC
Turned out to be system related. Works fine after OS reinstall