After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 790026 - qtdemux: Add support vp9 codec
qtdemux: Add support vp9 codec
Status: RESOLVED FIXED
Product: GStreamer
Classification: Platform
Component: gst-plugins-good
git master
Other Windows
: Normal enhancement
: 1.13.1
Assigned To: GStreamer Maintainers
GStreamer Maintainers
Depends on:
Blocks:
 
 
Reported: 2017-11-07 16:26 UTC by Seungha Yang
Modified: 2017-11-13 15:38 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
qtdemux: Add support vp9 codec (1.68 KB, patch)
2017-11-07 16:28 UTC, Seungha Yang
none Details | Review
isomp4: Add support VP9 codec (2.96 KB, patch)
2017-11-12 10:44 UTC, Seungha Yang
none Details | Review
[1/2] isomp4: Add support VP9 codec (2.71 KB, patch)
2017-11-13 01:50 UTC, Seungha Yang
committed Details | Review
isomp4: Add official fourcc for VP8 codec (2.16 KB, patch)
2017-11-13 01:52 UTC, Seungha Yang
committed Details | Review

Description Seungha Yang 2017-11-07 16:26:53 UTC
Simple addition of fourcc for vp8 and vp9 codecs.
See also https://www.webmproject.org/vp9/mp4/
Comment 1 Seungha Yang 2017-11-07 16:28:15 UTC
Created attachment 363157 [details] [review]
qtdemux: Add support vp9 codec
Comment 3 Sebastian Dröge (slomo) 2017-11-07 16:45:05 UTC
Review of attachment 363157 [details] [review]:

::: gst/isomp4/qtdemux.c
@@ +13938,3 @@
       break;
     case FOURCC_VP80:
+    case FOURCC_vp08:

You probably want to add both to the muxer too, and make the muxer use the official "vp08" one instead. Not sure where "VP80" comes from. Needs some research
Comment 4 Seungha Yang 2017-11-08 11:33:41 UTC
(In reply to Sebastian Dröge (slomo) from comment #3)
> Review of attachment 363157 [details] [review] [review]:
> 
> ::: gst/isomp4/qtdemux.c
> @@ +13938,3 @@
>        break;
>      case FOURCC_VP80:
> +    case FOURCC_vp08:
> 
> You probably want to add both to the muxer too, and make the muxer use the
> official "vp08" one instead. Not sure where "VP80" comes from. Needs some
> research

I googled and I'm not sure where the "VP80" came from (for qtdmux)...

https://en.wikipedia.org/wiki/VP8 is saying that the fourcc of vp8 is "VP80".
But, I guess it should be used only for VP8 Video For Windows codec (http://www.optimasc.com/products/vp8vfw/index.html), so I think "vp08" is proper expression in isobmff based on spec.
Comment 5 Sebastian Dröge (slomo) 2017-11-09 09:09:00 UTC
Best to switch the muxers over to that too then :)
Comment 6 Seungha Yang 2017-11-12 10:44:25 UTC
Created attachment 363432 [details] [review]
isomp4: Add support VP9 codec

 ... and change legacy VP8 fourcc "VP80" to official one "vp08"
See also https://www.webmproject.org/vp9/mp4/
Comment 7 Nicolas Dufresne (ndufresne) 2017-11-13 01:27:51 UTC
Review of attachment 363432 [details] [review]:

Would you mind making 2 patches, one for vp8 and one for VP9 ?
Comment 8 Nicolas Dufresne (ndufresne) 2017-11-13 01:27:52 UTC
Review of attachment 363432 [details] [review]:

Would you mind making 2 patches, one for vp8 and one for VP9 ?
Comment 9 Seungha Yang 2017-11-13 01:50:11 UTC
Created attachment 363462 [details] [review]
[1/2] isomp4: Add support VP9 codec

Add fourcc for VP9 codec and support it by qtdemux and qtmux
See also https://www.webmproject.org/vp9/mp4/
Comment 10 Seungha Yang 2017-11-13 01:52:00 UTC
Created attachment 363463 [details] [review]
isomp4: Add official fourcc for VP8 codec

fourcc for VP8 codec is "vp08" defined by spec. To follow it, 
add it to demux and change legacy VP8 fourcc "VP80" to "vp08" in mux.
Also, enable sync table in case of VP8 codec.
See also https://www.webmproject.org/vp9/mp4/
Comment 11 Seungha Yang 2017-11-13 01:53:01 UTC
(In reply to Nicolas Dufresne (stormer) from comment #8)
> Review of attachment 363432 [details] [review] [review]:
> 
> Would you mind making 2 patches, one for vp8 and one for VP9 ?

I updated them.
Comment 12 Nicolas Dufresne (ndufresne) 2017-11-13 15:09:59 UTC
Thanks for splitting these two, thanks for your patches.

Attachment 363463 [details] pushed as 8aa5c59 - isomp4: Add official fourcc for VP8 codec
Attachment 363462 [details] pushed as 93f19b1 - [1/2] isomp4: Add support VP9 codec