sharing with list..
---------- Forwarded message ----------
From: Dan Dennedy <[email protected]>
Date: Thu, Sep 27, 2012 at 3:48 PM
Subject: Re: [Mlt-devel] Using multi - Consumer wants a profile
To: Aaron Cruz <[email protected]>
On Thu, Sep 27, 2012 at 12:04 PM, Aaron Cruz <[email protected]> wrote:
> It turns out that the problem was that I wasn't setting rescale to none on
> the consumer. Luckily
I suppose you are using a different profile in the multi-consumer than its
child consumers. This is analogous to letter-boxing by putting a widescreen
movie into 4:3 video. MLT may do that automatically because the default
profile is dv_pal.
> I found a reference to this setting in one of the sample ruby files
> (play.rb).
> The only reference to this attribute that I have found in the
> documentation is on frame and filter. I couldn't find it in any of the
> consumer documentation.
>
Properties and Events are on a different page. I do not know if Doxygen can
let me include them on the class page.
http://mltframework.org/doxygen/properties.html
(get there through top-level Related Pages)
However, the rescale options are really defined per filter that implements
them - e.g. swscale (undocumented!) and gtkscale:
http://mltframework.org/bin/view/MLT/FilterGtkrescale
Except the special value "none" is not documented. Yeah, this part is
poorly documented. I'll make a note of it.
> When I set it on the consumer am I creating a filter? Am I setting a
> property on all frames of the consumer?
>
No, there are automatic normalizing filters defined in
src/modules/core/loader.ini, and "rescale" and "deinterlace_method" on the
consumer are special properties to let you pass options into them.
> --
> Thanks,
> aaron
>
> PS. How do you respond to the list before you receive a response. I would
> have sent something earlier but i didn't know how.
>
Find the mail in your Sent folder.
>
> On Sep 27, 2012, at 8:55 PM, Dan Dennedy wrote:
>
> > On Thu, Sep 27, 2012 at 10:47 AM, Aaron Cruz <[email protected]>
> wrote:
> >> Hi,
> >> I am trying to use the multi consumer type with an external .yml file
> but the Mlt::Consumer (ruby) doesn't accept an id for the first argument.
> >> I can give it a profile instance without any set properties but my
> output is still strange (borders around video, audio mismatch).
> >> I can't figure out which is the correct property to set when I create a
> consumer using Mlt::Consumer.new without any arguments.
> >> What I need is to be able to do something like
> Mlt::Consumer.new("multi:/usr/local/mlt/multi.yml"), my profiles are in the
> yaml file.
> >
> > Does it work without yaml files by using only the properties API as
> > described in the docs for the multi-consumer?
> >
> >> Hopefully this is clear :)
> >> bussi,
> >> aaron
> >>
> ------------------------------------------------------------------------------
> >> Everyone hates slow websites. So do we.
> >> Make your web apps faster with AppDynamics
> >> Download AppDynamics Lite for free today:
> >> http://ad.doubleclick.net/clk;258768047;13503038;j?
> >> http://info.appdynamics.com/FreeJavaPerformanceDownload.html
> >> _______________________________________________
> >> Mlt-devel mailing list
> >> [email protected]
> >> https://lists.sourceforge.net/lists/listinfo/mlt-devel
> >
> >
> >
> > --
> > +-DRD-+
>
>
--
+-DRD-+
--
+-DRD-+
------------------------------------------------------------------------------
Everyone hates slow websites. So do we.
Make your web apps faster with AppDynamics
Download AppDynamics Lite for free today:
http://ad.doubleclick.net/clk;258768047;13503038;j?
http://info.appdynamics.com/FreeJavaPerformanceDownload.html
_______________________________________________
Mlt-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/mlt-devel