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

Issue 1193513006: In screenshare mode, suppress VP8 bitrate overshoot and increase quality (Closed)

Created:
5 years, 6 months ago by sprang_webrtc
Modified:
5 years, 6 months ago
CC:
webrtc-reviews_webrtc.org, yujie_mao (webrtc), Andrew MacDonald, stefan-webrtc, tterriberry_mozilla.com, qiang.lu, niklas.enbom, andresp, perkj_webrtc, mflodman
Base URL:
https://chromium.googlesource.com/external/webrtc.git@master
Target Ref:
refs/pending/heads/master
Project:
webrtc
Visibility:
Public.

Description

In screenshare mode, suppress VP8 bitrate overshoot and increase quality This change includes several improvements: * VP8 configured with new rate control * Detection of frame dropping, with qp bump for next frame * Increased target and TL0 bitrates * Reworked rate control (TL allocation) in screenshare_layers A note on performance: PSNR and SSIM is expected to get slightly worse with this cl. Frame drops and delays should however improve. BUG=4171 R=pbos@webrtc.org, stefan@webrtc.org Committed: https://chromium.googlesource.com/external/webrtc/+/2c4c9148191a10c0e82c9a209d454c6b1ebbaf20

Patch Set 1 #

Total comments: 20

Patch Set 2 : Addressed comments, some tests added #

Patch Set 3 : More test converage, plus minor frame dropping fix #

Patch Set 4 : Tests done (?) #

Total comments: 12

Patch Set 5 : Addressed comments #

Patch Set 6 : Updated test config #

Patch Set 7 : Test config using the correct using #

Patch Set 8 : Fixed typo #

Patch Set 9 : Rebase #

Unified diffs Side-by-side diffs Delta from patch set Stats (+607 lines, -291 lines) Patch
M talk/media/webrtc/simulcast.cc View 1 chunk +1 line, -1 line 0 comments Download
M talk/media/webrtc/webrtcvideoengine2_unittest.cc View 1 2 3 4 5 6 1 chunk +2 lines, -1 line 0 comments Download
M webrtc/modules/video_coding/codecs/interface/video_error_codes.h View 1 1 chunk +1 line, -0 lines 0 comments Download
M webrtc/modules/video_coding/codecs/vp8/default_temporal_layers.h View 1 chunk +12 lines, -10 lines 0 comments Download
M webrtc/modules/video_coding/codecs/vp8/realtime_temporal_layers.cc View 1 chunk +3 lines, -1 line 0 comments Download
M webrtc/modules/video_coding/codecs/vp8/screenshare_layers.h View 1 2 3 4 2 chunks +51 lines, -20 lines 0 comments Download
M webrtc/modules/video_coding/codecs/vp8/screenshare_layers.cc View 1 2 3 4 5 6 7 4 chunks +180 lines, -80 lines 0 comments Download
M webrtc/modules/video_coding/codecs/vp8/screenshare_layers_unittest.cc View 1 2 3 4 5 chunks +303 lines, -149 lines 0 comments Download
M webrtc/modules/video_coding/codecs/vp8/simulcast_encoder_adapter.cc View 1 chunk +1 line, -4 lines 0 comments Download
M webrtc/modules/video_coding/codecs/vp8/simulcast_unittest.h View 1 chunk +6 lines, -2 lines 0 comments Download
M webrtc/modules/video_coding/codecs/vp8/temporal_layers.h View 1 chunk +3 lines, -1 line 0 comments Download
M webrtc/modules/video_coding/codecs/vp8/vp8_impl.cc View 1 2 3 4 5 6 7 8 10 chunks +27 lines, -16 lines 0 comments Download
M webrtc/modules/video_coding/main/source/generic_encoder.h View 1 1 chunk +1 line, -0 lines 0 comments Download
M webrtc/modules/video_coding/main/source/generic_encoder.cc View 1 2 3 4 3 chunks +12 lines, -2 lines 0 comments Download
M webrtc/video/full_stack.cc View 1 chunk +2 lines, -2 lines 0 comments Download
M webrtc/video/screenshare_loopback.cc View 1 2 3 4 5 6 7 8 1 chunk +2 lines, -2 lines 0 comments Download

Messages

