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

Issue 1384483005: MediaStream Recorder: Support VP9 encoder (Closed)

Created:
5 years, 2 months ago by mcasas
Modified:
5 years, 2 months ago
CC:
chromium-reviews, mlamouri+watch-content_chromium.org, posciak+watch_chromium.org, jam, mcasas+watch_chromium.org, feature-media-reviews_chromium.org, darin-cc_chromium.org, mkwst+moarreviews-renderer_chromium.org
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

MediaStream Recorder: Support VP9 encoder This CL adds support for VP9 codec when recording MediaStream(s). It's a simple change but spreads a bit in many classes due essentially to passing the VP9 indication. Unittests are adapted and parameterized. BUG=262211 TEST=All Unit Tests passing, and [1] with this patch and "Enable experimental Web Platform features" enabled in chrome://flags. [1] https://rawgit.com/Miguelao/demos/master/mediarecorder9.html Committed: https://crrev.com/7f0786af5f5f03501be8fd56498a0ee6bba5a8a2 Cr-Commit-Position: refs/heads/master@{#353117}

Patch Set 1 #

Total comments: 17

Patch Set 2 : miu@s comments #

Total comments: 4

Patch Set 3 : sandersd@ comments #

Unified diffs Side-by-side diffs Delta from patch set Stats (+147 lines, -77 lines) Patch
M content/renderer/media/media_recorder_handler.h View 1 1 chunk +3 lines, -0 lines 0 comments Download
M content/renderer/media/media_recorder_handler.cc View 1 2 4 chunks +10 lines, -5 lines 0 comments Download
M content/renderer/media/media_recorder_handler_unittest.cc View 8 chunks +35 lines, -17 lines 0 comments Download
M content/renderer/media/video_track_recorder.h View 1 1 chunk +3 lines, -1 line 0 comments Download
M content/renderer/media/video_track_recorder.cc View 1 2 8 chunks +29 lines, -10 lines 0 comments Download
M content/renderer/media/video_track_recorder_unittest.cc View 1 7 chunks +36 lines, -31 lines 0 comments Download
M media/capture/webm_muxer.h View 1 2 3 chunks +7 lines, -3 lines 0 comments Download
M media/capture/webm_muxer.cc View 1 2 2 chunks +7 lines, -3 lines 0 comments Download
M media/capture/webm_muxer_unittest.cc View 1 2 4 chunks +10 lines, -5 lines 0 comments Download
M third_party/WebKit/LayoutTests/fast/mediarecorder/MediaRecorder-canRecordMimeType.html View 2 chunks +6 lines, -2 lines 0 comments Download
M third_party/WebKit/LayoutTests/fast/mediarecorder/MediaRecorder-canRecordMimeType-expected.txt View 1 chunk +1 line, -0 lines 0 comments Download

Messages

Total messages: 22 (11 generated)
mcasas
miu@ PTAL Let me direct your reviewer gaze to: void VideoTrackRecorder::VpxEncoder::ConfigureEncoding() where the VP9 configuration ...
5 years, 2 months ago (2015-10-07 00:55:31 UTC) #4
miu
Looks good, just some comments on minor things. BTW--Have you considered what will happen if ...
5 years, 2 months ago (2015-10-07 18:16:36 UTC) #5
mcasas
miu@ PTAL https://chromiumcodereview.appspot.com/1384483005/diff/60001/content/renderer/media/media_recorder_handler.h File content/renderer/media/media_recorder_handler.h (right): https://chromiumcodereview.appspot.com/1384483005/diff/60001/content/renderer/media/media_recorder_handler.h#newcode73 content/renderer/media/media_recorder_handler.h:73: bool use_vp9_; On 2015/10/07 18:16:35, miu wrote: ...
5 years, 2 months ago (2015-10-07 21:01:15 UTC) #9
miu
lgtm https://codereview.chromium.org/1384483005/diff/60001/media/capture/webm_muxer.h File media/capture/webm_muxer.h (right): https://codereview.chromium.org/1384483005/diff/60001/media/capture/webm_muxer.h#newcode43 media/capture/webm_muxer.h:43: WebmMuxer(bool use_vp9, const WriteDataCB& write_data_callback); On 2015/10/07 21:01:15, ...
5 years, 2 months ago (2015-10-07 21:56:56 UTC) #10
mcasas
sandersd@ Owners RS/PTAL at media/capture/webm_muxer* (yeah, I know, but dalecurtis@ is OOO)
5 years, 2 months ago (2015-10-07 22:22:07 UTC) #12
sandersd (OOO until July 31)
https://codereview.chromium.org/1384483005/diff/120001/media/capture/webm_muxer.h File media/capture/webm_muxer.h (right): https://codereview.chromium.org/1384483005/diff/120001/media/capture/webm_muxer.h#newcode44 media/capture/webm_muxer.h:44: WebmMuxer(bool use_vp9, const WriteDataCB& write_data_callback); I would vastly prefer ...
5 years, 2 months ago (2015-10-08 00:11:04 UTC) #13
mcasas
sandersd@ PTAL https://codereview.chromium.org/1384483005/diff/120001/content/renderer/media/video_track_recorder.cc File content/renderer/media/video_track_recorder.cc (right): https://codereview.chromium.org/1384483005/diff/120001/content/renderer/media/video_track_recorder.cc#newcode267 content/renderer/media/video_track_recorder.cc:267: // VP8 usually produces frames instantaneously. On ...
5 years, 2 months ago (2015-10-08 18:08:46 UTC) #16
sandersd (OOO until July 31)
media/ lgtm.
5 years, 2 months ago (2015-10-08 18:23:09 UTC) #17
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1384483005/180001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1384483005/180001
5 years, 2 months ago (2015-10-08 18:37:38 UTC) #20
commit-bot: I haz the power
Committed patchset #3 (id:180001)
5 years, 2 months ago (2015-10-08 19:12:58 UTC) #21
commit-bot: I haz the power
5 years, 2 months ago (2015-10-08 19:13:42 UTC) #22
Message was sent while issue was closed.
Patchset 3 (id:??) landed as
https://crrev.com/7f0786af5f5f03501be8fd56498a0ee6bba5a8a2
Cr-Commit-Position: refs/heads/master@{#353117}

Powered by Google App Engine
This is Rietveld 408576698