RFR: 8273096: Add support for H.265/HEVC to JavaFX Media
Alexander Matveev
almatvee at openjdk.java.net
Thu Oct 21 21:49:17 UTC 2021
- Added support for H.265/HEVC for all 3 platforms.
- Support is added only for .mp4 files over FILE/HTTP/HTTPS protocols. HTTP Live Streaming with H.265/HEVC is not supported.
- On Windows mfwrapper was introduced which uses Media Foundation APIs to decode HEVC.
- 10 and 12-bit HEVC was tested and also supported, however due to graphics pipeline not supporting 10-bit YUV rendering we will use color converter to convert video frame to 8-bit before sending it for rendering.
- Resolution upto 4k is supported.
Additional runtime dependency requirements:
Windows: Windows 10 with HEVC Video Extensions installed.
macOS: macOS High Sierra and later
Linux: at least libavcodec56 and libswscale5
Additional build dependency:
Linux: libswscale-dev
-------------
Commit messages:
- 8273096: Add support for H.265/HEVC to JavaFX Media [v2]
- JDK-8273096: Add support for H.265/HEVC to JavaFX Media
Changes: https://git.openjdk.java.net/jfx/pull/649/files
Webrev: https://webrevs.openjdk.java.net/?repo=jfx&pr=649&range=00
Issue: https://bugs.openjdk.java.net/browse/JDK-8273096
Stats: 2039 lines in 30 files changed: 1916 ins; 28 del; 95 mod
Patch: https://git.openjdk.java.net/jfx/pull/649.diff
Fetch: git fetch https://git.openjdk.java.net/jfx pull/649/head:pull/649
PR: https://git.openjdk.java.net/jfx/pull/649
More information about the openjfx-dev
mailing list