Tried with your options as suggested. While this gives an overall much better CPU usage (42% instead of 18%) during playback, the steep slowdown is still present. During the slowdown CPU usage drops significantly down to 16%. After the critical section, speed is back to normal with CPU usage again of 42%.

On another note, I got a double free or corruption when trying to seek forward using "l".

Best regards,
Harald

Am 30.04.2016 um 18:47 schrieb Dan Dennedy:

You must set real_time on the consumer to enable frame threading. Try running melt ... -consumer sdl real_time=3


On Sat, Apr 30, 2016, 9:02 AM Harald Albrecht <harald.albre...@gmx.net <mailto:harald.albre...@gmx.net>> wrote:

    Dan,

    thank you very much for your quick reply!


    affine is rather slow, but it does support frame-threading if you
    enable that.
    I've noticed that, but for me it's still good enough; it's an old
    habit to use it instead of where a composite would be sufficient
    too. But this is an optimization I can stick to in all the
    projects to come.

    My problem here is different as there is a steep degradation
    exactly at a certain number of clips composited simultaneously.

    First, see if playing the project with melt outside of Kdenlive
    exhibits the same problem.
    Playing the Kdenlive project with melt shows exactly the same
    slowdown.

    Next, set environment variable MLT_AVFORMAT_PRODUCER_CACHE=10 to
    see if that helps with either/both melt or kdenlive.
    I first did an "export MLT_AVFORMAT_PRODUCER_CACHE=10", then run
    melt again with my Kdenlive project: same slowdown (meltdown?)
    when reaching the "critical" section with a certain number of
    clips simultaneously composed.

    CPU load still is only at max of 18% for my core i7, before and
    during this critical section.

    Any ideas?


------------------------------------------------------------------------------
Find and fix application performance issues faster with Applications Manager
Applications Manager provides deep performance insights into multiple tiers of
your business applications. It resolves application problems quickly and
reduces your MTTR. Get your free trial!
https://ad.doubleclick.net/ddm/clk/302982198;130105516;z
_______________________________________________
Mlt-devel mailing list
Mlt-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/mlt-devel

Reply via email to