Bug 411000 - Encoding speed setting does not work
Summary: Encoding speed setting does not work
Status: RESOLVED FIXED
Alias: None
Product: kdenlive
Classification: Applications
Component: Rendering & Export (other bugs)
Version First Reported In: 19.04.3
Platform: Gentoo Packages Linux
: NOR normal
Target Milestone: ---
Assignee: Jean-Baptiste Mardelle
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2019-08-16 21:58 UTC by pochini
Modified: 2019-08-22 19:17 UTC (History)
1 user (show)

See Also:
Latest Commit:
Version Fixed/Implemented In:
Sentry Crash Report:
fritzibaby: Brainstorm+


Attachments

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