JDK-8181922 : Provide media support for libav version 57
  • Type: Bug
  • Component: javafx
  • Sub-Component: media
  • Affected Version: 8,9
  • Priority: P3
  • Status: Resolved
  • Resolution: Fixed
  • OS: linux_ubuntu
  • CPU: x86_64
  • Submitted: 2017-06-11
  • Updated: 2019-04-05
  • Resolved: 2017-10-04
The Version table provides details related to the release that this issue/RFE will be addressed.

Unresolved : Release in which this issue/RFE will be addressed.
Resolved: Release in which this issue/RFE has been resolved.
Fixed : Release in which this issue/RFE has been fixed. The release containing this fix may be available for download as an Early Access Release or a General Availability Release.

To download the current JDK release, click here.
JDK 10 JDK 8 JDK 9
10Fixed 8u162Fixed 9.0.4Fixed
Related Reports
Relates :  
Relates :  
Relates :  
Description
A DESCRIPTION OF THE REQUEST :
This is a follow-up to JDK-8150503 and an upstream bug report for https://josm.openstreetmap.de/ticket/2089

As per Quality Outreahc, please add josm-found label to this report.

We're using JavaFX Media to play MP3 files. Ubuntu 16.10 and 17.04 use libavcodec 57 (https://packages.ubuntu.com/zesty/libavcodec57).

It appears OpenJFX does not support libav 57 out of the box as we needed to create a symilnk to /usr/lib/x86_64-linux-gnu/libavcodec.so to make the MP3 playback work.

Support for libav 57 should be added.

JUSTIFICATION :
To make OpenJFX able to play MP3 on latest version of Ubuntu.

EXPECTED VERSUS ACTUAL BEHAVIOR :
EXPECTED -
OpenJFX recognizes libavcodec57
ACTUAL -
Package libavcodec57 not recognized

CUSTOMER SUBMITTED WORKAROUND :
create symlink to /usr/lib/x86_64-linux-gnu/libavcodec.so 


Comments
http://hg.openjdk.java.net/openjfx/10-dev/rt/rev/5531fbd393a6
04-10-2017

+1
04-10-2017

Please review the following: http://cr.openjdk.java.net/~almatvee/8181922/webrev.00/ Reviewers: kcr, ddehaven Added support for libav version 57.
04-10-2017

+1
04-10-2017

This needs to be done for JDK 10 and then backported to a JDK 9 and JDK 8 update release.
12-06-2017

Ubuntu 16.10 is a supported platform for JDK9
12-06-2017