Bug 433917 - Use nice priority for proxy rendering tasks
Summary: Use nice priority for proxy rendering tasks
Status: RESOLVED FIXED
Alias: None
Product: kdenlive
Classification: Applications
Component: Video Display & Export (show other bugs)
Version: 20.12.2
Platform: Other Linux
: NOR wishlist
Target Milestone: ---
Assignee: erjiang
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2021-03-03 18:33 UTC by Mazin07
Modified: 2022-05-11 15:03 UTC (History)
3 users (show)

See Also:
Latest Commit:
Version Fixed In:
fritzibaby: Brainstorm+


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Mazin07 2021-03-03 18:33:25 UTC
As tested on 20.12.2, Kdenlive starts background rendering jobs for generating proxies at the default priority (0). This can cause noticeable UI latency in the main window, even though it's a background task and the user should be able to work while it's happening.

My suggestion is to run these ffmpeg or other background tasks with niceness 5 and the equivalent on Windows. Or, if desired, make the niceness configurable in Kdenlive settings.
Comment 1 farid 2021-03-04 18:51:28 UTC
We'll look into this...
Comment 2 erjiang 2022-05-03 03:05:24 UTC
A merge request was opened for this feature: https://invent.kde.org/multimedia/kdenlive/-/merge_requests/296
Comment 3 erjiang 2022-05-11 05:56:29 UTC
The previously mentioned patch has been merged.