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

Issue 2171133002: Implement opus seek preroll for MediaSourceExtensions. (Closed)

Created:
4 years, 5 months ago by chcunningham
Modified:
4 years ago
Reviewers:
watk, wolenetz
CC:
chromium-reviews, posciak+watch_chromium.org, feature-media-reviews_chromium.org
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Implement opus seek preroll for MediaSourceExtensions. Opus requires that for seeks to time T, we should actually seek to T-preroll to prime the decoder. Decoded samples before time T are discarded by the audio renderer. Src= playbacks already implement this preroll logic in FFmpegDemuxer. BUG=509894 Committed: https://crrev.com/c5bf0429542b3314b0259b278aeeb9d6b308d652 Cr-Commit-Position: refs/heads/master@{#437289}

Patch Set 1 #

Total comments: 18

Patch Set 2 : Rebase & Feedback #

Patch Set 3 : Add dummy fixed point hashes #

Total comments: 7

Patch Set 4 : Fix opus hashes and propogate OPUS_FIXED_POINT define #

Total comments: 2

Patch Set 5 : Feedback #

Unified diffs Side-by-side diffs Delta from patch set Stats (+129 lines, -3 lines) Patch
M media/BUILD.gn View 1 2 3 4 1 chunk +4 lines, -0 lines 0 comments Download
M media/filters/source_buffer_range.h View 1 1 chunk +9 lines, -0 lines 0 comments Download
M media/filters/source_buffer_range.cc View 1 1 chunk +41 lines, -0 lines 0 comments Download
M media/filters/source_buffer_stream.cc View 1 1 chunk +12 lines, -0 lines 0 comments Download
M media/test/pipeline_integration_test.cc View 1 2 3 4 3 chunks +63 lines, -3 lines 0 comments Download

Messages

Total messages: 36 (16 generated)
chcunningham
PTAL. I can write some additional tests for the new source_buffer_range functions, but I want ...
4 years, 5 months ago (2016-07-22 01:46:05 UTC) #2
chcunningham
https://codereview.chromium.org/2171133002/diff/1/media/filters/source_buffer_range.h File media/filters/source_buffer_range.h (right): https://codereview.chromium.org/2171133002/diff/1/media/filters/source_buffer_range.h#newcode40 media/filters/source_buffer_range.h:40: int GetConfigIdAtTime(DecodeTimestamp timestamp); TODO: document these functions https://codereview.chromium.org/2171133002/diff/1/media/filters/source_buffer_stream.cc File ...
4 years, 5 months ago (2016-07-22 01:50:29 UTC) #3
wolenetz
I'm wondering if the config ID verification helpers, since used just once, need not be ...
4 years, 4 months ago (2016-07-25 21:49:02 UTC) #4
wolenetz
On 2016/07/25 21:49:02, wolenetz wrote: > I'm wondering if the config ID verification helpers, since ...
4 years, 4 months ago (2016-07-25 21:50:41 UTC) #7
wolenetz
Also, we chatted offline w.r.t. Opus might need large codec delay (multiple frames) to preroll ...
4 years, 4 months ago (2016-07-25 22:00:15 UTC) #8
chcunningham
>I'm wondering if the config ID verification helpers, since used just once, need >not be ...
4 years ago (2016-12-01 17:07:16 UTC) #11
chcunningham
https://codereview.chromium.org/2171133002/diff/40001/media/test/pipeline_integration_test.cc File media/test/pipeline_integration_test.cc (right): https://codereview.chromium.org/2171133002/diff/40001/media/test/pipeline_integration_test.cc#newcode145 media/test/pipeline_integration_test.cc:145: "-0.47,-0.09,1.28,1.07,1.55,-0.22,"; surprisingly the arm bots didn't fail. not sure ...
4 years ago (2016-12-01 21:12:24 UTC) #16
wolenetz
Looking good % the tests' arm hash peculiarity and 1 comment nit. https://codereview.chromium.org/2171133002/diff/1/media/filters/source_buffer_range.cc File media/filters/source_buffer_range.cc ...
4 years ago (2016-12-02 00:18:50 UTC) #17
wolenetz
https://codereview.chromium.org/2171133002/diff/40001/media/test/pipeline_integration_test.cc File media/test/pipeline_integration_test.cc (right): https://codereview.chromium.org/2171133002/diff/40001/media/test/pipeline_integration_test.cc#newcode145 media/test/pipeline_integration_test.cc:145: "-0.47,-0.09,1.28,1.07,1.55,-0.22,"; On 2016/12/02 00:18:49, wolenetz wrote: > On 2016/12/01 ...
4 years ago (2016-12-02 00:41:04 UTC) #18
wolenetz
R+=watk@ for the fixed-point/lack of pipeline_integration_tests on android arm questions. cros arm seems like the ...
4 years ago (2016-12-02 00:47:56 UTC) #20
watk
On 2016/12/02 00:47:56, wolenetz wrote: > R+=watk@ for the fixed-point/lack of pipeline_integration_tests on android arm ...
4 years ago (2016-12-02 00:58:38 UTC) #21
wolenetz
On 2016/12/02 00:58:38, watk wrote: > On 2016/12/02 00:47:56, wolenetz wrote: > > R+=watk@ for ...
4 years ago (2016-12-02 01:07:16 UTC) #22
chcunningham
Updated the hashes. Fastest way is to just force usage of opus_fixed_point in the opus ...
4 years ago (2016-12-02 21:41:09 UTC) #23
wolenetz
LGTM % 0) fixing public_configs (see below), And filing/updating bug(s) to: 1) get arm pipeline_integration_test ...
4 years ago (2016-12-03 00:48:36 UTC) #24
chcunningham
Thanks Matt > And filing/updating bug(s) to: > 1) get arm pipeline_integration_test coverage on bots ...
4 years ago (2016-12-08 02:17:27 UTC) #25
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/2171133002/80001
4 years ago (2016-12-08 02:19:34 UTC) #28
commit-bot: I haz the power
Try jobs failed on following builders: android_n5x_swarming_rel on master.tryserver.chromium.android (JOB_FAILED, https://build.chromium.org/p/tryserver.chromium.android/builders/android_n5x_swarming_rel/builds/81874)
4 years ago (2016-12-08 03:52:57 UTC) #30
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/2171133002/80001
4 years ago (2016-12-08 17:44:00 UTC) #32
commit-bot: I haz the power
Committed patchset #5 (id:80001)
4 years ago (2016-12-08 18:25:23 UTC) #34
commit-bot: I haz the power
4 years ago (2016-12-08 18:32:19 UTC) #36
Message was sent while issue was closed.
Patchset 5 (id:??) landed as
https://crrev.com/c5bf0429542b3314b0259b278aeeb9d6b308d652
Cr-Commit-Position: refs/heads/master@{#437289}

Powered by Google App Engine
This is Rietveld 408576698