Discussion:
Support additional video codec and container format
Sverre Moe
2017-09-08 09:05:56 UTC
Permalink
Why is JavaFX not supporting open video container and codec?
From Java 9 VP6 is deprecated.

The only relevant supported coded for JavaFX is H.264/AVC. The only other
alternative is VP6 which has been deprecated in Java 9.

We cannot use H.264 without paying lisence fee for a commercial application.

Support for Ogg Theroa/Vorbis should be considered, at least VP8 and/or VP9
in place for the deprecated VP6. The MediaPlayer for Java 10 has not gotten
any changes either. I reckon it is too late for Java 9 to get new formats.
John-Val Rose
2017-09-08 10:51:06 UTC
Permalink
+1
Post by Sverre Moe
Why is JavaFX not supporting open video container and codec?
From Java 9 VP6 is deprecated.
The only relevant supported coded for JavaFX is H.264/AVC. The only other
alternative is VP6 which has been deprecated in Java 9.
We cannot use H.264 without paying lisence fee for a commercial application.
Support for Ogg Theroa/Vorbis should be considered, at least VP8 and/or VP9
in place for the deprecated VP6. The MediaPlayer for Java 10 has not gotten
any changes either. I reckon it is too late for Java 9 to get new formats.
Sverre Moe
2017-09-10 18:49:56 UTC
Permalink
Some very old issues for this kind of change
https://bugs.openjdk.java.net/browse/JDK-8091063
https://bugs.openjdk.java.net/browse/JDK-8091656

One new comment on the latter issue suggesting to add new formats like
"Ogg/{Vorbis,Theora}, flac, matroska (MKV), Opus, VP8, 3GPP, GSM"

This would be great to have on JavaFX. I seriously hope they would add it
for Java 10 at least, or a later Java 9 update.
Date: Fri, 8 Sep 2017 20:51:06 +1000
Subject: Re: Support additional video codec and container format
Content-Type: text/plain; charset=us-ascii
+1
Post by Sverre Moe
Why is JavaFX not supporting open video container and codec?
From Java 9 VP6 is deprecated.
The only relevant supported coded for JavaFX is H.264/AVC. The only other
alternative is VP6 which has been deprecated in Java 9.
We cannot use H.264 without paying lisence fee for a commercial
application.
Post by Sverre Moe
Support for Ogg Theroa/Vorbis should be considered, at least VP8 and/or
VP9
Post by Sverre Moe
in place for the deprecated VP6. The MediaPlayer for Java 10 has not
gotten
Post by Sverre Moe
any changes either. I reckon it is too late for Java 9 to get new
formats.
Sverre Moe
2018-06-24 14:49:00 UTC
Permalink
I wanted to revive this discussion when I saw Java 9 has gotten
upgraded GStreamer in JEP-257.
Also Java 11 has an upgrade to GStreamer 1.14
https://bugs.openjdk.java.net/browse/JDK-8199527

The formats supported are very few:
https://docs.oracle.com/javase/10/docs/api/javafx/scene/media/package-summary.html

What does it take to implement support for these Video formats?
It cannot be a license problem because Java 10 already has x264 as the
Only supported video format.

Is there any work scheduled to improve on this in JavaFX?
Post by Sverre Moe
Some very old issues for this kind of change
https://bugs.openjdk.java.net/browse/JDK-8091063
https://bugs.openjdk.java.net/browse/JDK-8091656
One new comment on the latter issue suggesting to add new formats like
"Ogg/{Vorbis,Theora}, flac, matroska (MKV), Opus, VP8, 3GPP, GSM"
This would be great to have on JavaFX. I seriously hope they would add it for Java 10 at least, or a later Java 9 update.
Date: Fri, 8 Sep 2017 20:51:06 +1000
Subject: Re: Support additional video codec and container format
Content-Type: text/plain; charset=us-ascii
+1
Post by Sverre Moe
Why is JavaFX not supporting open video container and codec?
From Java 9 VP6 is deprecated.
The only relevant supported coded for JavaFX is H.264/AVC. The only other
alternative is VP6 which has been deprecated in Java 9.
We cannot use H.264 without paying lisence fee for a commercial application.
Support for Ogg Theroa/Vorbis should be considered, at least VP8 and/or VP9
in place for the deprecated VP6. The MediaPlayer for Java 10 has not gotten
any changes either. I reckon it is too late for Java 9 to get new formats.
Scott Palmer
2018-06-25 13:29:04 UTC
Permalink
I don't want Oracle to add any of those formats. I want them to make it so
*anyone* can add a new codec. Then they don't have to worry so much about
which codecs to support. The community can take care of that.

