Melt autoprofile sounds like something that manipulates consumer in application 
layer, independently
of its internal mechanics. This raises new question - I noticed in get_image(), 
that the width and height returned
may not be the same as the width and height requested by consumer (these are 
[in,out] parameters). So what are the producers and consumers
responsibilities when it comes to that? Are there any? I mean, I can imagine a 
scenario where producer cannot produce
image of given width and size and returns slightly different image. What should 
the consumer do in that case? Or maybe
I should guarantee that producer always produces requested frames?

------
Best,
Paweł


> Wiadomość napisana przez Christophe Thommeret <hf...@free.fr> w dniu 
> 08.06.2016, o godz. 22:35:
> 
> Le 08/06/2016 22:20, Paweł Goliński a écrit :
>> Hello all,
>> 
>> As this is my first mail, I’ll do a short introduction. My name is Pawel 
>> Golinski and I’m one of the
>> students involved in VLMC development as part of GSoC 2016. My current 
>> objective is to implement
>> a libvlc producer and it requires a through understanding of MLT internals. 
>> The documentation and framework
>> are great, but as these are my first steps, I’m having problems with the 
>> simplest things…
>> 
>> My current problem is that I would like somehow to control consumer’s width 
>> and height from my producer.
>> I’ve noticed that this is somehow being done by the avformat producer, which 
>> somehow tells sdl consumer
>> to resize its window to match the video size. My first guess was, that it 
>> could be done through width and height
>> pointers passed to get_image() function of mlt_frame, but changing these 
>> don’t cause sdl to resize itself - my
>> testing ground is color producer - I’m changing *width and *height to some 
>> random values at the beginning of
>> the function, but this doesn’t cause sdl to resize itself. I’ve also 
>> searched in some other places, but to no avail.
>> 
>> So, is there a simple explanation of how avformat is doing its magic? To be 
>> more exact, why calling
>> melt avformat:file causes sdl window to be the same size, as the video file 
>> is pointing to?
> 
> Could it be melt autoprofile ?
> 
>>  I suppose it
>> cannot be through profile mechanism, as avformat pretty much uses profile 
>> just to determine fps it has
>> to output (right?). Any hints?
>> 
>> Best regards,
>> Paweł
>> ------------------------------------------------------------------------------
>> What NetFlow Analyzer can do for you? Monitors network bandwidth and traffic
>> patterns at an interface-level. Reveals which users, apps, and protocols are
>> consuming the most bandwidth. Provides multi-vendor support for NetFlow,
>> J-Flow, sFlow and other flows. Make informed decisions using capacity
>> planning reports. https://ad.doubleclick.net/ddm/clk/305295220;132659582;e
>> _______________________________________________
>> Mlt-devel mailing list
>> Mlt-devel@lists.sourceforge.net
>> https://lists.sourceforge.net/lists/listinfo/mlt-devel
> 
> 
> -- 
> Christophe Thommeret
> 
> 
> ------------------------------------------------------------------------------
> What NetFlow Analyzer can do for you? Monitors network bandwidth and traffic
> patterns at an interface-level. Reveals which users, apps, and protocols are 
> consuming the most bandwidth. Provides multi-vendor support for NetFlow, 
> J-Flow, sFlow and other flows. Make informed decisions using capacity 
> planning reports. https://ad.doubleclick.net/ddm/clk/305295220;132659582;e
> _______________________________________________
> Mlt-devel mailing list
> Mlt-devel@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/mlt-devel


------------------------------------------------------------------------------
What NetFlow Analyzer can do for you? Monitors network bandwidth and traffic
patterns at an interface-level. Reveals which users, apps, and protocols are 
consuming the most bandwidth. Provides multi-vendor support for NetFlow, 
J-Flow, sFlow and other flows. Make informed decisions using capacity 
planning reports. https://ad.doubleclick.net/ddm/clk/305295220;132659582;e
_______________________________________________
Mlt-devel mailing list
Mlt-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/mlt-devel

Reply via email to