On Fri, Aug 31, 2012 at 7:41 PM, Niv Sardi <[email protected]> wrote:
>
> Hello hatsch,
>
> 3 years after, and I'm trying to do the exact same thing as you, and,
> running into the exact same issues: I can't find documentation on how to
> use melted for our low-cost 100% FLOSS TV station project. Did you
> manage to get it running ? have you documented your path ? do you have
> any tips on where to go ?
great to see another tv station using MLT for playout. we are up and
running for 2 1/2 years now.
sorry but there is no documentation yet on how we do it, but things
have just changed recently.
we've been using melt called in a loop from a script that played
custom playlists for two years
 now we are using melted which is a much better way to do the playout.

do do that, our webserver (who generates the playlists and holds the
videos) has an MLT XML for every video file
we get that with the XML consumer of melt:
melt Videofile.m4v  -consumer xml:Videofile.mlt root="/storage/archiv"
time_format=smpte

setting the root variable is necessary that the video server is
finding the files on the video server
we use the smpte timeformat so i can later grep the XML and use the
length attribute for things like the logo overlay. (when using frames
for that you need to make sure that the producers and the consumer use
the same framerate)

basically we now have a script that runs a loop that
fetches a playlist (csv file with locations to the XML files )
grep the length
feed the melted playlist:  melt  -profile dv_pal_wide $CLIP
out=$LENGTH -track $LOGOFILE out=$LENGTH length=$LENGTH -transition
composite:0,0:100%x100%:100 out=$LENGTH -consumer
mvcp:$MELTED_HOSTNAME (this command apends the clip with the logofile
which is a transarent png with 1024x576 overlayed on top)
sleep the length of the playlist (actually a little bit less)

>
> We've been playing a bit with melted, seen rugen (bitrotten), looked
rugen does what it says it does.
> into writting our own playout server with libvlc, gstreamer or libmlt,
> but it all seems an awful lot of work.
>
> Our main problematic (Or maybe lack of comprehension ?) is how to
> integrate char generation into a melted workflow. We can easily see how
> to make a playlist and comand it using MVCP… but can not find any doc on
> the 'XML authoring' part.
as you can see in the examples above, you can use melt to output XML
and you can even use it to add manipulated  clip to melted.
there is a demo directory in the mlt sources with great examples!
or as dan already said. using a gui like kdenlive and study it's
output is also a great learning ressource.
>
> Any help would be (greatly) appreciated,
> CHeers,
> --
> Niv Sardi
> /*
>  * Free Software hacker & hacktivist
>  */

------------------------------------------------------------------------------
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and 
threat landscape has changed and how IT managers can respond. Discussions 
will include endpoint security, mobile security and the latest in malware 
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
_______________________________________________
Mlt-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/mlt-devel

Reply via email to