https://bugs.kde.org/show_bug.cgi?id=358695

            Bug ID: 358695
           Summary: 15.13 git master: in rendering dialog, allow for both
                    processing and MLT threads
           Product: kdenlive
           Version: unspecified
          Platform: Compiled Sources
                OS: Linux
            Status: UNCONFIRMED
          Severity: normal
          Priority: NOR
         Component: User Interface
          Assignee: j...@kdenlive.org
          Reporter: wegwerf-1-...@gmx.de

Currently, Kdenlive's rendering dialog allows users to control the number of
"processing threads". This setting is related to MLT's "threads" parameter.

On fast multicore systems controlling only MLT's thread parameter leads to less
than stellar MLT performance; this is because only encoding and decoding is
parallized, but MLT's own multi-threading is not utilized. For instance, on a
core i7 with H.264 footage this may use only 25% CPU, peaking sometimes at 30%
(threads=8 real_time=-3).

Dan Dennedy already pointed out in 2014 in this post here that MLT is correctly
working multithreaded, albeit not optimized:
https://forum.kde.org/viewtopic.php?f=265&t=122140#p317318

Now, when adding in the additionally MLT's real_time parameter, I can see a
significantly better CPU utalization: around 50%, peaking in at 75% (threads=8
real_time=-3).

So I would ask to add a further setting to the rendering dialog that allows to
set the number of threads for MLT itself. In a first step, that may be simply a
check box labelled "Enable MLT multi-threading". Alternatively, this could be a
drop-down box allowing only for 1 and 3, corresponding with real_time=-1 and -3
respectively.

Reproducible: Always

-- 
You are receiving this mail because:
You are watching all bug changes.

Reply via email to