JDK-8095049 : JavaFX2 media doesn't support Ubuntu 14.10 and later
  • Type: Bug
  • Component: javafx
  • Sub-Component: media
  • Affected Version: 7u79
  • Priority: P3
  • Status: Resolved
  • Resolution: Won't Fix
  • Submitted: 2015-03-20
  • Updated: 2016-09-16
  • Resolved: 2015-03-20
Related Reports
Relates :  
Description
Ubuntu 14.10 doesn't provide libavcodec52 and libavformat52, so javafx from jdk7 can't play most of the media. 
When trying to play media file, an exception is thrown: 
Debug (0:00:00:064): Initializing GSTPlatform
Debug (0:00:00:110): CLocator::CLocator()
Debug (0:00:00:111): CLocatorStream::CLocatorStream()
Error (0:00:00:113): "Error media audio format unsupported"
Exception in thread "Thread-3" com.sun.media.jfxmedia.MediaException: "Error media audio format unsupported"
        at com.sun.media.jfxmediaimpl.MediaUtils.nativeError(MediaUtils.java:331)
        at com.sun.media.jfxmediaimpl.platform.gstreamer.GSTMedia.init(GSTMedia.java:50)
        at com.sun.media.jfxmediaimpl.platform.gstreamer.GSTMedia.<init>(GSTMedia.java:33)
        at com.sun.media.jfxmediaimpl.platform.gstreamer.GSTMediaPlayer.<init>(GSTMediaPlayer.java:39)
        at com.sun.media.jfxmediaimpl.platform.gstreamer.GSTPlatform.prerollMediaPlayer(GSTPlatform.java:100)
        at com.sun.media.jfxmediaimpl.platform.PlatformManager.createMediaPlayer(PlatformManager.java:173)
        at com.sun.media.jfxmediaimpl.NativeMediaManager.getPlayer(NativeMediaManager.java:264)
        at com.sun.media.jfxmedia.MediaManager.getPlayer(MediaManager.java:139)
        at mts.java.AbstractTest.createPlayer(AbstractTest.java:487)
        at mts.java.AbstractTest.createReadyPlayer(AbstractTest.java:494)
        at com.sun.media.jfxmedia.MediaManagerTestGetAllMediaPlayers$1.run(MediaManagerTestGetAllMediaPlayers.java:29)
        at java.lang.Thread.run(Thread.java:745)


Workaround: it is possible to download and install this packages from repositories for older Ubuntu releases.

Comments
I agree with Kirill. The development team will not do this work, and wth the last public release of JDK 7 next month, it is very unlikely that sustaining would consider doing this.
20-03-2015

It will never do. Ubuntu 14.10 is not in the list of supported platforms for fx 2
20-03-2015