[FFmpeg-devel] Chromium 110 and ffmpeg 5.1.2

Hendrik Leppkes h.leppkes at gmail.com
Thu Feb 23 02:28:30 EET 2023

On Wed, Feb 22, 2023 at 9:42 PM Drew Abbott <abbotta4 at gmail.com> wrote:
> Hello,
> I am trying to build Chromium 110 with ffmpeg version 5.1.2. One of
> the errors I get while building has to do with the API for accessing
> first_dts. It looks like previously it was just a member of AVStream,
> but now it can only be accessed with av_stream_get_first_dts:
> https://github.com/chromium/chromium/commit/b94755e4633045be96ab5e0bdde0db7e16a804bd
> I can see now first_dts is a member of FFStream, but I don't know how
> to go from an AVStream to an FFStream without using internals of
> libavformat, if that is even possible. How was first_dts accessed in
> 5.1.2 from an AVStream?

Chrome hacks their ffmpeg rather then fixing their code. You can't
build it with anything but their canned version.

- Hendrik

More information about the ffmpeg-devel mailing list