Total messages: 16 (3 generated)
sprang_webrtc
Please take a first pass! I'm working on an new screenshare_layers_unittest, but please add any ...
5 years, 6 months ago (2015-06-17 12:18:22 UTC) #2
stefan-webrtc
https://codereview.webrtc.org/1193513006/diff/1/webrtc/modules/video_coding/codecs/vp8/screenshare_layers.cc File webrtc/modules/video_coding/codecs/vp8/screenshare_layers.cc (right): https://codereview.webrtc.org/1193513006/diff/1/webrtc/modules/video_coding/codecs/vp8/screenshare_layers.cc#newcode125 webrtc/modules/video_coding/codecs/vp8/screenshare_layers.cc:125: int max_bitrate_kbit, Should these say kbps instead? https://codereview.webrtc.org/1193513006/diff/1/webrtc/modules/video_coding/codecs/vp8/screenshare_layers.cc#newcode147 webrtc/modules/video_coding/codecs/vp8/screenshare_layers.cc:147: ...
5 years, 6 months ago (2015-06-18 09:39:02 UTC) #3
sprang_webrtc
Addressed comments. Some tests added, more on the way. https://codereview.webrtc.org/1193513006/diff/1/webrtc/modules/video_coding/codecs/vp8/screenshare_layers.cc File webrtc/modules/video_coding/codecs/vp8/screenshare_layers.cc (right): https://codereview.webrtc.org/1193513006/diff/1/webrtc/modules/video_coding/codecs/vp8/screenshare_layers.cc#newcode125 webrtc/modules/video_coding/codecs/vp8/screenshare_layers.cc:125: ...
5 years, 6 months ago (2015-06-18 13:05:03 UTC) #4
sprang_webrtc
Ping?
5 years, 6 months ago (2015-06-23 13:57:02 UTC) #5
stefan-webrtc
https://codereview.webrtc.org/1193513006/diff/1/webrtc/modules/video_coding/codecs/vp8/vp8_impl.cc File webrtc/modules/video_coding/codecs/vp8/vp8_impl.cc (right): https://codereview.webrtc.org/1193513006/diff/1/webrtc/modules/video_coding/codecs/vp8/vp8_impl.cc#newcode671 webrtc/modules/video_coding/codecs/vp8/vp8_impl.cc:671: codec_.mode == kScreensharing ? 2 : 0); On 2015/06/18 ...
5 years, 6 months ago (2015-06-23 14:28:33 UTC) #6
sprang_webrtc
https://codereview.webrtc.org/1193513006/diff/1/webrtc/modules/video_coding/codecs/vp8/vp8_impl.cc File webrtc/modules/video_coding/codecs/vp8/vp8_impl.cc (right): https://codereview.webrtc.org/1193513006/diff/1/webrtc/modules/video_coding/codecs/vp8/vp8_impl.cc#newcode671 webrtc/modules/video_coding/codecs/vp8/vp8_impl.cc:671: codec_.mode == kScreensharing ? 2 : 0); On 2015/06/23 ...
5 years, 6 months ago (2015-06-23 15:07:31 UTC) #7
stefan-webrtc
LG, but there are still some tests failing. https://codereview.webrtc.org/1193513006/diff/60001/webrtc/modules/video_coding/codecs/vp8/screenshare_layers.cc File webrtc/modules/video_coding/codecs/vp8/screenshare_layers.cc (right): https://codereview.webrtc.org/1193513006/diff/60001/webrtc/modules/video_coding/codecs/vp8/screenshare_layers.cc#newcode24 webrtc/modules/video_coding/codecs/vp8/screenshare_layers.cc:24: static ...
5 years, 6 months ago (2015-06-23 15:45:13 UTC) #8
sprang_webrtc
https://codereview.webrtc.org/1193513006/diff/60001/webrtc/modules/video_coding/codecs/vp8/screenshare_layers.cc File webrtc/modules/video_coding/codecs/vp8/screenshare_layers.cc (right): https://codereview.webrtc.org/1193513006/diff/60001/webrtc/modules/video_coding/codecs/vp8/screenshare_layers.cc#newcode24 webrtc/modules/video_coding/codecs/vp8/screenshare_layers.cc:24: static const int kMaxQpDeltaForSync = 8; On 2015/06/23 15:45:13, ...
5 years, 6 months ago (2015-06-24 07:53:43 UTC) #9
stefan-webrtc
lgtm
5 years, 6 months ago (2015-06-24 08:04:11 UTC) #10
sprang_webrtc
+mflodman for talk/media/webrtc/
5 years, 6 months ago (2015-06-24 08:06:38 UTC) #12
sprang_webrtc
-mflodman +pbos for talk/media/webrtc/
5 years, 6 months ago (2015-06-24 08:43:13 UTC) #14
pbos-webrtc
rs-lgtm for talk/
5 years, 6 months ago (2015-06-24 09:12:08 UTC) #15
sprang_webrtc
5 years, 6 months ago (2015-06-24 09:24:56 UTC) #16
Message was sent while issue was closed.
Committed patchset #9 (id:160001) manually as
2c4c9148191a10c0e82c9a209d454c6b1ebbaf20 (presubmit successful).

Powered by Google App Engine
This is Rietveld 408576698