2

I am trying to render a video project that I created with kdenlive. It is about 50 minutes long and contains a dozen short 1080p video clips and several hundred still images (mostly 18MP). melt runs and proceeds to consume all 4GB of my RAM, at which point it is killed by the kernel.

I have tried both mlt 0.9.0 that came with Ubuntu 14.04, and I have tried the latest version, 0.9.8, that I compiled myself. No difference.

Is this indicative of a problem with melt, or is it just not realistic to render this kind of project with only 4GB of RAM?

jl6
  • 6,110
  • 7
  • 35
  • 65

1 Answers1

2

Do you have 4 GB free RAM before launching melt? I do expect a project of that complexity and resolution to consume near 4 GB. You can readily remove half the project contents and make a test to see how it compares. There is a workaround that requires editing the project XML to set autoclose=1 on the playlists, but that is not set by default since it only works with sequential processing and will break handling in a tool that seeks such as Kdenlive.

Dan Dennedy
  • 446
  • 4
  • 6
  • 1
    Can you advise what part of the XML to modify? I tried adding child elements `1` to playlist elements but I get the "Failed to load" message on the `.mlt` file. Also tried adding this to `producer` elements; same result. – jl6 Aug 08 '15 at 07:36
  • 1
    You did it correctly by adding a property element as a child of the playlist list element. Maybe you made some typo; it works for me. Another way is to add "autoclose=1" as an attribute of the playlist element. Adding it to the producer does nothing. – Dan Dennedy Aug 08 '15 at 15:54
  • 1
    you were right, a thinko on my part. Workaround worked nicely, max memory usage with autoclose was ~2.5GB. Thanks for your help, and for your work on MLT! – jl6 Aug 08 '15 at 20:34