So if I were to make the background playlist something like this: <playlist id="playlist_background" eof="loop"> <entry producer="producer_background"/> <entry producer="producer_background"/> <entry producer="producer_background"/> </playlist>
… is there any performance problem with doing it that way? It’s easy to compute the length of the background and the foreground, so I can just have as many entries as it takes to ensure the former is longer than the latter. ---------- 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> > On Oct 21, 2015, at 16:55, Dan Dennedy <d...@dennedy.org> wrote: > > What you are trying to do - loop this until that - does not really work, > incomplete implementation. Ask you can really do in your example is loop the > tractor indefinitely. For the other parts you will need to compute times and > possibly repeatedly place clips that have a natural duration. > > > On Wed, Oct 21, 2015, 6:59 PM jeffrey k eliasen <j...@jke.net > <mailto:j...@jke.net>> wrote: > 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 <mailto:Mlt-devel@lists.sourceforge.net> > https://lists.sourceforge.net/lists/listinfo/mlt-devel > <https://lists.sourceforge.net/lists/listinfo/mlt-devel>
------------------------------------------------------------------------------
_______________________________________________ Mlt-devel mailing list Mlt-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/mlt-devel