I'm trying to generate an infinitely looping clip to XML from an image or
color, and failing. if no in/out parameters are set, the video defaults to
14999 frames long, and indeed it stops after that long even if eof=loop.
Here's my command line:
$ melt test/images/SMPTE_Color_Bars.png eof=loop -filter
dynamictext:"#timecode#" halign=right bgcolour=#00000000 fgcolour=#ffffffff
olcolour=#000000 outline=2 -consumer sdl
the generated XML (by changing to -consumer xml:bars.xml is this:
<?xml version="1.0" encoding="utf-8"?>
<mlt LC_NUMERIC="en_US.UTF-8" version="0.8.8"
root="/home/lacrymology/workspace/nodejs/inaes/mbc-playout/mosto"
title="SMPTE_Color_Bars.png">
<profile description="DV/DVD PAL" width="720" height="576"
progressive="0" sample_aspect_num="16" sample_aspect_den="15"
display_aspect_num="4" display_aspect_den="3" frame_rate_num="25"
frame_rate_den="1" colorspace="601"/>
<producer id="producer0" in="0" out="14999">
<property name="mlt_type">producer</property>
<property name="length">15000</property>
<property name="eof">loop</property>
<property name="resource">test/images/SMPTE_Color_Bars.png</property>
<property name="ttl">25</property>
<property name="aspect_ratio">1</property>
<property name="progressive">1</property>
<property name="seekable">1</property>
<property name="loop">1</property>
<property name="meta.media.width">672</property>
<property name="meta.media.height">504</property>
<property name="mlt_service">pixbuf</property>
</producer>
<playlist id="playlist0">
<entry producer="producer0" in="0" out="14999"/>
</playlist>
<tractor id="tractor0" title="SMPTE_Color_Bars.png" global_feed="1"
in="0" out="14999">
<track producer="playlist0"/>
<filter id="filter0">
<property name="track">0</property>
<property name="argument">#timecode#</property>
<property name="geometry">0%/0%:100%x100%:100</property>
<property name="family">Sans</property>
<property name="size">48</property>
<property name="weight">400</property>
<property name="fgcolour">#ffffffff</property>
<property name="bgcolour">#00000000</property>
<property name="olcolour">#000000</property>
<property name="pad">0</property>
<property name="halign">right</property>
<property name="valign">top</property>
<property name="outline">2</property>
<property name="mlt_type">filter</property>
<property name="mlt_service">dynamictext</property>
</filter>
</tractor>
</mlt>
--
"The whole of Japan is pure invention. There is no such country, there are
no such people" --Oscar Wilde
|_|0|_|
|_|_|0|
|0|0|0|
(\__/)
(='.'=)This is Bunny. Copy and paste bunny
(")_(") to help him gain world domination.
------------------------------------------------------------------------------
How ServiceNow helps IT people transform IT departments:
1. A cloud service to automate IT design, transition and operations
2. Dashboards that offer high-level views of enterprise services
3. A single system of record for all IT processes
http://p.sf.net/sfu/servicenow-d2d-j
_______________________________________________
Mlt-devel mailing list
Mlt-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/mlt-devel