Re: [Mlt-devel] Pango text positioning
Brought to you by:
ddennedy,
lilo_booter
From: Dan D. <da...@de...> - 2012-09-21 04:24:00
|
On Thu, Sep 20, 2012 at 8:48 PM, Brian Matherly <pez...@ya...> 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-+ |