Bug 445480 - huge logs from the Rotoscoping filter
Summary: huge logs from the Rotoscoping filter
Status: CONFIRMED
Alias: None
Product: kdenlive
Classification: Applications
Component: Video Effects & Transitions (show other bugs)
Version: 21.08.3
Platform: Flatpak Linux
: NOR normal
Target Milestone: ---
Assignee: Vincent PINON
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2021-11-14 13:24 UTC by François
Modified: 2022-03-20 22:04 UTC (History)
1 user (show)

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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.
"""