[FFmpeg-devel] [PATCH 1/7] lavu: add ecinfo sidedata

J. Dekker jdek at itanimul.li
Tue Jul 25 15:05:43 EEST 2023


Hi Devin,

Devin Heitmueller <devin.heitmueller at ltnglobal.com> writes:
> On Fri, Jul 21, 2023 at 9:38 AM J. Dekker <jdek at itanimul.li> wrote:
>
> I appreciate the value of stats so I can tell that the stream had
> errors, but how is this side data "helpful to a renderer attempting to
> filter or conceal video decoding errors and artifacts" if there is no
> information relating to the region of the picture where the errors are
> present?  Is the assumption that an application will simply have some
> threshold at which it decides to duplicate the previous frame rather
> than showing the current one?

Yes, this is primarily the usecase here initially. As some point a
renderer would rather duplicate previous frame than rely on
reconstruction. This could be done within EC itself but letting the
decoder make this choice rather than exporting the information to a
renderer and doing it there seems incorrect to me.

It is the intention to expand the metadata to provide information about
specific regions in the frame in the future but mainly just providing
the framework for providing this sort of information in the first place
at the moment.

-- 
jd


More information about the ffmpeg-devel mailing list