Hello.

Trying to improve image sequence support in Kdenlive, I discovered that MLT 
cannot currently load a sequence with files like this:


image205.jpg
image206.jpg
image207.jpg
(...)

If we pass "image%.3d.jpg" as resource, MLT will look for:

image001.jpg, image002.jpg, etc until a max of 100 is reached. The QImage / 
Pixbuf code shows that a "begin" property should allow to set a start number 
for the sequence, for example:

melt image%.3d.jpg begin=205

However, it does not work since the filename parsing routine is called from 
producer_init, so the properties are not yet available to the producer and 
whatever value we assign to "begin" will not be used.

I have a patch to achieve what I want using that syntax:

melt image%.3d.jpg?205

The number after the '?' is the first frame of the sequence. However with that 
syntax the resource is not correctly identified as an image and by default is 
sent to the avformat producer. So we need to manually set the producer to 
qimage or pixbuf, which is not ideal...

Do you have any idea how this could be implemented in a better way? Or should 
I leave it like this and send the patch?

Thanks & 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

Reply via email to