Integrated: 8338701: Provide media support for libavcodec version 61

Alexander Matveev almatvee at openjdk.org
Tue Sep 3 20:16:23 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.

This pull request has now been integrated.

Changeset: 6115b396
Author:    Alexander Matveev <almatvee at openjdk.org>
URL:       https://git.openjdk.org/jfx/commit/6115b396bacf62f39dcaa93c7c0adcd60b428b8c
Stats:     56 lines in 6 files changed: 45 ins; 0 del; 11 mod

8338701: Provide media support for libavcodec version 61

Reviewed-by: sykora, arapte

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

PR: https://git.openjdk.org/jfx/pull/1552


More information about the openjfx-dev mailing list