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]
$ 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]