This forum has been archived. All content is frozen. Please use KDE Discuss instead.

How to use All CPU Core for Rendering in Kdenlive

Tags: None
(comma "," separated)
wernerf
Registered Member
Posts
22
Karma
0
OS
Hi,

what I'm doing wrong or what I can do to use all 4 cores of my CPU during render a video in kdenlive.
I follow the Youtube tutorial https://www.youtube.com/watch?v=PytyNRd5R40 but this solves not
my problem. Still only one CPU is used. It worked with 4 cores a long time ago in older kdenlive version.

CPU: i5-3570K
RAM: 16GB
OS: OpenSuse Leap 15.1
kdenlive Version: 18.12.3

Example:
Code: Select all
RENDERER="/usr/bin/kdenlive_render"
MELT="/usr/bin/melt"
SOURCE_0="file:///media/USB3-Disk/kdenlive/scripts/2019-Frankreich_001.sh.mlt"
TARGET_0="file:///media/USB3-Disk/Videos/2019-Frankreich.mp4"
PARAMETERS_0="-pid:19191 in=0 out=288894 $MELT atsc_1080p_50 avformat - $SOURCE_0 $TARGET_0 properties=x264-medium f=mp4 vcodec=libx264 acodec=aac g=120 crf=24 ab=128k preset=ultrafast threads=4 real_time=-4"
$RENDERER $PARAMETERS_0
wernerf
Registered Member
Posts
22
Karma
0
OS
Solution for me was:
Code: Select all
     taskset --pid --all-tasks --cpu-list 0-3 <pid of kdenlive_render>
     taskset --pid --all-tasks --cpu-list 0-3 <pid of melt>


Bookmarks



Who is online

Registered users: bancha, Bing [Bot], daret, Google [Bot], sandyvee, Sogou [Bot]