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

Issue 1908203002: Adapt encoder behavior to target bitrate (Closed)

Created:
4 years, 8 months ago by Irfan
Modified:
4 years, 6 months ago
Reviewers:
Sergey Ulanov
CC:
chromium-reviews, chromoting-reviews_chromium.org
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Adapt encoder behavior to target bitrate This change utilizes the target bandwidth signal provided by webrtc to tune the encoder behavior. We now support top-off on VP8 to enable better interactive behavior. Also, the frame rate is adapted based on feedback from the encoded data. BUG= Committed: https://crrev.com/3b9c097391f9e068446b691e101a756459e8e898 Cr-Commit-Position: refs/heads/master@{#392985}

Patch Set 1 #

Total comments: 1

Patch Set 2 : Moved webrtc encoder to its own file #

Total comments: 12

Patch Set 3 : Addressed comments #

Patch Set 4 : Remove unnecessary code #

Unified diffs Side-by-side diffs Delta from patch set Stats (+264 lines, -444 lines) Patch
M remoting/codec/BUILD.gn View 1 2 1 chunk +2 lines, -0 lines 0 comments Download
M remoting/codec/video_encoder.h View 1 2 1 chunk +1 line, -0 lines 0 comments Download
A + remoting/codec/webrtc_video_encoder_vpx.h View 1 2 6 chunks +18 lines, -10 lines 0 comments Download
A + remoting/codec/webrtc_video_encoder_vpx.cc View 1 2 19 chunks +107 lines, -77 lines 0 comments Download
M remoting/proto/video.proto View 1 chunk +3 lines, -0 lines 0 comments Download
M remoting/protocol/webrtc_connection_to_client.cc View 1 2 chunks +3 lines, -3 lines 0 comments Download
M remoting/protocol/webrtc_frame_scheduler.h View 1 2 3 2 chunks +12 lines, -3 lines 0 comments Download
M remoting/protocol/webrtc_frame_scheduler.cc View 1 2 3 12 chunks +70 lines, -17 lines 0 comments Download
M remoting/protocol/webrtc_transport.h View 1 1 chunk +1 line, -1 line 0 comments Download
M remoting/protocol/webrtc_transport.cc View 1 2 1 chunk +1 line, -1 line 0 comments Download
M remoting/protocol/webrtc_video_encoder.h View 1 1 chunk +0 lines, -89 lines 0 comments Download
M remoting/protocol/webrtc_video_encoder.cc View 1 1 chunk +0 lines, -221 lines 0 comments Download
A + remoting/protocol/webrtc_video_encoder_factory.h View 1 2 4 chunks +14 lines, -10 lines 0 comments Download
A + remoting/protocol/webrtc_video_encoder_factory.cc View 1 8 chunks +28 lines, -10 lines 0 comments Download
M remoting/remoting_srcs.gypi View 1 2 2 chunks +4 lines, -2 lines 0 comments Download

Messages

Total messages: 22 (8 generated)
Irfan
Lmk if you see any obvious issues with this approach. Am still trying to further ...
4 years, 8 months ago (2016-04-21 22:10:59 UTC) #3
Sergey Ulanov
I don't think we want to change behavior of encoder in our current protocol (which ...
4 years, 8 months ago (2016-04-21 22:55:49 UTC) #4
Sergey Ulanov
lgtm https://codereview.chromium.org/1908203002/diff/20001/remoting/codec/video_encoder.h File remoting/codec/video_encoder.h (right): https://codereview.chromium.org/1908203002/diff/20001/remoting/codec/video_encoder.h#newcode38 remoting/codec/video_encoder.h:38: virtual void UpdateTargetBitrate(uint32_t bitrate) {} bitrate_kbps also make ...
4 years, 7 months ago (2016-05-10 00:00:59 UTC) #5
Irfan
https://codereview.chromium.org/1908203002/diff/20001/remoting/codec/video_encoder.h File remoting/codec/video_encoder.h (right): https://codereview.chromium.org/1908203002/diff/20001/remoting/codec/video_encoder.h#newcode38 remoting/codec/video_encoder.h:38: virtual void UpdateTargetBitrate(uint32_t bitrate) {} On 2016/05/10 00:00:58, Sergey ...
4 years, 7 months ago (2016-05-10 16:30:46 UTC) #6
Sergey Ulanov
lgtm
4 years, 7 months ago (2016-05-10 21:18:46 UTC) #7
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1908203002/40001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1908203002/40001
4 years, 7 months ago (2016-05-11 06:06:04 UTC) #9
commit-bot: I haz the power
Try jobs failed on following builders: chromium_presubmit on tryserver.chromium.linux (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.linux/builders/chromium_presubmit/builds/181073)
4 years, 7 months ago (2016-05-11 06:12:09 UTC) #11
Irfan
I had brought in media/capture to aggregate frame duration, but I realized that is mostly ...
4 years, 7 months ago (2016-05-11 17:08:42 UTC) #12
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1908203002/60001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1908203002/60001
4 years, 7 months ago (2016-05-11 18:03:13 UTC) #15
commit-bot: I haz the power
Committed patchset #4 (id:60001)
4 years, 7 months ago (2016-05-11 18:09:11 UTC) #17
commit-bot: I haz the power
Patchset 4 (id:??) landed as https://crrev.com/3b9c097391f9e068446b691e101a756459e8e898 Cr-Commit-Position: refs/heads/master@{#392985}
4 years, 7 months ago (2016-05-11 18:10:56 UTC) #19
Sergey Ulanov
Looks like with this patch we now get significantly worse numbers in the perf test. ...
4 years, 6 months ago (2016-05-30 11:59:56 UTC) #20
chromium-reviews
I created https://bugs.chromium.org/p/chromium/issues/detail?id=616103 to quantify the behavioral change On Mon, May 30, 2016 at 4:59 ...
4 years, 6 months ago (2016-05-31 15:12:38 UTC) #21
Sergey Ulanov
4 years, 6 months ago (2016-05-31 19:23:39 UTC) #22
Message was sent while issue was closed.
Thanks. FWIW running those tests with your jitter-buffer change does
improve perf test results.

On Tue, May 31, 2016 at 5:12 PM, Irfan Sheriff <isheriff@google.com> wrote:

> I created https://bugs.chromium.org/p/chromium/issues/detail?id=616103 to
> quantify the behavioral change
>
> On Mon, May 30, 2016 at 4:59 AM <sergeyu@chromium.org> wrote:
>
>> Looks like with this patch we now get significantly worse numbers in the
>> perf
>> test. Is that expected?
>>
>> https://codereview.chromium.org/1908203002/
>>
>

-- 
You received this message because you are subscribed to the Google Groups
"Chromium-reviews" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to chromium-reviews+unsubscribe@chromium.org.

Powered by Google App Engine
This is Rietveld 408576698