JDK-8091277 : JavaFx MediaPlayer unable to Play 4K ultra HD (3840 x 2160) video file.
  • Type: Enhancement
  • Component: javafx
  • Sub-Component: media
  • Affected Version: 7u55
  • Priority: P4
  • Status: Open
  • Resolution: Unresolved
  • Submitted: 2014-10-27
  • Updated: 2018-09-05
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.
Other
tbdUnresolved
Related Reports
Duplicate :  
Duplicate :  
Relates :  
Relates :  
Relates :  
Description
Hi,

I am using JavaFx to play mp4 file with h.264 format. HD(1920*1080) or SD(720*486) files are playing very well.

But when I trying to play 4K ultra HD (3840 x 2160) video it is not able to play.

please look into this.

I will send the sample media file externally.

Thanks.
Comments
Submitter provided additional information at https://bugs.openjdk.java.net/browse/JDK-8133841
18-08-2015

Based on Alexander's explanation I am retargeting this enhancement request to a future (unspecified) release. Also, it doesn't need deferral so I am removing the keyword.
14-11-2014

We using DirectShow H.264 decoder to decode H.264 video (http://msdn.microsoft.com/en-us/library/dd390679(v=VS.85).aspx). This decoder only supports resolution up-to 1920x1088, so anything larger will not play. It is not a bug, but decoder limitation and nothing can be done about it. However, Windows 8 increase H.264 decoder resolution to 4096x2304 (http://msdn.microsoft.com/en-us/library/dd797815(v=vs.85)). However, it is not DirectShow filter, it is MediaFoundation codec. In order to supported resolution up-to 4096x2304 on Windows 8 we will need to create another GStreamer element which uses MediaFoundation instead of DirectShow. Windows 7 will be limited to 1920x1088. I think more appropriate to make it enhancement or future request then a bug.
13-11-2014

dshowwrapper is unable to decode the stream. It fails in dshowwrapper.cpp:2727 because the amount of small input buffers is to big (>500). Maybe we can fix it by allowing more buffers. Reassigning to Alexander, since he's the Windows expert.
13-11-2014

Not a critical issue. Can be deferred.
13-11-2014

Kirill: Is this a supported media format?
28-10-2014

When I run this using the HelloMedia program, I get the following error reported: >>> MediaView ERR: javafx.scene.media.MediaErrorEvent[source=MediaView@769023[styleClass=media-view]]: source MediaView@769023[styleClass=media-view]; target MediaView@769023[styleClass=media-view]; error MediaException: UNKNOWN : [com.sun.media.jfxmediaimpl.platform.gstreamer.GSTMediaPlayer@101ed18] ERROR_MEDIA_INVALID: ERROR_MEDIA_INVALID
28-10-2014

User supplied test file is here: http://reavers.us.oracle.com/~kirill/RT-39148/GOPR0004.MP4
28-10-2014

This is either a P2 or P3 bug (not P1). Based on the description, it seems like a P3. If it crashes or gets an exception in the renderer that makes the app unusable, then we can raise it back to P2. Please send a pointer to the media file, as it will likely be too big to attach.
27-10-2014