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

Issue 2723833002: WebM support for new multipart VP9 string. (Closed)

Created:
3 years, 9 months ago by chcunningham
Modified:
3 years, 9 months ago
CC:
chromium-reviews, mlamouri+watch-content_chromium.org, posciak+watch_chromium.org, chfremer+watch_chromium.org, jam, feature-media-reviews_chromium.org, darin-cc_chromium.org, mcasas+watch+vc_chromium.org, ddorwin, fgalligan1, sandersd (OOO until July 31), kqyang
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

WebM support for new multipart VP9 string (behind flag) The new string describes profile, level, bitdepth, color primaries, eotf, matrix coefficients, full-range enable/disable, and chroma subsampling. Example: MediaSource.isTypeSupported( 'video/webm; codecs="vp09.02.01.10.09.01.09.01.01"') Ordering and required feilds are still under discussion, but this reflects the latest proposal. For HDR EOTFs (e.g. SMPTEST2084) canPlayType/isTypeSupported will return ""/false until RenderMediaClient is made aware of whether chrome is running with hdr output enabled. To enable parsing of the new vp9 string in webm, use the flag --enable-new-vp9-codec-string. Alternatively, to enable HDR AND new vp9 string in webm, use --enable-hdr-output To enable parsing (and demuxing) of vp9 in mp4, use the flag --enable-vp9-in-mp4 BUG=687627 Review-Url: https://codereview.chromium.org/2723833002 Cr-Commit-Position: refs/heads/master@{#455548} Committed: https://chromium.googlesource.com/chromium/src/+/9a285ed020220553b8c4f47883094ce8220d4086

Patch Set 1 #

Patch Set 2 : Use latest ordering (9 parts), Plumb eotf to media client #

Total comments: 17

Patch Set 3 : Update parsing to latest proposal, test, integrate feedback #

Patch Set 4 : Put parsing behind a flag (--enable-hdr-output OR --enable-new-vp9-codec-string) #

Total comments: 2

Patch Set 5 : Feedback #

Patch Set 6 : Rebase. Simplify test. #

Patch Set 7 : Rebase #

Unified diffs Side-by-side diffs Delta from patch set Stats (+567 lines, -131 lines) Patch
M chromecast/common/media/cast_media_client.h View 1 2 3 4 5 6 1 chunk +1 line, -3 lines 0 comments Download
M chromecast/common/media/cast_media_client.cc View 1 2 3 4 1 chunk +7 lines, -5 lines 0 comments Download
M content/browser/media/media_canplaytype_browsertest.cc View 1 2 3 4 10 chunks +68 lines, -62 lines 0 comments Download
M content/browser/renderer_host/render_process_host_impl.cc View 1 2 3 2 chunks +2 lines, -0 lines 0 comments Download
M content/renderer/media/render_media_client.h View 1 2 1 chunk +1 line, -3 lines 0 comments Download
M content/renderer/media/render_media_client.cc View 1 2 3 4 1 chunk +24 lines, -5 lines 0 comments Download
M content/renderer/media/render_media_client_unittest.cc View 1 2 3 4 5 1 chunk +60 lines, -0 lines 0 comments Download
M content/renderer/render_thread_impl.cc View 1 2 3 4 5 6 2 chunks +8 lines, -0 lines 0 comments Download
M media/base/key_systems_unittest.cc View 1 2 2 chunks +2 lines, -6 lines 0 comments Download
M media/base/media.h View 1 2 3 1 chunk +6 lines, -0 lines 0 comments Download
M media/base/media.cc View 1 2 3 3 chunks +18 lines, -0 lines 0 comments Download
M media/base/media_client.h View 1 2 3 chunks +9 lines, -3 lines 0 comments Download
M media/base/media_switches.h View 1 2 3 1 chunk +2 lines, -0 lines 0 comments Download
M media/base/media_switches.cc View 1 2 3 1 chunk +3 lines, -0 lines 0 comments Download
M media/base/mime_util_internal.h View 1 2 2 chunks +6 lines, -1 line 0 comments Download
M media/base/mime_util_internal.cc View 1 2 3 4 9 chunks +31 lines, -15 lines 0 comments Download
M media/base/mime_util_unittest.cc View 1 2 3 2 chunks +15 lines, -0 lines 0 comments Download
M media/base/video_codecs.h View 1 2 2 chunks +4 lines, -1 line 0 comments Download
M media/base/video_codecs.cc View 1 2 3 4 3 chunks +149 lines, -19 lines 0 comments Download
M media/base/video_codecs_unittest.cc View 1 2 3 4 1 chunk +145 lines, -0 lines 0 comments Download
M media/filters/stream_parser_factory.cc View 1 2 1 chunk +6 lines, -8 lines 0 comments Download

Messages

