Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(259)

Issue 1624703002: Implement support for vp9 in ISO-BMFF (Closed)

Created:
4 years, 11 months ago by kqyang
Modified:
4 years, 8 months ago
CC:
chromium-reviews, feature-media-reviews_chromium.org, DaleCurtis, xhwang, tinskip1, fgalligan1
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Implement support for vp9 in ISO-BMFF The feature is implemented under flag ENABLE_MP4_VP9_DEMUXING, off for now. BUG=580623 Committed: https://crrev.com/f66cf8a7b3e8f169a58c09e6627b0cdc11192d2f Cr-Commit-Position: refs/heads/master@{#388363}

Patch Set 1 #

Total comments: 8

Patch Set 2 : #

Patch Set 3 : #

Total comments: 36

Patch Set 4 : Address review comments #

Patch Set 5 : Add a flag ENABLE_MP4_VP8_VP9_DEMUXING for this change. #

Total comments: 17

Patch Set 6 : #

Total comments: 17

Patch Set 7 : #

Total comments: 10

Patch Set 8 : #

Total comments: 11

Patch Set 9 : #

Total comments: 2

Patch Set 10 : #

Patch Set 11 : #

Patch Set 12 : #

Total comments: 7

Patch Set 13 : #

Total comments: 4

Patch Set 14 : #

Total comments: 12

Patch Set 15 : #

Unified diffs Side-by-side diffs Delta from patch set Stats (+366 lines, -70 lines) Patch
M chrome/browser/media/DEPS View 1 2 3 4 5 6 7 8 9 10 1 chunk +1 line, -0 lines 0 comments Download
M chrome/browser/media/encrypted_media_supported_types_browsertest.cc View 1 2 3 4 5 6 7 8 9 2 chunks +5 lines, -0 lines 0 comments Download
M chrome/renderer/media/DEPS View 1 2 3 4 5 6 7 8 9 1 chunk +1 line, -0 lines 0 comments Download
M chrome/renderer/media/chrome_key_systems.cc View 1 2 3 4 5 2 chunks +5 lines, -0 lines 0 comments Download
M content/browser/media/media_canplaytype_browsertest.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 12 chunks +81 lines, -0 lines 0 comments Download
M media/BUILD.gn View 1 2 3 4 5 6 7 8 9 1 chunk +1 line, -0 lines 0 comments Download
M media/base/eme_constants.h View 1 2 3 4 5 1 chunk +2 lines, -1 line 0 comments Download
M media/base/key_systems.cc View 1 2 3 4 5 6 7 8 9 2 chunks +4 lines, -0 lines 0 comments Download
M media/base/mime_util_internal.h View 1 2 3 4 5 6 7 8 9 1 chunk +6 lines, -4 lines 0 comments Download
M media/base/mime_util_internal.cc View 1 2 3 4 5 6 7 8 9 10 11 12 7 chunks +128 lines, -6 lines 0 comments Download
M media/base/mime_util_unittest.cc View 1 2 3 4 5 6 7 8 9 10 11 2 chunks +12 lines, -1 line 0 comments Download
M media/filters/stream_parser_factory.cc View 1 2 3 4 5 6 7 8 9 2 chunks +10 lines, -3 lines 0 comments Download
M media/formats/mp4/box_definitions.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 2 chunks +56 lines, -48 lines 0 comments Download
M media/formats/mp4/fourccs.h View 1 2 3 4 5 6 7 8 9 10 1 chunk +1 line, -0 lines 0 comments Download
M media/formats/mp4/mp4_stream_parser.cc View 1 2 3 4 5 6 7 8 9 1 chunk +10 lines, -7 lines 0 comments Download
M media/media.gyp View 1 2 3 4 5 6 7 8 9 10 1 chunk +1 line, -0 lines 0 comments Download
M media/test/data/README View 1 2 3 4 5 6 7 8 9 10 11 12 13 1 chunk +4 lines, -0 lines 0 comments Download
A media/test/data/bear-320x240-v_frag-vp9.mp4 View 1 2 3 Binary file 0 comments Download
A media/test/data/bear-320x240-v_frag-vp9-cenc.mp4 View 1 2 3 Binary file 0 comments Download
M media/test/pipeline_integration_test.cc View 1 2 3 4 5 6 7 8 9 4 chunks +38 lines, -0 lines 0 comments Download

Messages

