RFR: 8338701: Provide media support for libavcodec version 61

Kevin Rushforth kcr at openjdk.org
Thu Aug 29 21:50:24 UTC 2024


On Thu, 29 Aug 2024 21:02:41 GMT, Alexander Matveev <almatvee at openjdk.org> wrote:

> - Added support for libavcodec 61.
> - Updated AV plugins to use new APIs instead of APIs which were removed in 61.
> - We still using some deprecated APIs.
> - `reordered_opaque` replacement exist in 61 which is used to pass user data between compressed frame and uncompressed. In 61 this variable is pointer to `void` instead of `int64_t`. We can use new `opaque` to pass PTS, but it is not documented way to pass PTS between compressed and uncompressed frames. Updated code will be using `AVPacket.pts/AVFrame.pts` which is documented way to provide PTS.
> - Tested on Ubuntu 24.10 with 61 and 24.04 with 60 with all supported formats.

Reviewers: @arapte @tiainen

-------------

PR Comment: https://git.openjdk.org/jfx/pull/1552#issuecomment-2319087597


More information about the openjfx-dev mailing list