How to add VP8 codec support back into FFmpeg

In chromium 124, VP8 support was pulled off FFmpeg. This can be seen in ffmpeg/ffmpeg_generated.gni, where in chromium 123 we still have VP8 files such as vp8dsp_init.c, vp8dsp_init_armv6.c, etc, but not in 124.

We can also see for example in 123: ffmpeg/chromium/config/Chromium/mac/arm64/config.h the following #defines:

#define CONFIG_VIDEODSP 1
#define CONFIG_VP3DSP 1
#define CONFIG_VP8DSP 1

However, in 124, the defines above are set to 0.

The ffmpeg_generated.gni is pre-generated and checked into the chromium source code.

How can we get it re-generated in chromium versions 124 and newer to add VP8 support back into FFmpeg?

Thanks in advance for your help!

Read more here: Source link