Kdenlive (Melt, MLT) Performance: Composite vs. Flat Pre-Rendered Images

Background and Foreground Combined

Wondering, whether it would increase rendering performance if I used flat images, rather than combining background and overlay while rendering, I created a test case in the free, open source Kdenlive video editor on my Phenom 9550 2.2 GHz Quadcore machine.

The two test cases use either one pre-rendered jpg image (flat) or one background jpg and one foreground label png with background transparency (composite) to render a 5 seconds 1080p (1920×1080) video.

The results (`time` was used to determine user CPU time):

Flat Composite
Test 1 61s 66s
Test 2 60s 66s
Test 3 60s 66s
Average 60.3s 66s

This means a potential 9-10% speed increase when rendering a 5-second long webm pre-flattening two images on a AMD Phenom 9550 Quad-Core machine.

You can pre-render two images using the command line tool imagemagick with the following command:

convert background.jpg foreground.png -composite flat.jpg
Advertisements
This entry was posted in qubodup and tagged , , . Bookmark the permalink.

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s