On Sunday 02 September 2012 18:09:46 Dan Dennedy wrote:
> On Sun, Sep 2, 2012 at 12:51 PM, j-b-m <[email protected]> wrote:
> > Hello Dan,
> > 
> > You made a change to the xml producer that causes problems in Kdenlive (
> > for example http://kdenlive.org/mantis/view.php?id=2711 ).
> > 
> > The commit is the following one:
> > https://github.com/mltframework/mlt/commit/89ff4d149a0ac54deab4057178678b6
> > 8bef1e92d
> Do you understand the reason for the change? If you have an xml file
> that contained simply a producer element under the root, then it would
> overwrite the producer's resource property with the filename of the
> xml file, which causes problems for the producer or for
> re-serialization!

I worked around the problem in Kdenlive by using an internally stored url to 
get the resource of an xml producer.

However, I think this issue is also having other side effects when trying to 
include an xml producer in a playlist.

For example:

melt color:red in=0 out=50 -consumer xml:1.mlt

Works fine, will create an xml file with a red clip that can be played through 
melt: melt 1.mlt

Now, trying to use that xml file inside a playlist breaks:

melt 1.mlt -consumer xml:2.mlt

The resulting 2.mlt xml file is corrupted and cannot be played, because the 
producer is:

  <producer id="tractor0" title="color:red" in="0" out="50">
    <property name="mlt_type">producer</property>
    <property name="length">51</property>
    <property name="eof">pause</property>
    <property name="resource">&lt;tractor&gt;</property>
    <property name="mlt_service">xml</property>
    <property name="global_feed">1</property>
    <property name="xml">was here</property>
    <property name="seekable">0</property>
  </producer>

When resource should be "1.mlt", it is now "<tractor>".

regards
jb



------------------------------------------------------------------------------
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and 
threat landscape has changed and how IT managers can respond. Discussions 
will include endpoint security, mobile security and the latest in malware 
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
_______________________________________________
Mlt-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/mlt-devel

Reply via email to