On Fri, Nov 25, 2011 at 1:40 PM, Sindre Johansen
<[email protected]> wrote:
> Hello
> First, thank you for this framework. It looks like just what we need to
> stream live video from our BlackMagic Intensity Pro to a wowza flash server.
> The problem is that we would like to stream in a few different qualities,
> and we would also save a version to the harddrive. Using avformat I have
> managed to use both melt and python-mlt to do one stream or to save to
> harddrive, but not multiple streams and file at the same time. So is this
> possible? I see that you are in the process of adding multiple consumers to
> mlt, is this stable enough, is it another way to do this, or is it not
> possible?
Yes, this just became possible in trunk. I have not announced it yet
because I was asking the sponsor of this work whether they wanted to
be part of the announce. Of course, since it is quite a new
capability, stability is unknown, but I am also fairly confident based
on my limited testing. With melt, just use -consumer multiple times,
and you can give each one a different mlt_profile property if you want
to. It will be interesting to hear your results.
In python, you construct a 'multi' consumer with the factory .Then,
for each output, construct a Properties object, and set "mlt_service"
to the name of the service such as "avformat." Set any other
properties as needed. Then, do something like multi.set("0",
avformat0, 0) to set the first output. IOW, the first output is a
properties object that is set as property "0" on the multi consumer,
and so on.
--
+-DRD-+
------------------------------------------------------------------------------
All the data continuously generated in your IT infrastructure
contains a definitive record of customers, application performance,
security threats, fraudulent activity, and more. Splunk takes this
data and makes sense of it. IT sense. And common sense.
http://p.sf.net/sfu/splunk-novd2d
_______________________________________________
Mlt-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/mlt-devel