Bug 445480

Summary: huge logs from the Rotoscoping filter
Product: [Applications] kdenlive Reporter: François <ftechene>
Component: Video Effects & TransitionsAssignee: Vincent PINON <vpinon>
Status: CONFIRMED ---    
Severity: normal CC: julius.kuenzel
Priority: NOR    
Version: 21.08.3   
Target Milestone: ---   
Platform: Flatpak   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:

Description François 2021-11-14 13:24:15 UTC
SUMMARY
When using the Rotoscoping filter, huge system logs are being generated that, in my case, represented more than 10GB of disk space after an hour of usage.


STEPS TO REPRODUCE
1. Add a clip to the timeline
2. Add a Rotoscoping filter to the clip
3. Draw a shaope and move its points around
4. Check journalctl logs


OBSERVED RESULT

Large logs like the following are being generated continuously while dragging a point of the rotoscoping shape. i guess that it also slows down the rotoscoping tool quite a lot.

```
nov. 14 13:53:28 librem-francois org.kde.kdenlive.desktop[4086]: update lambda 262 QVariant(QVariantList, (QVariant(QVariantList, (QVariant(QVariantList, (QVariant(double, 0.428053), QVariant(double, 0.555625))), QVariant(QVariantList, (QVariant(double, 0.39769), QVariant(double, 0.6125))), QVariant(QVariantList, (QVariant(double, 0.385809), QVariant(double, 0.573125))))), QVariant(QVariantList, (QVariant(QVariantList, (QVariant(double, 0.350165), QVariant(double, 0.455))), QVariant(QVariantList, (QVariant(double, 0.338284), QVariant(double, 0.415625))), QVariant(QVariantList, (QVariant(double, 0.367327), QVariant(double, 0.375625))))), QVariant(QVariantList, (QVariant(QVariantList, (QVariant(double, 0.454455), QVariant(double, 0.255625))), QVariant(QVariantList, (QVariant(double, 0.483498), QVariant(double, 0.215625))), QVariant(QVariantList, (QVariant(double, 0.4967), QVariant(double, 0.238125))))), QVariant(QVariantList, (QVariant(QVariantList, (QVariant(double, 0.536304), QVariant(double, 0.305625))), QVariant(QVariantList, (QVariant(double, 0.549505), QVariant(double, 0.328125))), QVariant(QVariantList, (QVariant(double, 0.519142), QVariant(double, 0.385))))))) true
nov. 14 13:53:28 librem-francois org.kde.kdenlive.desktop[4086]: // DATA WAS ALREADY PARSED, ABORTING REFRESH
nov. 14 13:53:28 librem-francois org.kde.kdenlive.desktop[4086]:  = = SET EFFECT PARAM:  "spline"  =  {
nov. 14 13:53:28 librem-francois org.kde.kdenlive.desktop[4086]:     "000": [
nov. 14 13:53:28 librem-francois org.kde.kdenlive.desktop[4086]:         [
nov. 14 13:53:28 librem-francois org.kde.kdenlive.desktop[4086]:             [
nov. 14 13:53:28 librem-francois org.kde.kdenlive.desktop[4086]:                 0.428052805280528,
nov. 14 13:53:28 librem-francois org.kde.kdenlive.desktop[4086]:                 0.555625
nov. 14 13:53:28 librem-francois org.kde.kdenlive.desktop[4086]:             ],
nov. 14 13:53:28 librem-francois org.kde.kdenlive.desktop[4086]:             [
nov. 14 13:53:28 librem-francois org.kde.kdenlive.desktop[4086]:                 0.3976897689768977,
nov. 14 13:53:28 librem-francois org.kde.kdenlive.desktop[4086]:                 0.6125
nov. 14 13:53:28 librem-francois org.kde.kdenlive.desktop[4086]:             ],
nov. 14 13:53:28 librem-francois org.kde.kdenlive.desktop[4086]:             [
nov. 14 13:53:28 librem-francois org.kde.kdenlive.desktop[4086]:                 0.3858085808580858,
nov. 14 13:53:28 librem-francois org.kde.kdenlive.desktop[4086]:                 0.573125
nov. 14 13:53:28 librem-francois org.kde.kdenlive.desktop[4086]:             ]
nov. 14 13:53:28 librem-francois org.kde.kdenlive.desktop[4086]:         ],
nov. 14 13:53:28 librem-francois org.kde.kdenlive.desktop[4086]:         [
nov. 14 13:53:28 librem-francois org.kde.kdenlive.desktop[4086]:             [
nov. 14 13:53:28 librem-francois org.kde.kdenlive.desktop[4086]:                 0.35016501650165016,
nov. 14 13:53:28 librem-francois org.kde.kdenlive.desktop[4086]:                 0.45499999999999996
nov. 14 13:53:28 librem-francois org.kde.kdenlive.desktop[4086]:             ],
nov. 14 13:53:28 librem-francois org.kde.kdenlive.desktop[4086]:             [
nov. 14 13:53:28 librem-francois org.kde.kdenlive.desktop[4086]:                 0.33828382838283827,
nov. 14 13:53:28 librem-francois org.kde.kdenlive.desktop[4086]:                 0.415625
nov. 14 13:53:28 librem-francois org.kde.kdenlive.desktop[4086]:             ],
nov. 14 13:53:28 librem-francois org.kde.kdenlive.desktop[4086]:             [
nov. 14 13:53:28 librem-francois org.kde.kdenlive.desktop[4086]:                 0.3673267326732673,
nov. 14 13:53:28 librem-francois org.kde.kdenlive.desktop[4086]:                 0.375625
nov. 14 13:53:28 librem-francois org.kde.kdenlive.desktop[4086]:             ]
nov. 14 13:53:28 librem-francois org.kde.kdenlive.desktop[4086]:         ],
nov. 14 13:53:28 librem-francois org.kde.kdenlive.desktop[4086]:         [
nov. 14 13:53:28 librem-francois org.kde.kdenlive.desktop[4086]:             [
nov. 14 13:53:28 librem-francois org.kde.kdenlive.desktop[4086]:                 0.45445544554455447,
nov. 14 13:53:28 librem-francois org.kde.kdenlive.desktop[4086]:                 0.255625
nov. 14 13:53:28 librem-francois org.kde.kdenlive.desktop[4086]:             ],
nov. 14 13:53:28 librem-francois org.kde.kdenlive.desktop[4086]:             [
nov. 14 13:53:28 librem-francois org.kde.kdenlive.desktop[4086]:                 0.4834983498349835,
nov. 14 13:53:28 librem-francois org.kde.kdenlive.desktop[4086]:                 0.215625
nov. 14 13:53:28 librem-francois org.kde.kdenlive.desktop[4086]:             ],
nov. 14 13:53:28 librem-francois org.kde.kdenlive.desktop[4086]:             [
nov. 14 13:53:28 librem-francois org.kde.kdenlive.desktop[4086]:                 0.4966996699669967,
nov. 14 13:53:28 librem-francois org.kde.kdenlive.desktop[4086]:                 0.238125
nov. 14 13:53:28 librem-francois org.kde.kdenlive.desktop[4086]:             ]
nov. 14 13:53:28 librem-francois org.kde.kdenlive.desktop[4086]:         ],
nov. 14 13:53:28 librem-francois org.kde.kdenlive.desktop[4086]:         [
nov. 14 13:53:28 librem-francois org.kde.kdenlive.desktop[4086]:             [
nov. 14 13:53:28 librem-francois org.kde.kdenlive.desktop[4086]:                 0.5363036303630363,
nov. 14 13:53:28 librem-francois org.kde.kdenlive.desktop[4086]:                 0.305625
nov. 14 13:53:28 librem-francois org.kde.kdenlive.desktop[4086]:             ],
nov. 14 13:53:28 librem-francois org.kde.kdenlive.desktop[4086]:             [
nov. 14 13:53:28 librem-francois org.kde.kdenlive.desktop[4086]:                 0.5495049504950495,
nov. 14 13:53:28 librem-francois org.kde.kdenlive.desktop[4086]:                 0.328125
nov. 14 13:53:28 librem-francois org.kde.kdenlive.desktop[4086]:             ],
nov. 14 13:53:28 librem-francois org.kde.kdenlive.desktop[4086]:             [
nov. 14 13:53:28 librem-francois org.kde.kdenlive.desktop[4086]:                 0.5191419141914192,
nov. 14 13:53:28 librem-francois org.kde.kdenlive.desktop[4086]:                 0.385
nov. 14 13:53:28 librem-francois org.kde.kdenlive.desktop[4086]:             ]
nov. 14 13:53:28 librem-francois org.kde.kdenlive.desktop[4086]:         ]
nov. 14 13:53:28 librem-francois org.kde.kdenlive.desktop[4086]:     ],
nov. 14 13:53:28 librem-francois org.kde.kdenlive.desktop[4086]:     "262": [
nov. 14 13:53:28 librem-francois org.kde.kdenlive.desktop[4086]:         [
nov. 14 13:53:28 librem-francois org.kde.kdenlive.desktop[4086]:             [
nov. 14 13:53:28 librem-francois org.kde.kdenlive.desktop[4086]:                 0.428052805280528,
nov. 14 13:53:28 librem-francois org.kde.kdenlive.desktop[4086]:                 0.555625
nov. 14 13:53:28 librem-francois org.kde.kdenlive.desktop[4086]:             ],
nov. 14 13:53:28 librem-francois org.kde.kdenlive.desktop[4086]:             [
nov. 14 13:53:28 librem-francois org.kde.kdenlive.desktop[4086]:                 0.3976897689768977,
nov. 14 13:53:28 librem-francois org.kde.kdenlive.desktop[4086]:                 0.6125
nov. 14 13:53:28 librem-francois org.kde.kdenlive.desktop[4086]:             ],
nov. 14 13:53:28 librem-francois org.kde.kdenlive.desktop[4086]:             [
nov. 14 13:53:28 librem-francois org.kde.kdenlive.desktop[4086]:                 0.3858085808580858,
nov. 14 13:53:28 librem-francois org.kde.kdenlive.desktop[4086]:                 0.573125
nov. 14 13:53:28 librem-francois org.kde.kdenlive.desktop[4086]:             ]
nov. 14 13:53:28 librem-francois org.kde.kdenlive.desktop[4086]:         ],
nov. 14 13:53:28 librem-francois org.kde.kdenlive.desktop[4086]:         [
nov. 14 13:53:28 librem-francois org.kde.kdenlive.desktop[4086]:             [
nov. 14 13:53:28 librem-francois org.kde.kdenlive.desktop[4086]:                 0.35016501650165016,
nov. 14 13:53:28 librem-francois org.kde.kdenlive.desktop[4086]:                 0.45499999999999996
nov. 14 13:53:28 librem-francois org.kde.kdenlive.desktop[4086]:             ],
nov. 14 13:53:28 librem-francois org.kde.kdenlive.desktop[4086]:             [
nov. 14 13:53:28 librem-francois org.kde.kdenlive.desktop[4086]:                 0.33828382838283827,
nov. 14 13:53:28 librem-francois org.kde.kdenlive.desktop[4086]:                 0.415625
nov. 14 13:53:28 librem-francois org.kde.kdenlive.desktop[4086]:             ],
nov. 14 13:53:28 librem-francois org.kde.kdenlive.desktop[4086]:             [
nov. 14 13:53:28 librem-francois org.kde.kdenlive.desktop[4086]:                 0.3673267326732673,
nov. 14 13:53:28 librem-francois org.kde.kdenlive.desktop[4086]:                 0.375625
nov. 14 13:53:28 librem-francois org.kde.kdenlive.desktop[4086]:             ]
nov. 14 13:53:28 librem-francois org.kde.kdenlive.desktop[4086]:         ],
nov. 14 13:53:28 librem-francois org.kde.kdenlive.desktop[4086]:         [
nov. 14 13:53:28 librem-francois org.kde.kdenlive.desktop[4086]:             [
nov. 14 13:53:28 librem-francois org.kde.kdenlive.desktop[4086]:                 0.45445544554455447,
nov. 14 13:53:28 librem-francois org.kde.kdenlive.desktop[4086]:                 0.255625
nov. 14 13:53:28 librem-francois org.kde.kdenlive.desktop[4086]:             ],
nov. 14 13:53:28 librem-francois org.kde.kdenlive.desktop[4086]:             [
nov. 14 13:53:28 librem-francois org.kde.kdenlive.desktop[4086]:                 0.4834983498349835,
nov. 14 13:53:28 librem-francois org.kde.kdenlive.desktop[4086]:                 0.215625
nov. 14 13:53:28 librem-francois org.kde.kdenlive.desktop[4086]:             ],
nov. 14 13:53:28 librem-francois org.kde.kdenlive.desktop[4086]:             [
nov. 14 13:53:28 librem-francois org.kde.kdenlive.desktop[4086]:                 0.4966996699669967,
nov. 14 13:53:28 librem-francois org.kde.kdenlive.desktop[4086]:                 0.238125
nov. 14 13:53:28 librem-francois org.kde.kdenlive.desktop[4086]:             ]
nov. 14 13:53:28 librem-francois org.kde.kdenlive.desktop[4086]:         ],
nov. 14 13:53:28 librem-francois org.kde.kdenlive.desktop[4086]:         [
nov. 14 13:53:28 librem-francois org.kde.kdenlive.desktop[4086]:             [
nov. 14 13:53:28 librem-francois org.kde.kdenlive.desktop[4086]:                 0.5363036303630363,
nov. 14 13:53:28 librem-francois org.kde.kdenlive.desktop[4086]:                 0.305625
nov. 14 13:53:28 librem-francois org.kde.kdenlive.desktop[4086]:             ],
nov. 14 13:53:28 librem-francois org.kde.kdenlive.desktop[4086]:             [
nov. 14 13:53:28 librem-francois org.kde.kdenlive.desktop[4086]:                 0.5495049504950495,
nov. 14 13:53:28 librem-francois org.kde.kdenlive.desktop[4086]:                 0.328125
nov. 14 13:53:28 librem-francois org.kde.kdenlive.desktop[4086]:             ],
nov. 14 13:53:28 librem-francois org.kde.kdenlive.desktop[4086]:             [
nov. 14 13:53:28 librem-francois org.kde.kdenlive.desktop[4086]:                 0.5191419141914192,
nov. 14 13:53:28 librem-francois org.kde.kdenlive.desktop[4086]:                 0.385
nov. 14 13:53:28 librem-francois org.kde.kdenlive.desktop[4086]:             ]
nov. 14 13:53:28 librem-francois org.kde.kdenlive.desktop[4086]:         ]
nov. 14 13:53:28 librem-francois org.kde.kdenlive.desktop[4086]:     ]
nov. 14 13:53:28 librem-francois org.kde.kdenlive.desktop[4086]: }
nov. 14 13:53:28 librem-francois org.kde.kdenlive.desktop[4086]: qrc:/qml/KeyframeView.qml:101:17: Unable to assign QJSValue to QString
```

EXPECTED RESULT

No log should be generated while using the rotoscoping tool.


SOFTWARE/OS VERSIONS

Linux/GNOME with Kdenlive from Flathub

ADDITIONAL INFORMATION
Comment 1 Julius Künzel 2022-03-20 22:04:56 UTC
Thanks for your report!

I add the reply from Vincent to your message in the kdenlive mailing list here to make sure the info doesn't get lost:

"""
As a workaround run from command line and pipe outputs to null: `kdenlive >& /dev/null`
Also most packages build with option CMAKE_BUILD_TYPE=RelWithDebSymbols which sadly enable developers debug messages supposed to be turned off choosing Release type: if you build from source that should be the option.
On our side removing that log statement in the code should be obvious, we will try to react not too long.
"""