[FFmpeg-devel] [PATCH 4/5] lavfi: drop the requirement that request_frame returns a frame.

Paul B Mahol onemda at gmail.com
Sun Sep 20 21:00:35 CEST 2015


On 9/20/15, Nicolas George <george at nsup.org> wrote:
> Le jour de la Raison, an CCXXIII, Paul B Mahol a écrit :
>> For complex cases one needs to set for which set of input pixel
>> formats output pixel format will be picked from another set, so its
>> M->N mapping, without overlaping.
>
> Yes, but what algorithm do you apply to the mapping afterwards to select
> the
> best combination of formats? And for channel layouts, how do you express
> the
> mapping over a domain with billions of elements?

It should be used only for cases when few channel layouts are used for
input and output.

And it could pick whatever user prefer, for start only first wins
could be used because in normal case only single output format will be
used - M->1 mapping.

>
> Regards,
>
> --
>   Nicolas George
>


More information about the ffmpeg-devel mailing list