Skip to content

Improve parallelization of effects rendering on CPU-only (no GPU) systems #1077

@Timwi

Description

@Timwi

I am currently rendering a long video that uses a lot of visual effects such as drop shadows. I created it in kdenlive but I also tried the command line (melt) with equivalent results. I am rendering on a PC with an 8-core CPU but no GPU.

According to Task Manager and Process Hacker, melt is only using 12% CPU, which indicates that it uses only one of my 8 cores, even though the input file specifies threads="8". It should be possible to speed up the process a lot by parallelizing the rendering of visual effects in each frame.

Note that I’m not talking about the video encoding done by ffmpeg. I fully understand that it needs to process the frames in sequential order to encode the video file. I’m talking about the visual effects rendering melt does before it sends the rendered frames to ffmpeg.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions