On Tuesday 07 February 2012 10:32:24 Dan Dennedy wrote: > On Tue, Feb 7, 2012 at 10:08 AM, j-b-m <[email protected]> wrote: > > Hello. > > > > Trying to improve image sequence support in Kdenlive, I discovered that > > MLT > > cannot currently load a sequence with files like this:
(...) > We could simply increase the hard-coded 100 to something much higher > like INT_MAX. If you can do that and see how long it takes to fail on > an invalid input, that would be great. Of course, it will actually > vary depending on the machine, but just to get an idea... I tried increasing the max limit to INT_MAX but it then takes several minutes on a modern laptop (core I7). Setting a max limit of 1 million, it takes between 1 and 8 seconds to process all possible file names, depending on the computer load. However I was surprised to discover that the image producers are called twice. For example if I try: melt image%d.jpg the pixbuf producer is initialized, then closed and initialized again, which means that the filename processing routine is called twice. Maybe that is necessary for MLT. But worse, when there is no matching filename, it does the following: Create pixbuf producer Create qimage producer Create pixbuf producer Create qimage producer And then it aborts... Seems a bit too much. When a producer returns NULL, I don't see a reason to try it again. regards jb ------------------------------------------------------------------------------ Keep Your Developer Skills Current with LearnDevNow! The most comprehensive online learning library for Microsoft developers is just $99.99! Visual Studio, SharePoint, SQL - plus HTML5, CSS3, MVC3, Metro Style Apps, more. Free future releases when you subscribe now! http://p.sf.net/sfu/learndevnow-d2d _______________________________________________ Mlt-devel mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/mlt-devel
