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

Full HD video can not be played on standard 1080p screen in portrait mode

    Details

    • Subcomponent:
    • CPU:
      x86_64
    • OS:
      windows

      Backports

        Description

        FULL PRODUCT VERSION :


        ADDITIONAL OS VERSION INFORMATION :
        Windows 7 64

        A DESCRIPTION OF THE PROBLEM :
        Hi, I would like to add a comment to JDK-8091277 which may be helpful (or may spawn different ticket).

        In addiitonal to high resolution videos, there is also a problem with videos which are NOT high resolution total but are just high resolution vertically. For example a vertical video with 1080x1920 will not play and will produce ERROR_MEDIA_INVALID.

        Note this is important issue because vertical full HD video can not be played on standard 1080p screen in portrait mode!


        Another suggestion is to improve media layer error messages to save users and developers time. ERROR_MEDIA_INVALID is returned is such broad range of cases, it is just impossible to know what happened without manually analyzing video file or burning time while debugging native source code.


        STEPS TO FOLLOW TO REPRODUCE THE PROBLEM :
        open 1080x1920 file with MediaPlayer (actually 1080x1100 was sufficient)

        EXPECTED VERSUS ACTUAL BEHAVIOR :
        EXPECTED -
        1080x1920 playing
        ACTUAL -
        UNKNOWN ERROR_MEDIA_INVALID from mediaPlayer.getError()

        [com.sun.media.jfxmediaimpl.platform.gstreamer.GSTMediaPlayer@195bccfc] ERROR_MEDIA_INVALID: ERROR_MEDIA_INVALID
        MediaException: UNKNOWN : [com.sun.media.jfxmediaimpl.platform.gstreamer.GSTMediaPlayer@195bccfc] ERROR_MEDIA_INVALID: ERROR_MEDIA_INVALID
        at javafx.scene.media.MediaException.getMediaException(MediaException.java:160)


        REPRODUCIBILITY :
        This bug can be reproduced always.

          Attachments

            Issue Links

              Activity

                People

                • Assignee:
                  almatvee Alexander Matveev
                  Reporter:
                  webbuggrp Webbug Group
                • Votes:
                  0 Vote for this issue
                  Watchers:
                  8 Start watching this issue

                  Dates

                  • Created:
                    Updated:
                    Resolved: