On Thu, Sep 20, 2012 at 8:48 PM, Brian Matherly <[email protected]> wrote:
>>I am using pango service to overly text on Video.
>
>>Here is my XML
>>
>>
>><mlt>
>>      <tractor id="tractor0">
>>              <multitrack id="multitrack0">
>>
>>
>>        <playlist>
>>            <producer in="100" out="200">
>>              <property name="mlt_service">pango</property>
>>              <property name="resource">+.txt</property>
>>              <property name="family">Padauk</property>
>>              <property name="size">40</property>
>>              <property name="align">0</property>
>>              <property name="text">Welcome to Inwiter</property>
>>            </producer>
>>        </playlist>
>>
>>
>>        <playlist>
>>          <producer id="producer0" in="100" out="200">
>>              <property name="resource">v1.mp4</property>
>>          </producer>
>>          </playlist>
>>  </multitrack>
>>
>>
>>      <transition>
>>          <property name="mlt_service">composite</property>
>>          <property name="a_track">1</property>
>>          <property name="b_track">0</property>
>>         <property name="geometry">120/100:100%/100%</property>
>>      </transition>
>>   </tractor>
>>   </mlt>
>>
>>
>>Question:
>>
>>
>>Can I use " <property name="geometry">120/100:100%/100%</property>" at 
>>producer level.
>>So that I can avoid multiple transitions for every video with unique text 
>>overly.
>>I mean , is there a way to set text position with in the producer tag.
>
>
> I'm not sure that I completely understand your question. But one thing you 
> might consider is using the dynamictext filter rather than the pango 
> producer. The advantage is that you can apply the filter to a single 
> producer, or to an entire playlist. I have attached an XML file that provides 
> an example of using dynamictext to overlay the same text on a playlist of two 
> clips.
>
> ~Brian

In addition, to answer his question, you can attach a filter to a
producer in XML like this:
<producer>
  <property></property>
  ...
  <filter></filter>
</producer>

-- 
+-DRD-+

------------------------------------------------------------------------------
Got visibility?
Most devs has no idea what their production app looks like.
Find out how fast your code is with AppDynamics Lite.
http://ad.doubleclick.net/clk;262219671;13503038;y?
http://info.appdynamics.com/FreeJavaPerformanceDownload.html
_______________________________________________
Mlt-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/mlt-devel

Reply via email to