Total messages: 52 (12 generated)
kqyang
4 years, 11 months ago (2016-01-22 21:24:50 UTC) #2
sandersd (OOO until July 31)
A few comments based on our earlier discussion. It looks like this CL is moving ...
4 years, 11 months ago (2016-01-26 21:21:20 UTC) #4
kqyang
Thanks for the review. As discussed earlier, let's still keep all codecs in mp4 as ...
4 years, 11 months ago (2016-01-27 00:17:43 UTC) #5
sandersd (OOO until July 31)
lgtm https://codereview.chromium.org/1624703002/diff/40001/media/base/key_systems.cc File media/base/key_systems.cc (right): https://codereview.chromium.org/1624703002/diff/40001/media/base/key_systems.cc#newcode58 media/base/key_systems.cc:58: {"vp08", EME_CODEC_MP4_VP8}, These are only defined when USE_PROPRIETARY_CODECS ...
4 years, 11 months ago (2016-01-27 00:47:00 UTC) #6
ddorwin
not lgtm. I think we need to be more thoughtful about where this is being ...
4 years, 11 months ago (2016-01-27 01:39:15 UTC) #8
ddorwin
We should probably move some of this discussion (i.e. what to expose when) to the ...
4 years, 11 months ago (2016-01-27 03:17:09 UTC) #9
ddorwin
https://codereview.chromium.org/1624703002/diff/40001/media/base/eme_constants.h File media/base/eme_constants.h (right): https://codereview.chromium.org/1624703002/diff/40001/media/base/eme_constants.h#newcode48 media/base/eme_constants.h:48: EME_CODEC_MP4_VP9 = 1 << 7, On 2016/01/27 03:17:09, ddorwin ...
4 years, 11 months ago (2016-01-27 06:42:56 UTC) #10
kqyang
Thanks for the detail and critic review :) PTAL https://codereview.chromium.org/1624703002/diff/40001/chrome/renderer/media/chrome_key_systems.cc File chrome/renderer/media/chrome_key_systems.cc (right): https://codereview.chromium.org/1624703002/diff/40001/chrome/renderer/media/chrome_key_systems.cc#newcode191 chrome/renderer/media/chrome_key_systems.cc:191: ...
4 years, 10 months ago (2016-01-29 00:34:17 UTC) #11
xhwang
https://codereview.chromium.org/1624703002/diff/40001/media/base/eme_constants.h File media/base/eme_constants.h (right): https://codereview.chromium.org/1624703002/diff/40001/media/base/eme_constants.h#newcode48 media/base/eme_constants.h:48: EME_CODEC_MP4_VP9 = 1 << 7, On 2016/01/27 06:42:56, ddorwin ...
4 years, 10 months ago (2016-02-01 17:59:37 UTC) #12
kqyang
ddorwin@, can you take another look when you have a chance? Thanks.
4 years, 10 months ago (2016-02-23 18:44:01 UTC) #13
ddorwin
Thank you for addressing my comments, including adding tests. Please follow http://www.chromium.org/blink#launch-process. Since this is ...
4 years, 10 months ago (2016-02-24 22:44:33 UTC) #14
ddorwin
A few more thoughts. https://codereview.chromium.org/1624703002/diff/80001/content/browser/media/media_canplaytype_browsertest.cc File content/browser/media/media_canplaytype_browsertest.cc (right): https://codereview.chromium.org/1624703002/diff/80001/content/browser/media/media_canplaytype_browsertest.cc#newcode376 content/browser/media/media_canplaytype_browsertest.cc:376: CanPlay("'" + mime + "; ...
4 years, 10 months ago (2016-02-25 00:27:47 UTC) #15
ddorwin
https://codereview.chromium.org/1624703002/diff/100001/media/base/mime_util_internal.cc File media/base/mime_util_internal.cc (right): https://codereview.chromium.org/1624703002/diff/100001/media/base/mime_util_internal.cc#newcode137 media/base/mime_util_internal.cc:137: // ParseVpxCodecID(). s/x/9/ https://codereview.chromium.org/1624703002/diff/100001/media/base/mime_util_internal.cc#newcode167 media/base/mime_util_internal.cc:167: {"vp9", MimeUtil::VP9}, As discussed, ...
4 years, 9 months ago (2016-02-29 23:57:35 UTC) #16
ddorwin
https://codereview.chromium.org/1624703002/diff/100001/media/base/mime_util_internal.cc File media/base/mime_util_internal.cc (right): https://codereview.chromium.org/1624703002/diff/100001/media/base/mime_util_internal.cc#newcode282 media/base/mime_util_internal.cc:282: bool* is_ambiguous) { Since there are no ambiguous VPx ...
4 years, 9 months ago (2016-03-01 00:21:41 UTC) #17
kqyang
Thanks for the review. PTAL https://codereview.chromium.org/1624703002/diff/80001/content/browser/media/media_canplaytype_browsertest.cc File content/browser/media/media_canplaytype_browsertest.cc (right): https://codereview.chromium.org/1624703002/diff/80001/content/browser/media/media_canplaytype_browsertest.cc#newcode376 content/browser/media/media_canplaytype_browsertest.cc:376: CanPlay("'" + mime + ...
4 years, 9 months ago (2016-03-01 01:18:52 UTC) #18
ddorwin
I reviewed the differences from previous patch sets. I'll review against base again after these ...
4 years, 9 months ago (2016-03-02 00:58:22 UTC) #20
kqyang
PTAL https://codereview.chromium.org/1624703002/diff/80001/content/browser/media/media_canplaytype_browsertest.cc File content/browser/media/media_canplaytype_browsertest.cc (right): https://codereview.chromium.org/1624703002/diff/80001/content/browser/media/media_canplaytype_browsertest.cc#newcode776 content/browser/media/media_canplaytype_browsertest.cc:776: CanPlay("'video/x-m4v; codecs=\"vp08.00.00.08.00.00.00.00\"'")); On 2016/03/02 00:58:21, ddorwin wrote: > ...
4 years, 9 months ago (2016-03-10 01:16:27 UTC) #21
ddorwin
Thanks. Minor stuff. https://codereview.chromium.org/1624703002/diff/140001/media/base/mime_util_unittest.cc File media/base/mime_util_unittest.cc (right): https://codereview.chromium.org/1624703002/diff/140001/media/base/mime_util_unittest.cc#newcode285 media/base/mime_util_unittest.cc:285: // VP9 is only supported with ...
4 years, 9 months ago (2016-03-10 18:16:54 UTC) #22
ddorwin
https://codereview.chromium.org/1624703002/diff/140001/media/base/mime_util_internal.cc File media/base/mime_util_internal.cc (right): https://codereview.chromium.org/1624703002/diff/140001/media/base/mime_util_internal.cc#newcode633 media/base/mime_util_internal.cc:633: return mime_type_lower_case == "video/webm" && platform_info.supports_vp9; Since the blocks ...
4 years, 9 months ago (2016-03-10 18:29:24 UTC) #23
kqyang
PTAL https://codereview.chromium.org/1624703002/diff/140001/media/base/mime_util_internal.cc File media/base/mime_util_internal.cc (right): https://codereview.chromium.org/1624703002/diff/140001/media/base/mime_util_internal.cc#newcode633 media/base/mime_util_internal.cc:633: return mime_type_lower_case == "video/webm" && platform_info.supports_vp9; On 2016/03/10 ...
4 years, 9 months ago (2016-03-10 21:05:13 UTC) #24
ddorwin
LG. I reviewed everything other than the following. Dan, do you want to take another ...
4 years, 9 months ago (2016-03-10 23:28:58 UTC) #25
kqyang
sandersd@, do you have a chance to take another look? Thanks.
4 years, 9 months ago (2016-03-24 19:08:01 UTC) #26
sandersd (OOO until July 31)
On 2016/03/24 19:08:01, kqyang wrote: > sandersd@, do you have a chance to take another ...
4 years, 9 months ago (2016-03-24 20:09:22 UTC) #27
ddorwin
On 2016/03/10 23:28:58, ddorwin wrote: > LG. I reviewed everything other than the following. Dan, ...
4 years, 9 months ago (2016-03-24 21:35:46 UTC) #28
ddorwin
https://codereview.chromium.org/1624703002/diff/160001/media/base/mime_util_internal.cc File media/base/mime_util_internal.cc (right): https://codereview.chromium.org/1624703002/diff/160001/media/base/mime_util_internal.cc#newcode71 media/base/mime_util_internal.cc:71: // This is not a complete list of supported ...
4 years, 8 months ago (2016-04-06 01:43:42 UTC) #29
kqyang
PTAL. If you don't mind, I'll submit it after getting your approval. Thanks. https://codereview.chromium.org/1624703002/diff/160001/media/base/mime_util_internal.cc File ...
4 years, 8 months ago (2016-04-18 22:23:14 UTC) #31
ddorwin
LG. Some minor issues. Thanks. https://codereview.chromium.org/1624703002/diff/220001/media/base/mime_util_internal.cc File media/base/mime_util_internal.cc (right): https://codereview.chromium.org/1624703002/diff/220001/media/base/mime_util_internal.cc#newcode36 media/base/mime_util_internal.cc:36: // vp9, vp9.0, vp09.xx.xx.xx.xx.xx.xx.xx ...
4 years, 8 months ago (2016-04-18 22:53:30 UTC) #32
kqyang
PTAL https://codereview.chromium.org/1624703002/diff/220001/media/base/mime_util_internal.cc File media/base/mime_util_internal.cc (right): https://codereview.chromium.org/1624703002/diff/220001/media/base/mime_util_internal.cc#newcode36 media/base/mime_util_internal.cc:36: // vp9, vp9.0, vp09.xx.xx.xx.xx.xx.xx.xx may be unambiguous; handled ...
4 years, 8 months ago (2016-04-19 00:28:05 UTC) #33
ddorwin
LGTM with comments. Thanks. https://codereview.chromium.org/1624703002/diff/220001/media/base/mime_util_internal.cc File media/base/mime_util_internal.cc (right): https://codereview.chromium.org/1624703002/diff/220001/media/base/mime_util_internal.cc#newcode36 media/base/mime_util_internal.cc:36: // vp9, vp9.0, vp09.xx.xx.xx.xx.xx.xx.xx may ...
4 years, 8 months ago (2016-04-19 17:10:01 UTC) #34
kqyang
Thanks for the review! https://codereview.chromium.org/1624703002/diff/240001/content/browser/media/media_canplaytype_browsertest.cc File content/browser/media/media_canplaytype_browsertest.cc (right): https://codereview.chromium.org/1624703002/diff/240001/content/browser/media/media_canplaytype_browsertest.cc#newcode1213 content/browser/media/media_canplaytype_browsertest.cc:1213: // Codecs strings with missing ...
4 years, 8 months ago (2016-04-19 20:56:41 UTC) #35
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1624703002/260001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1624703002/260001
4 years, 8 months ago (2016-04-19 20:57:10 UTC) #38
ddorwin
https://codereview.chromium.org/1624703002/diff/260001/content/browser/media/media_canplaytype_browsertest.cc File content/browser/media/media_canplaytype_browsertest.cc (right): https://codereview.chromium.org/1624703002/diff/260001/content/browser/media/media_canplaytype_browsertest.cc#newcode229 content/browser/media/media_canplaytype_browsertest.cc:229: EXPECT_EQ(kNot, CanPlay("'" + mime + "; codecs=\"vp8\"'")); Add vp8.0, ...
4 years, 8 months ago (2016-04-19 21:11:46 UTC) #39
kqyang
PTAL https://codereview.chromium.org/1624703002/diff/260001/content/browser/media/media_canplaytype_browsertest.cc File content/browser/media/media_canplaytype_browsertest.cc (right): https://codereview.chromium.org/1624703002/diff/260001/content/browser/media/media_canplaytype_browsertest.cc#newcode229 content/browser/media/media_canplaytype_browsertest.cc:229: EXPECT_EQ(kNot, CanPlay("'" + mime + "; codecs=\"vp8\"'")); On ...
4 years, 8 months ago (2016-04-19 21:50:01 UTC) #41
kqyang
PTAL
4 years, 8 months ago (2016-04-19 21:50:02 UTC) #42
ddorwin
lgtm Thanks!
4 years, 8 months ago (2016-04-19 21:57:52 UTC) #43
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1624703002/280001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1624703002/280001
4 years, 8 months ago (2016-04-19 22:00:16 UTC) #46
commit-bot: I haz the power
Committed patchset #15 (id:280001)
4 years, 8 months ago (2016-04-19 23:50:18 UTC) #48
msramek
A revert of this CL (patchset #15 id:280001) has been created in https://codereview.chromium.org/1899423002/ by msramek@chromium.org. ...
4 years, 8 months ago (2016-04-20 07:22:51 UTC) #49
msramek
On 2016/04/20 07:22:51, msramek wrote: > A revert of this CL (patchset #15 id:280001) has ...
4 years, 8 months ago (2016-04-20 08:15:38 UTC) #50
commit-bot: I haz the power
4 years, 8 months ago (2016-04-22 19:18:23 UTC) #52
Message was sent while issue was closed.
Patchset 15 (id:??) landed as
https://crrev.com/f66cf8a7b3e8f169a58c09e6627b0cdc11192d2f
Cr-Commit-Position: refs/heads/master@{#388363}

Powered by Google App Engine
This is Rietveld 408576698