In reading the docs and forums, I’m having a hard time understanding how to 
loop a clip.

I have a background, a foreground, and a logo on screen. The background and 
foreground are video. The background is 30 seconds long but should continue to 
play as long as the foreground still has frames. The specific symptom I am 
seeing is that the foreground, which is reduced in size to about 70% of the 
overall video size, suddenly becomes full-screen after the last frame of the 
background. I *believe* this means the background stops instead of looping.

I first started with:

 <producer id="producer_background">
  <property name="mlt_type">producer</property>
  <property name="eof">loop</property>
  <property name="resource”>background.mp4</property>
 </producer>

This didn’t work. Then I saw the conversation at 
https://www.mail-archive.com/mlt-devel@lists.sourceforge.net/msg01933.html 
<https://www.mail-archive.com/mlt-devel@lists.sourceforge.net/msg01933.html> 
and got my hopes up, but I can’t seem to replicate what is there. 

 <producer id="producer_background">
  <property name="mlt_type">producer</property>
  <property name="eof">loop</property>
  <property name="resource”>background.mp4</property>
 </producer>
 <playlist id="playlist_background" eof="loop">
  <entry producer="producer_background"/>
 </playlist>
 <producer id="producer_foreground">
  <property name="mlt_type">producer</property>
  <property name="eof">pause</property>
  <property name="resource”>foreground.mp4</property>
 </producer>
 <producer id="producer_logo">
  <property name="mlt_type">producer</property>
  <property name="resource">logo.png</property>
 </producer>
 <tractor id="tractor">
  <property name="meta.volume">1</property>
  <multitrack>
   <track producer="playlist_background" eof="loop"/>
   <track producer="producer_foreground"/>
   <track producer="producer_logo"/>
  </multitrack>
  <transition in=“0" out=“1000">
   <property name="a_track">0</property>
   <property name="b_track">1</property>
   <property name="mlt_type">transition</property>
   <property name="mlt_service">composite</property>
   <property name="geometry">106/44:71.615%x71.615%</property>
  </transition>
 </tractor id="tractor">

As you can see, I’ve tried putting eof=loop in three different places: as an 
attribute on the background playlist, as an attribute on the track for that 
playlist, and as a property on the producer… none of this seems to work.

Can someone tell me what I’m doing wrong here?

---------- 
jeffrey k eliasen - technologist, philosopher, agent of change
blog <http://jeff.jke.net/> | linkedin 
<http://www.linkedin.com/pub/jeffrey-eliasen/3/a83/b76> | google+ 
<http://plus.google.com/+JeffreyEliasen> | facebook 
<http://facebook.com/jeffrey.eliasen> | twitter 
<http://twitter.com/jeffreyeliasen>
------------------------------------------------------------------------------
_______________________________________________
Mlt-devel mailing list
Mlt-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/mlt-devel

Reply via email to