The XML producer accepts times (for in and out, for example) in the
form 00:00:21.950. I think this is great, because it is independent of
the frame rate.

However, it seems that it is not possible to be fully independent of
frame rate, right now. For example, Shotcut does this:
  <producer id="black" in="00:00:00.000" out="00:00:21.950">
    <property name="length">00:00:21.967</property>
    [...]
  </producer>

The "out" value is "inclusive", while "in" starts at 0. The value of
"out" is the length minus one frame. So, 0.017 is hard coded into the
XML. :-(

Ideally, I would make "out" exclusive. But, of course, this would make
things break. One option would be to have a "out_exclusive"
alternative.

Another option, would be to allow for a +1 or -1 at the end of the
time string. It would indicate + or - one frame. Like this:
  <producer id="black" in="00:00:00.000" out="00:00:21.967-1">
    <property name="length">00:00:21.967</property>
    [...]
  </producer>

Sorry if this has already been discussed... :-)

Is it a good idea? Is it a problem we want to solve?


Cheers,
André Caldas.


_______________________________________________
Mlt-devel mailing list
Mlt-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/mlt-devel

Reply via email to