Re: [Mlt-devel] Strange performance issue with multi-"track" compositing

2017-01-22 Thread Dan Dennedy
Sure. This was an ugly area in the framework that had been bothering me a little for a while, and the issue you reported happened to nudge me into seeing a good resolution. On Sun, Jan 22, 2017 at 11:12 AM Harald Albrecht wrote: > Hi Dan, > > your update trickled down to the Kdenlive master ppa

Re: [Mlt-devel] Strange performance issue with multi-"track" compositing

2017-01-22 Thread Harald Albrecht
Hi Dan, your update trickled down to the Kdenlive master ppa, so I gave it a try on my "monster" project. Kdenlive now works like a charm when scrubbing along the critical parts with 11 tracks full of images which are composited onto each other. Thank you very much again for this quick updat

Re: [Mlt-devel] Strange performance issue with multi-"track" compositing

2017-01-21 Thread Dan Dennedy
I just pushed a commit to increase size of all service caches as number of tracks increase. Maybe you have a way to test it soon. On Sat, Jan 21, 2017 at 11:56 AM Dan Dennedy wrote: > On Sat, Jan 21, 2017 at 11:55 AM Dan Dennedy wrote: > > On Sat, Jan 21, 2017 at 11:40 AM Harald Albrecht > wr

Re: [Mlt-devel] Strange performance issue with multi-"track" compositing

2017-01-21 Thread Dan Dennedy
On Sat, Jan 21, 2017 at 11:55 AM Dan Dennedy wrote: > On Sat, Jan 21, 2017 at 11:40 AM Harald Albrecht > wrote: > > A ... since you've mentioned MLT_AVFORMAT_CACHE, I've searched the > mltframework GitHub repository for queries to getenv() and found > MLT_PIXBUF_PRODUCER_CACHE. Setting this

Re: [Mlt-devel] Strange performance issue with multi-"track" compositing

2017-01-21 Thread Dan Dennedy
On Sat, Jan 21, 2017 at 11:40 AM Harald Albrecht wrote: > A ... since you've mentioned MLT_AVFORMAT_CACHE, I've searched the > mltframework GitHub repository for queries to getenv() and found > MLT_PIXBUF_PRODUCER_CACHE. Setting this to 100 now makes melt play the > project fine. > > So this

Re: [Mlt-devel] Strange performance issue with multi-"track" compositing

2017-01-21 Thread Harald Albrecht
A ... since you've mentioned MLT_AVFORMAT_CACHE, I've searched the mltframework GitHub repository for queries to getenv() and found MLT_PIXBUF_PRODUCER_CACHE. Setting this to 100 now makes melt play the project fine. So this triggers two questions: 1. What are "sensible" values for MLT_PI

Re: [Mlt-devel] Strange performance issue with multi-"track" compositing

2017-01-21 Thread Dan Dennedy
Regression from what version or time frame? Is it really a regression or a long-standing problem? >From the sound of it, the automatic increment of avformat producer cache size might not be working as expected. The automatic part of this is in mlt_multitrack.c: when tracks are added the size is in