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

Application crash during playing H.264/AVC video file through HTTP

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Cannot Reproduce
    • Icon: P4 P4
    • 8
    • 7u25
    • javafx
    • None
    • JRE 1.7.0_25-b17
      Windows 8 Professional x64

      Application crashes when tried to play media from the following source:

      http://212.224.113.223:8086/b3efa7d8-90aa-4018-aa69-24ec5be6d395.mp4

      Google Chrome plays this source without any problems (just copy and paste link to address bar and hit Enter). Also there are no problems when file played as local file.

      MediaView#onError handler catches following exception:

      [error] MediaException: UNKNOWN : [com.sun.media.jfxmediaimpl.platform.gstreamer.GSTMediaPlayer@1b03224] "Error media invalid": "Error media invalid"
      [error] at javafx.scene.media.MediaException.getMediaException(MediaException.java:139)
      [error] at javafx.scene.media.MediaPlayer$_MediaErrorListener.onError(MediaPlayer.java:2490)
      [error] at com.sun.media.jfxmediaimpl.NativeMediaPlayer$EventQueueThread.HandleErrorEvents(NativeMediaPlayer.java:717)
      [error] at com.sun.media.jfxmediaimpl.NativeMediaPlayer$EventQueueThread.run(NativeMediaPlayer.java:451)
      [error] MediaException: UNKNOWN : [com.sun.media.jfxmediaimpl.platform.gstreamer.GSTMediaPlayer@1b03224] "Error media invalid": "Error media invalid"
      [error] at javafx.scene.media.MediaException.getMediaException(MediaException.java:139)
      [error] at javafx.scene.media.MediaPlayer$_MediaErrorListener.onError(MediaPlayer.java:2490)
      [error] at com.sun.media.jfxmediaimpl.NativeMediaPlayer$EventQueueThread.HandleErrorEvents(NativeMediaPlayer.java:717)
      [error] at com.sun.media.jfxmediaimpl.NativeMediaPlayer$EventQueueThread.run(NativeMediaPlayer.java:451)

      I suppose this bug may be in relation to large size of video file. Above sample file is more than 5 Gb and I tried with 3 Gb file with the same result: application crash. But small files (hundreds of megabytes) are played fine.

            almatvee Alexander Matveev
            duke J. Duke
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported: