Hi Dan,

I am pushing XML to Melted via the PUSH command. That works fine so far!

Now I am trying to add IN and OUT points to that content, which I would
like to do in a way, so these IN and OUTS actually show up, when I do a
"LIST U0".

Below is my XML template and I have tried both, setting TRACTOR_IN and
TRACTOR_OUT to the values I want and PRODUCER_IN, PRODUCER_OUT to an empty
string and the other way around.

Both did not have any effect at all. The clips would still show up with
full length and absolute IN and OUT points. What am I doing wrong?

<?xml version="1.0" ?>
<mlt id="ID" title="TITLE">
  <tractor id="tractor-id-uuid" title="tractor-title-uuid" in="TRACTOR_IN"
out="TRACTOR_OUT">
    <multitrack>
      <producer id="producer0" in="PRODUCER_IN" out="PRODUCER_OUT">
        <property name="resource">FILENAME</property>
        <filter id="filter0">
          <property name="resource">CORNERBUG</property>
          <property name="mlt_type">filter</property>
          <property name="mlt_service">watermark</property>
        </filter>
      </producer>
    </multitrack>
  </tractor>
</mlt>

I know, I could just use SIN and SOUT on the clips index in the playlist
after adding it, but I would like to avoid messing with clips, I have
already added. As several services run APND/PUSH, CLEAN and WIPE actions at
the same time, there is no reliable way to assure, that the SIN/SOUT
actions are applied to the correct playlist item. The item might shift in
between the action to determine the correct index value and the actual
SIN/SOUT command execution.

It would be a lot easier, if each item would by default have a UUID (issued
automatically or assigned by me) and I could address these items
accordingly. I am circumventing this partly, as you can see in my xml
template, but that does not help me in that particular case.

Anyhow, if I would have a way to add IN OUT via my PUSH command, I could
avoid this trouble altogether.

My best regards,
Markus
------------------------------------------------------------------------------
Learn Graph Databases - Download FREE O'Reilly Book
"Graph Databases" is the definitive new guide to graph databases and their
applications. Written by three acclaimed leaders in the field,
this first edition is now available. Download your free book today!
http://p.sf.net/sfu/13534_NeoTech
_______________________________________________
Mlt-devel mailing list
Mlt-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/mlt-devel

Reply via email to