Uploaded image for project: 'JDK'
  1. JDK
  2. JDK-8095069

MediaPlayer error playing videos with large resolutions

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: P3
    • Resolution: Duplicate
    • Affects Version/s: 8u5
    • Fix Version/s: None
    • Component/s: javafx
    • Labels:
    • Environment:

      Windows 7 x64 and Windows 8.1 x64

      Description

      There is an error in JavaFX MediaPlayer. When trying to play videos with a resolution greater than 1920x1080px the screen became black and nothing more happend.

      Adding the following error-handling-code:

      mediaPlayer.setOnError(new Runnable) {
           @Override
           public void run() {
                System.out.println(mediaPlayer.getError.getMessage());
                System.out.println(mediaPlayer.getError.getType());
           }
      });

      results in this error:
      [com.sun.media.jfxmediaimpl.platform.gstreamer.GSTMediaPlayer@5482fb8f] ERROR_MEDIA_INVALID: ERROR_MEDIA_INVALID
      UNKNOWN

      The video is encoded with h264 and aac (for audio) and is having a resolution of 1920x1168px. The error occurs with each video with a resolution greater than 1920x1080px. Videos with a resolution of 1920x1080px or smaller are working fine. The playback of all videos is working with VLC-Player.

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              almatvee Alexander Matveev
              Reporter:
              duke J. Duke (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved:
                Imported: