Bug 358947 - Git Master 2016-02-03 - > 1 Concurrent processing thread causes issues.
Summary: Git Master 2016-02-03 - > 1 Concurrent processing thread causes issues.
Status: RESOLVED DUPLICATE of bug 401186
Alias: None
Product: kdenlive
Classification: Applications
Component: Rendering & Export (show other bugs)
Version: unspecified
Platform: Arch Linux Linux
: NOR normal
Target Milestone: ---
Assignee: Jean-Baptiste Mardelle
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2016-02-03 12:17 UTC by Evert Vorster
Modified: 2018-12-14 19:21 UTC (History)
1 user (show)

See Also:
Latest Commit:
Version Fixed In:
Sentry Crash Report:
fritzibaby: Brainstorm+


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Evert Vorster 2016-02-03 12:17:48 UTC
A while ago I asked about the possibility of having multiple processing threads. 
Actually using more than one processing thread is causing all sorts of issues, though, as the filter stack seems to be handled in a weird way. 

It would appear that each of the filters is assigned to a CPU, and spits frames out as fast as it can. This causes mayor effects on the video, as the filter stack is applied out of order. Sometimes some of the filters are not applied to the frames at all. 

It may be possible to fix this by assigning a CPU to each frame, and let the filters be applied in the correct order on a frame by frame basis. 
With an increase in CPU "threads" more frames can be read at the same time. 

The output frames can then be stitched back together in a video for rendering, at least. 
Maybe multiple threads should be disabled for the preview window, as each filter is passed into another filter, and thus cannot be sped up by assigning more CPU.

Reproducible: Always

Steps to Reproduce:
1. Set up kdenlive to use multiple processing threads
2. make a project with complicated filter/effect stacks
3. Render

Actual Results:  
Rendered video is randomly weird, as if some of the filters did not apply, or were applied in the wrong order. 

Expected Results:  
Output video to look exactly like video that was rendered with 1 processing thread.
Comment 1 emohr 2018-12-14 19:21:46 UTC
This issue is known. At the moment only 1 processing thread can be used. Dev working on parallel processing feature for render speed improvements.
I clause this thread as a dublicate of 401186

*** This bug has been marked as a duplicate of bug 401186 ***