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

Issue 2675223002: Reland of Drop frames until specified bitrate is achieved. (Closed)

Created:
3 years, 10 months ago by kthelgason
Modified:
3 years, 9 months ago
CC:
webrtc-reviews_webrtc.org, video-team_agora.io, yujie_mao (webrtc), zhengzhonghou_agora.io, stefan-webrtc, tterriberry_mozilla.com, the sun, mflodman, magjed_webrtc
Target Ref:
refs/heads/master
Project:
webrtc
Visibility:
Public.

Description

Reland of Drop frames until specified bitrate is achieved. (patchset #1 id:1 of https://codereview.webrtc.org/2666303002/ ) Reason for revert: Perf test broke as it made assumptions that quality scaling was turned off. This turns out not to be the case. Fixed by turning quality scaling off for the tests. Original issue's description: > Revert of Drop frames until specified bitrate is achieved. (patchset #12 id:240001 of https://codereview.webrtc.org/2630333002/ ) > > Reason for revert: > due to failures on perf tests (not on perf stats, but fails running due to dcheck failures), see e.g., https://build.chromium.org/p/client.webrtc.perf/builders/Android32%20Tests%20(K%20Nexus5) > > Original issue's description: > > Drop frames until specified bitrate is achieved. > > > > This CL fixes a regression introduced with the new quality scaler > > where the video would no longer start in a scaled mode. This CL adds > > code that compares incoming captured frames to the target bitrate, > > and if they are found to be too large, they are dropped and sinkWants > > set to a lower resolution. The number of dropped frames should be low > > (0-4 in most cases) and should not introduce a noticeable delay, or > > at least should be preferrable to having the first 2-4 seconds of video > > have very low quality. > > > > BUG=webrtc:6953 > > > > Review-Url: https://codereview.webrtc.org/2630333002 > > Cr-Commit-Position: refs/heads/master@{#16391} > > Committed: https://chromium.googlesource.com/external/webrtc/+/83399caec5762d2dad038b8e9d86163e92c18c9f > > TBR=perkj@webrtc.org,sprang@webrtc.org,stefan@webrtc.org,kthelgason@webrtc.org > # Skipping CQ checks because original CL landed less than 1 days ago. > NOPRESUBMIT=true > NOTREECHECKS=true > NOTRY=true > BUG=webrtc:6953 > > Review-Url: https://codereview.webrtc.org/2666303002 > Cr-Commit-Position: refs/heads/master@{#16395} > Committed: https://chromium.googlesource.com/external/webrtc/+/35fc2aa82fb5a562f3f76f2b91a55f05ebfd4874 TBR=perkj@webrtc.org,sprang@webrtc.org,stefan@webrtc.org,minyue@webrtc.org # Not skipping CQ checks because original CL landed more than 1 days ago. BUG=webrtc:6953 Review-Url: https://codereview.webrtc.org/2675223002 Cr-Commit-Position: refs/heads/master@{#16473} Committed: https://chromium.googlesource.com/external/webrtc/+/2bc6864278d74e88711f62b4a735d6e7af4dc4dd

Patch Set 1 #

Patch Set 2 : Turn off quality scaling for screensharing in tests #

Patch Set 3 : rebase #

Patch Set 4 : remove debug prints #

Unified diffs Side-by-side diffs Delta from patch set Stats (+170 lines, -47 lines) Patch
M webrtc/api/video/video_frame.h View 1 2 1 chunk +2 lines, -1 line 0 comments Download
M webrtc/api/video/video_frame.cc View 1 2 1 chunk +4 lines, -0 lines 0 comments Download
M webrtc/media/engine/webrtcvideoengine2_unittest.cc View 1 2 15 chunks +24 lines, -17 lines 0 comments Download
M webrtc/modules/video_coding/utility/default_video_bitrate_allocator.cc View 1 1 chunk +0 lines, -1 line 0 comments Download
M webrtc/video/video_quality_test.h View 1 1 chunk +2 lines, -0 lines 0 comments Download
M webrtc/video/video_quality_test.cc View 1 2 3 4 chunks +10 lines, -11 lines 0 comments Download
M webrtc/video/vie_encoder.h View 1 2 2 chunks +4 lines, -0 lines 0 comments Download
M webrtc/video/vie_encoder.cc View 1 2 7 chunks +43 lines, -8 lines 0 comments Download
M webrtc/video/vie_encoder_unittest.cc View 1 2 10 chunks +81 lines, -9 lines 0 comments Download

Messages

Total messages: 18 (12 generated)
kthelgason
Created Reland of Drop frames until specified bitrate is achieved.
3 years, 10 months ago (2017-02-06 08:48:12 UTC) #1
minyue-webrtc
On 2017/02/06 08:48:12, kthelgason wrote: > Created Reland of Drop frames until specified bitrate is ...
3 years, 10 months ago (2017-02-06 09:06:42 UTC) #2
kthelgason
stefan, sprang: PTAL.
3 years, 10 months ago (2017-02-07 10:30:52 UTC) #5
sprang_webrtc
lgtm
3 years, 10 months ago (2017-02-07 12:11:09 UTC) #12
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.webrtc.org/2675223002/190001
3 years, 10 months ago (2017-02-07 15:00:00 UTC) #15
commit-bot: I haz the power
3 years, 10 months ago (2017-02-07 15:02:28 UTC) #18
Message was sent while issue was closed.
Committed patchset #4 (id:190001) as
https://chromium.googlesource.com/external/webrtc/+/2bc6864278d74e88711f62b4a...

Powered by Google App Engine
This is Rietveld 408576698