RFR: 8338701: Provide media support for libavcodec version 61
Joeri Sykora
sykora at openjdk.org
Fri Aug 30 12:13:22 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.
Everything went fine with the builds.
-------------
Marked as reviewed by sykora (Author).
PR Review: https://git.openjdk.org/jfx/pull/1552#pullrequestreview-2272100416
More information about the openjfx-dev
mailing list