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

Some mp4 files don't play video on macOS 11 (Big Sur) Beta

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: P2
    • Resolution: Cannot Reproduce
    • Affects Version/s: 8u261, openjfx15
    • Fix Version/s: None
    • Component/s: javafx
    • Labels:
    • Environment:

      macOS 11 Beta 5 (20A5354i)

    • Subcomponent:
    • OS:
      os_x

      Description

      To reproduce this, run the HelloMedia program on macOS 11 (Big Sur) as follows:

      $ java -cp apps/toys/Hello/dist/Hello.jar hello.HelloMedia https://download.oracle.com/otndocs/products/javafx/oow2010-2.mp4

      On macOS 10.15 (Catalina) it plays correctly and prints the following information, which comes from a ListChangeListener on the Media "tracks" list:

      Media Track: javafx.scene.media.VideoTrack[ track id = 1, name = Video Track 1, video width = 540, encoding = H264, video height = 208, enabled = true]
      Media Track: javafx.scene.media.AudioTrack[ track id = 2, name = Audio Track 1, encoding = AAC, enabled = true]

      On macOS 11 (Big Sur) Beta the above is not printed, and no video is shown. The audio is played (although without the printout of the AudioTrack from the listener).

      This failure happens on Big Sur even if I download the media locally and play it using a "file:" URL. The oow2010-2.mp4 file doesn't play correctly.

      This might be an Apple bug.


      Other videos play normally on Big Sur, including the following:

      $ java -cp apps/toys/Hello/dist/Hello.jar hello.HelloMedia https://download.oracle.com/otndocs/javafx/JavaRap_ProRes_H264_768kbit_Widescreen.mp4

      On both macOS 10.15 and macOS 11, the video and audio play correctly, and the following is printed:

      Media Track: javafx.scene.media.AudioTrack[ track id = 0, name = audio/mpeg, encoding = AAC, enabled = true]
      Media Track: javafx.scene.media.VideoTrack[ track id = 1, name = video/x-h264, video width = 640, encoding = H264, video height = 360, enabled = true]

        Attachments

          Activity

            People

            Assignee:
            almatvee Alexander Matveev
            Reporter:
            kcr Kevin Rushforth
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved: