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

Issue 1352243002: Implemented Multiple video track recoding.

Created:
5 years, 3 months ago by msu.koo
Modified:
5 years, 1 month ago
Reviewers:
mcasas, ajose
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

Implemented Multiple video track recoding. Previosly, Only single video track recoding was supported. This patch enhanced WebmMuxer to handle multiple video tracks to support Multiple Video Track Recoding. webm_muxer_unittest also updated to check this patch. unittested with MediaRecorderHandlerTest, WebmMuxerTest. BUG=528523

Patch Set 1 #

Total comments: 4

Patch Set 2 : #

Patch Set 3 : #

Total comments: 6

Patch Set 4 : Comment addressed #

Total comments: 4

Patch Set 5 : #

Unified diffs Side-by-side diffs Delta from patch set Stats (+140 lines, -76 lines) Patch
M content/renderer/media/media_recorder_handler.h View 1 2 3 4 1 chunk +0 lines, -4 lines 0 comments Download
M content/renderer/media/media_recorder_handler.cc View 1 2 3 2 chunks +12 lines, -26 lines 0 comments Download
M media/capture/webm_muxer.h View 1 2 3 3 chunks +26 lines, -10 lines 0 comments Download
M media/capture/webm_muxer.cc View 1 2 3 3 chunks +45 lines, -28 lines 0 comments Download
M media/capture/webm_muxer_unittest.cc View 1 2 3 2 chunks +57 lines, -8 lines 0 comments Download

Messages

Total messages: 20 (3 generated)
msu.koo
WebmMuxer is enhanced to handle multiple video tracks as mcasas commented. Please kindly review :)
5 years, 3 months ago (2015-09-18 10:46:15 UTC) #2
ajose
Nice! https://codereview.chromium.org/1352243002/diff/1/media/capture/webm_muxer.h File media/capture/webm_muxer.h (right): https://codereview.chromium.org/1352243002/diff/1/media/capture/webm_muxer.h#newcode59 media/capture/webm_muxer.h:59: struct MuxerArg { Change to VideoMuxerArg or similar? ...
5 years, 3 months ago (2015-09-18 18:28:58 UTC) #3
msu.koo
Thank you for your review!. All your comments are reflected. :) https://codereview.chromium.org/1352243002/diff/1/media/capture/webm_muxer.h File media/capture/webm_muxer.h (right): ...
5 years, 3 months ago (2015-09-21 04:28:37 UTC) #4
mcasas
On 2015/09/21 04:28:37, msu.koo wrote: > Thank you for your review!. > All your comments ...
5 years, 3 months ago (2015-09-22 18:43:29 UTC) #5
msu.koo
On 2015/09/22 18:43:29, mcasas wrote: > On 2015/09/21 04:28:37, msu.koo wrote: > > Thank you ...
5 years, 3 months ago (2015-09-23 00:01:32 UTC) #6
mcasas
On 2015/09/23 00:01:32, msu.koo wrote: > On 2015/09/22 18:43:29, mcasas wrote: > > On 2015/09/21 ...
5 years, 3 months ago (2015-09-23 01:13:41 UTC) #7
msu.koo
On 2015/09/23 01:13:41, mcasas wrote: > On 2015/09/23 00:01:32, msu.koo wrote: > > On 2015/09/22 ...
5 years, 2 months ago (2015-09-30 03:53:43 UTC) #8
ajose
On 2015/09/30 03:53:43, msu.koo wrote: > On 2015/09/23 01:13:41, mcasas wrote: > > On 2015/09/23 ...
5 years, 2 months ago (2015-09-30 16:56:35 UTC) #9
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1352243002/40001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1352243002/40001
5 years, 2 months ago (2015-10-06 02:20:38 UTC) #11
commit-bot: I haz the power
No L-G-T-M from a valid reviewer yet. Only full committers are accepted. Even if an ...
5 years, 2 months ago (2015-10-06 02:20:40 UTC) #13
msu.koo
@mcasas, Could you take a look this CL?
5 years, 2 months ago (2015-10-06 02:22:09 UTC) #14
mcasas
https://chromiumcodereview.appspot.com/1352243002/diff/40001/content/renderer/media/media_recorder_handler.cc File content/renderer/media/media_recorder_handler.cc (right): https://chromiumcodereview.appspot.com/1352243002/diff/40001/content/renderer/media/media_recorder_handler.cc#newcode81 content/renderer/media/media_recorder_handler.cc:81: if (video_track.isNull()) { Is this possible at all? https://chromiumcodereview.appspot.com/1352243002/diff/40001/media/capture/webm_muxer.h ...
5 years, 2 months ago (2015-10-06 17:53:13 UTC) #15
msu.koo
@mcasas, Than you for your review :) Your comments were addressed. PTAL https://codereview.chromium.org/1352243002/diff/40001/content/renderer/media/media_recorder_handler.cc File content/renderer/media/media_recorder_handler.cc ...
5 years, 2 months ago (2015-10-07 04:52:19 UTC) #16
msu.koo
@mcasas, Could you take a look this CL?
5 years, 2 months ago (2015-10-13 23:43:30 UTC) #17
mcasas
A few comments. Have you tried using this on an HTML demo page? If so, ...
5 years, 2 months ago (2015-10-16 01:11:03 UTC) #18
msu.koo
Thank you for your review :) This CL is tested with unittest only. @mcasas, Could ...
5 years, 2 months ago (2015-10-21 05:35:51 UTC) #19
msu.koo
5 years, 1 month ago (2015-11-05 06:16:36 UTC) #20
On 2015/10/21 05:35:51, msu.koo wrote:
> Thank you for your review :)
> 
> This CL is tested with unittest only.
> @mcasas, Could you let me know which site I can test for this CL?
> 
>
https://codereview.chromium.org/1352243002/diff/60001/content/renderer/media/...
> File content/renderer/media/media_recorder_handler.h (right):
> 
>
https://codereview.chromium.org/1352243002/diff/60001/content/renderer/media/...
> content/renderer/media/media_recorder_handler.h:65: //                     
bool
> is_key_frame);
> On 2015/10/16 01:11:03, mcasas wrote:
> > ?
> 
> Oops. Removed.
> 
>
https://codereview.chromium.org/1352243002/diff/60001/media/capture/webm_muxer.h
> File media/capture/webm_muxer.h (right):
> 
>
https://codereview.chromium.org/1352243002/diff/60001/media/capture/webm_muxe...
> media/capture/webm_muxer.h:93: std::vector<VideoMuxerArg> video_muxer_args_;
> On 2015/10/16 01:11:03, mcasas wrote:
> > what about an std::map indexed by track_number and removing VideoMuxerArg?
> 
> This std::vector is to get the |track_number| and |fist_frame_timestamp| from
> |track_index|. |track_index| is assigned sequentially, so I use std::vector
> instead of std::map. 
> 
> |track_number| is not same with |track_index| so I think it's hard to use map
> indexed by track_number in this case. Please let me know if I miss something.

@mcasas, could you please take a look this patch?

Powered by Google App Engine
This is Rietveld 408576698