Total messages: 60 (34 generated)
chcunningham
Hey Hubbe Here is the simple CL to add conditional isTypeSupported for the new 8 ...
3 years, 9 months ago (2017-02-28 23:06:33 UTC) #7
chcunningham
> I'm working on adding a check for libvpx [0]. [0] https://chromium-review.googlesource.com/c/444255/
3 years, 9 months ago (2017-02-28 23:08:27 UTC) #8
chcunningham
> I should probably put the 8-part string behind a flag. What flag are you ...
3 years, 9 months ago (2017-02-28 23:17:36 UTC) #9
hubbe
LGTM On 2017/02/28 23:06:33, chcunningham wrote: > Hey Hubbe > > Here is the simple ...
3 years, 9 months ago (2017-02-28 23:17:52 UTC) #10
hubbe
On 2017/02/28 23:17:36, chcunningham wrote: > > I should probably put the 8-part string behind ...
3 years, 9 months ago (2017-02-28 23:35:02 UTC) #13
chromium-reviews
Actually let me correct that: I don't think the vp9 string should use a finch ...
3 years, 9 months ago (2017-02-28 23:37:03 UTC) #14
chcunningham
+servolk for cast/mediaclient Take a look at render_media_client.cc and generally plumbing of eotf to MediaClient. ...
3 years, 9 months ago (2017-03-02 02:19:43 UTC) #16
servolk
On 2017/03/02 02:19:43, chcunningham wrote: > +servolk for cast/mediaclient > > Take a look at ...
3 years, 9 months ago (2017-03-02 18:56:31 UTC) #17
servolk
https://codereview.chromium.org/2723833002/diff/40001/chromecast/common/media/cast_media_client.cc File chromecast/common/media/cast_media_client.cc (right): https://codereview.chromium.org/2723833002/diff/40001/chromecast/common/media/cast_media_client.cc#newcode64 chromecast/common/media/cast_media_client.cc:64: // TODO(servolk): make use of eotf. Nit: missing closing ...
3 years, 9 months ago (2017-03-02 18:56:37 UTC) #18
chcunningham
On 2017/03/02 18:56:31, servolk wrote: > Some nits, but my main concern is that the ...
3 years, 9 months ago (2017-03-02 21:49:25 UTC) #19
chcunningham
Thanks Sergey. Hubbe, can you take a look at the latest in render_media_client.cc https://codereview.chromium.org/2723833002/diff/40001/chromecast/common/media/cast_media_client.cc File ...
3 years, 9 months ago (2017-03-02 23:13:09 UTC) #20
hubbe
lgtm https://codereview.chromium.org/2723833002/diff/40001/content/renderer/media/render_media_client.cc File content/renderer/media/render_media_client.cc (right): https://codereview.chromium.org/2723833002/diff/40001/content/renderer/media/render_media_client.cc#newcode92 content/renderer/media/render_media_client.cc:92: bool IsHdrColorManagementEnabled() { Remove this function for now. ...
3 years, 9 months ago (2017-03-02 23:37:11 UTC) #21
chcunningham
Added tests and addressed comments. On 2017/03/02 21:49:25, chcunningham wrote: > On 2017/03/02 18:56:31, servolk ...
3 years, 9 months ago (2017-03-07 02:27:56 UTC) #24
servolk
On 2017/03/07 02:27:56, chcunningham wrote: > Added tests and addressed comments. > > > On ...
3 years, 9 months ago (2017-03-07 02:39:48 UTC) #26
hubbe
https://codereview.chromium.org/2723833002/diff/80001/content/renderer/media/render_media_client.cc File content/renderer/media/render_media_client.cc (right): https://codereview.chromium.org/2723833002/diff/80001/content/renderer/media/render_media_client.cc#newcode92 content/renderer/media/render_media_client.cc:92: bool IsHdrColorManagementEnabled() { Remove?
3 years, 9 months ago (2017-03-07 19:22:16 UTC) #29
chcunningham
Thanks guys! > Mostly lgtm, let's just add a test for new codec ids in ...
3 years, 9 months ago (2017-03-07 23:59:17 UTC) #30
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/2723833002/100001
3 years, 9 months ago (2017-03-08 00:09:10 UTC) #37
commit-bot: I haz the power
Try jobs failed on following builders: chromium_presubmit on master.tryserver.chromium.linux (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.linux/builders/chromium_presubmit/builds/380375)
3 years, 9 months ago (2017-03-08 00:21:21 UTC) #39
chcunningham
+halliwell for chromecast +jam for content
3 years, 9 months ago (2017-03-08 00:28:46 UTC) #41
halliwell
On 2017/03/08 00:28:46, chcunningham wrote: > +halliwell for chromecast > +jam for content chromecast/ lgtm
3 years, 9 months ago (2017-03-08 00:37:10 UTC) #42
chcunningham
+avi@ for content (jam@ is OOO)
3 years, 9 months ago (2017-03-08 18:00:02 UTC) #48
Avi (use Gerrit)
content lgtm
3 years, 9 months ago (2017-03-08 18:29:02 UTC) #49
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/2723833002/120001
3 years, 9 months ago (2017-03-08 18:57:19 UTC) #52
commit-bot: I haz the power
Failed to apply patch for chromecast/common/media/cast_media_client.h: While running git apply --index -p1; error: patch failed: ...
3 years, 9 months ago (2017-03-08 19:07:24 UTC) #54
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/2723833002/140001
3 years, 9 months ago (2017-03-08 19:43:52 UTC) #57
commit-bot: I haz the power
3 years, 9 months ago (2017-03-08 21:50:47 UTC) #60
Message was sent while issue was closed.
Committed patchset #7 (id:140001) as
https://chromium.googlesource.com/chromium/src/+/9a285ed020220553b8c4f4788309...

Powered by Google App Engine
This is Rietveld 408576698