Bug 432365

Summary: Proxy Clips Concurrent Thread limit doesn't work?
Product: [Applications] kdenlive Reporter: Connor <billy>
Component: Rendering & ExportAssignee: Jean-Baptiste Mardelle <jb>
Status: RESOLVED FIXED    
Severity: normal CC: julius.kuenzel, vpinon
Priority: NOR    
Version First Reported In: unspecified   
Target Milestone: ---   
Platform: Ubuntu   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:
Attachments: Error
Thread limit in Enironment

Description Connor 2021-01-31 21:44:07 UTC
Created attachment 135337 [details]
Error

When using proxy clips, my GPU is limited to 3 encoders.  I set the proxy concurrent thread limit to 1 and it still tries to run multiple proxy threads resulting in attached error.  I have to cancel the job, and do proxy on individual clips.
Comment 1 Connor 2021-01-31 21:44:50 UTC
Created attachment 135338 [details]
Thread limit in Enironment
Comment 2 Vincent PINON 2021-02-04 08:52:28 UTC
Yes, we must control the ThreadPool count
Comment 3 Julius Künzel 2021-04-23 19:13:12 UTC

*** This bug has been marked as a duplicate of bug 423028 ***
Comment 4 Jean-Baptiste Mardelle 2021-07-08 09:44:35 UTC
Git commit 759ca9bbd2d1cad534ed0853703d6d2704830bab by Jean-Baptiste Mardelle.
Committed on 08/07/2021 at 09:44.
Pushed by mardelle into branch 'master'.

Dynamically update max number of concurrent proxy/transcode jobs, don't show error message on job abort

M  +7    -0    src/dialogs/kdenlivesettingsdialog.cpp
M  +0    -2    src/jobs/cliploadtask.cpp
M  +3    -1    src/jobs/proxytask.cpp
M  +5    -1    src/jobs/taskmanager.cpp
M  +3    -0    src/jobs/taskmanager.h
M  +4    -2    src/jobs/transcodetask.cpp

https://invent.kde.org/multimedia/kdenlive/commit/759ca9bbd2d1cad534ed0853703d6d2704830bab