On Sun, Feb 12, 2012 at 1:12 AM, j-b-m <[email protected]> wrote: > On Saturday 11 February 2012 23:09:25 Dan Dennedy wrote: >> On Tue, Feb 7, 2012 at 4:04 PM, Dan Dennedy <[email protected]> wrote: >> > On Tue, Feb 7, 2012 at 2:06 PM, j-b-m <[email protected]> wrote: >> >> 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: >> >> (...) >> >>
>> I have a new idea. In addition to the existing scanf-style heuristic, >> add a new one where you embed the begin value between the % and the >> 'd'. Then, set the begin property, make a new scanf format string >> based on the length of begin, and run the scanf heuristic again. For >> example, foo%01000d.png becomes begin=1000, and filename becomes >> foo%05d.png. Checks for 'i' and 'u' and other relevant characters will >> be supported as well. This is in git now. > Seems like a good idea to me. However we need to keep compatibility with older > project files. Kdenlive currently uses the following pattern: > > foo%.5d.jpg > > So maybe the new format you proposed should have an extra character or > something else to let MLT know that it has to do a 2 step processing.. This should not be necessary because the old mode is tried first and should match old loadable sequences. Also, in the above example processing would stop at the first period, and then a check to ensure the embedded begin value length is greater than 1 will fail. See the git comment if needed and give it a try. -- +-DRD-+ ------------------------------------------------------------------------------ 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
