Bug 411000

Summary: Encoding speed setting does not work
Product: [Applications] kdenlive Reporter: pochini
Component: Rendering & ExportAssignee: Jean-Baptiste Mardelle <jb>
Status: RESOLVED FIXED    
Severity: normal CC: fritzibaby
Priority: NOR Flags: fritzibaby: Brainstorm+
Version First Reported In: 19.04.3   
Target Milestone: ---   
Platform: Gentoo Packages   
OS: Linux   
Latest Commit: Version Fixed/Implemented In:
Sentry Crash Report:

Description pochini 2019-08-16 21:58:54 UTC
Encoding speed setting does not work. The xml file /tmp/kdenlive-XXXXXX.mlt does not have any preset="xyz" property in the <consumer> tag.

I added this in RenderWidget::generateRenderFiles()

myConsumer.setAttribute(QStringLiteral("preset"), "slower");

and it worked, so melt and kdenlive_render are ok.
Comment 1 Jean-Baptiste Mardelle 2019-08-20 07:08:06 UTC
Git commit 6473cee38c4078ef8799ede4e5135ac12a2bad41 by Jean-Baptiste Mardelle.
Committed on 20/08/2019 at 06:58.
Pushed by mardelle into branch 'Applications/19.08'.

Fix encoder speed ignored

M  +11   -0    src/dialogs/renderwidget.cpp

https://invent.kde.org/kde/kdenlive/commit/6473cee38c4078ef8799ede4e5135ac12a2bad41
Comment 2 pochini 2019-08-22 19:17:46 UTC
The patch fixes the problem, thanks.

Out of curiosity, kdenlive 18 didn't set the attribute explicitly, but it worked fine. What am I overlooking?