If Oracle is going to officially support another codec the only one worth
putting their effort into at this point is HEVC (H.265)

Scott
Post by Sverre Moe
I wanted to revive this discussion when I saw Java 9 has gotten
upgraded GStreamer in JEP-257.
Also Java 11 has an upgrade to GStreamer 1.14
https://bugs.openjdk.java.net/browse/JDK-8199527
https://docs.oracle.com/javase/10/docs/api/javafx/scene/media/package-summary.html
What does it take to implement support for these Video formats?
It cannot be a license problem because Java 10 already has x264 as the
Only supported video format.
Is there any work scheduled to improve on this in JavaFX?
Post by Sverre Moe
Some very old issues for this kind of change
https://bugs.openjdk.java.net/browse/JDK-8091063
https://bugs.openjdk.java.net/browse/JDK-8091656
One new comment on the latter issue suggesting to add new formats like
"Ogg/{Vorbis,Theora}, flac, matroska (MKV), Opus, VP8, 3GPP, GSM"
This would be great to have on JavaFX. I seriously hope they would add
it for Java 10 at least, or a later Java 9 update.
Post by Sverre Moe
Date: Fri, 8 Sep 2017 20:51:06 +1000
Subject: Re: Support additional video codec and container format
Content-Type: text/plain; charset=us-ascii
+1
Post by Sverre Moe
Why is JavaFX not supporting open video container and codec?
From Java 9 VP6 is deprecated.
The only relevant supported coded for JavaFX is H.264/AVC. The only
other
Post by Sverre Moe
Post by Sverre Moe
alternative is VP6 which has been deprecated in Java 9.
We cannot use H.264 without paying lisence fee for a commercial
application.
Post by Sverre Moe
Post by Sverre Moe
Support for Ogg Theroa/Vorbis should be considered, at least VP8
and/or VP9
Post by Sverre Moe
Post by Sverre Moe
in place for the deprecated VP6. The MediaPlayer for Java 10 has not
gotten
Post by Sverre Moe
Post by Sverre Moe
any changes either. I reckon it is too late for Java 9 to get new
formats.
Kevin Rushforth
2018-06-26 17:19:06 UTC
Permalink
We do not plan to add any more media codecs.

I agree that supporting pluggable codecs would be better than adding any
more specific codecs. I note that we aren't likely to spend resources on
doing this, either. Perhaps someone in the community would be interested
in working on it.

-- Kevin
Post by Scott Palmer
I don't want Oracle to add any of those formats. I want them to make it so
*anyone* can add a new codec. Then they don't have to worry so much about
which codecs to support. The community can take care of that.
If Oracle is going to officially support another codec the only one worth
putting their effort into at this point is HEVC (H.265)
Scott
Post by Sverre Moe
I wanted to revive this discussion when I saw Java 9 has gotten
upgraded GStreamer in JEP-257.
Also Java 11 has an upgrade to GStreamer 1.14
https://bugs.openjdk.java.net/browse/JDK-8199527
https://docs.oracle.com/javase/10/docs/api/javafx/scene/media/package-summary.html
What does it take to implement support for these Video formats?
It cannot be a license problem because Java 10 already has x264 as the
Only supported video format.
Is there any work scheduled to improve on this in JavaFX?
Post by Sverre Moe
Some very old issues for this kind of change
https://bugs.openjdk.java.net/browse/JDK-8091063
https://bugs.openjdk.java.net/browse/JDK-8091656
One new comment on the latter issue suggesting to add new formats like
"Ogg/{Vorbis,Theora}, flac, matroska (MKV), Opus, VP8, 3GPP, GSM"
This would be great to have on JavaFX. I seriously hope they would add
it for Java 10 at least, or a later Java 9 update.
Post by Sverre Moe
Date: Fri, 8 Sep 2017 20:51:06 +1000
Subject: Re: Support additional video codec and container format
Content-Type: text/plain; charset=us-ascii
+1
Post by Sverre Moe
Why is JavaFX not supporting open video container and codec?
From Java 9 VP6 is deprecated.
The only relevant supported coded for JavaFX is H.264/AVC. The only
other
Post by Sverre Moe
Post by Sverre Moe
alternative is VP6 which has been deprecated in Java 9.
We cannot use H.264 without paying lisence fee for a commercial
application.
Post by Sverre Moe
Post by Sverre Moe
Support for Ogg Theroa/Vorbis should be considered, at least VP8
and/or VP9
Post by Sverre Moe
Post by Sverre Moe
in place for the deprecated VP6. The MediaPlayer for Java 10 has not
gotten
Post by Sverre Moe
Post by Sverre Moe
any changes either. I reckon it is too late for Java 9 to get new
formats.
Loading...