> > > In addition to the 'different MediaCodec backends support
> > > different pixel format' issue, another concern of this method is
> > > that
> > > it's not
> > > determinate, it can give different results at different
> > > time/condition.
> > >
> > > MediaCodec can fail for all kinds of reas
> From: ffmpeg-devel On Behalf Of Tomas Härdin
> Sent: 2023年1月7日 2:22
> To: FFmpeg development discussions and patches
> Subject: Re: [FFmpeg-devel] [PATCH 1/2] lavc/mediacodecenc: Probe supported
> pixel formats
>
> lör 2023-01-07 klockan 02:03 +0800 skrev Zhao Zhili:
&
lör 2023-01-07 klockan 02:03 +0800 skrev Zhao Zhili:
> On Fri, 2023-01-06 at 16:42 +0100, Tomas Härdin wrote:
>
> > + if (!(format = ff_AMediaFormat_new(use_ndk_codec))) {
> > + av_log(NULL, AV_LOG_ERROR, "Failed to create media
> > format\n");
> > + ff_AMe
On Fri, 2023-01-06 at 16:42 +0100, Tomas Härdin wrote:
> For each entry in color_formats[] an encoder is configured and opened.
> If this succeeds then the corresponding pixel format is added to
> probed_pix_fmts[].
>
> This patch has been released by Epic Games' legal department.
> ---
> liba
From eb6d090967b8ed7ea0ee0651a1f557633fa23517 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Tomas=20H=C3=A4rdin?=
Date: Thu, 22 Dec 2022 13:29:58 +0100
Subject: [PATCH 1/2] lavc/mediacodecenc: Probe supported pixel formats
For each entry in color_formats[] an encoder is configured and opened.
If this