On Monday, November 9, 2020, 03:24:43 AM CST, amin...@mailbox.org 
<amin...@mailbox.org> wrote:  
 
 On Sat, Nov 07, 2020 at 03:13:49PM +0000, Brian Matherly wrote:
>  > Thanks.
> > 
> > Is there an easy way to list (or find) which formats are supported --
> > and thus don't require conversions -- for inputs and outputs of
> > filters/transitions?
> > 
> > Tom
> 
> I think the only way would be to audit the source code and see what mlt image 
> format the service requests.
> ~Brian  

Am I (at all) on the right track here?:

Yes!

This code seems to say the avformat producer supports rgba, rgb24, and yuv422p? 
https://github.com/mltframework/mlt/blob/master/src/modules/avformat/producer_avformat.c#L614-L630

This is a better place to look:
https://github.com/mltframework/mlt/blob/master/src/modules/avformat/producer_avformat.c#L1167rgba,
 rgb24, yuv420p, yuyv422

And the avformat consumer supports rgba, rgb24, yuv420p, yuv422p16le, yuyv422? 
https://github.com/mltframework/mlt/blob/master/src/modules/avformat/consumer_avformat.c#L580-L595

Yes

But the vignette filter only supports yuv422? 
https://github.com/mltframework/mlt/blob/master/src/modules/oldfilm/filter_vignette.c#L34

Yes

(And then again, does this imply the avformat consumer is somehow "really" only 
yuv422?:) 
https://github.com/mltframework/mlt/blob/master/src/modules/avformat/consumer_avformat.c#L1514

No. That is a default value that is overridden later in the function.

Thanks!
Tom
  
_______________________________________________
Mlt-devel mailing list
Mlt-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/mlt-devel

Reply via email to