JDK-8136920 : Provide media support for libav version 55 and 56
  • Type: Enhancement
  • Component: javafx
  • Sub-Component: media
  • Affected Version: 8,9
  • Priority: P2
  • Status: Closed
  • Resolution: Fixed
  • Submitted: 2015-09-22
  • Updated: 2020-01-31
  • Resolved: 2016-02-23
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 9
9Fixed
Related Reports
Blocks :  
Cloners :  
Relates :  
Relates :  
Description
JavaFX media uses libav on Linux. Newer versions of libav are not, in general, backward compatible with previous versions, so we ship stub libraries for each version that we support. In JDK 9 (and 8) we currently ship stub libraries for libav 53 and 54. Now that version 56 is out and is the default as of Ubuntu 14.10 we need to add support for libav 56 and also ship stub libraries for 55 and 56 along with JavaFX in JDK 9.
Comments
Still reproducible, Ubuntu 15.10, amd64, 8u72 with ERROR_MEDIA_AUDIO_FORMAT_UNSUPPORTED RULE "FXMediaTestSuite/mts/java/automated/StateTransitionTestReadyPlayingPaused/StateTransitionTestReadyPlayingPaused_7" ExitCode 1 RULE "FXMediaTestSuite/mts/java/automated/StateTransitionTestReadyPlayingPausedPlaying/StateTransitionTestReadyPlayingPausedPlaying_7" ExitCode 1 RULE "FXMediaTestSuite/mts/java/automated/StateTransitionTestReadyPlayingPausedStopped/StateTransitionTestReadyPlayingPausedStopped_7" ExitCode 1 RULE "FXMediaTestSuite/mts/java/automated/StateTransitionTestReadyPlayingStopped/StateTransitionTestReadyPlayingStopped_7" ExitCode 1 RULE "FXMediaTestSuite/mts/java/automated/StateTransitionTestReadyPlayingStoppedPaused/StateTransitionTestReadyPlayingStoppedPaused_7" ExitCode 1
29-02-2016

Cloned issue is JDK-8150503
24-02-2016

Marking this as "Fix failed". We will need a new bug, cloned from this one, in order to push an updated fix for this.
24-02-2016

This fix was backout with JDK-8150464.
24-02-2016

http://hg.openjdk.java.net/openjfx/9-dev/rt/rev/8beee37346fd
23-02-2016

Approved.
20-02-2016

Looks good to me, although I don't have a system to test it on at the moment. Once you have done enough testing, go ahead and push it to 9-dev. I would like to wait for a week or two before approving the backport for 8u-dev (it will give us a chance to test it in 9 first).
19-02-2016

No need to change https://wiki.openjdk.java.net/display/OpenJFX/Building+OpenJFX. Dev packages are same.
19-02-2016

Please review the following: http://cr.openjdk.java.net/~almatvee/8136920/webrev.9.00/ 8u backport: http://cr.openjdk.java.net/~almatvee/8136920/webrev.8u.00/ In 8u build.gradle uses multiple args() to pass args to makefile. I change it to use only one args() similar to 9. Other changes are same. Reviewers: kcr, stayer Added support for libavcodec55, libavcodec56 and libavcodec-ffmpeg56.
19-02-2016

removed overdue date. Any ideas about new Due Date ?
12-01-2016

Please update: https://wiki.openjdk.java.net/display/OpenJFX/Building+OpenJFX with any changes to Ubuntu packages when you resolve this.
24-11-2015

We will probably need to backport this to 8u.
06-10-2015