[libav-devel] [PATCH] filtergraph: Select the best pixel format

Luca Barbato lu_zero at gentoo.org
Mon Aug 10 10:27:46 CEST 2015

On 10/08/15 09:51, wm4 wrote:
> How does this compare to avcodec_find_best_pix_fmt2()?

Thanks for linking it, the main difference is that the different scoring
approach should get you different results:
ranking by bits per pixel gets you in situations in which you pick
the format with less components but higher bitdepth per component.

I'd get this internal check implemented first and then unify it later in
libavutil so it can be used also in that function.


More information about the libav-devel mailing list