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

Issue 2435603009: Use ffmpeg for opus decoding, no need to maintain our decoder. (Closed)

Created:
4 years, 2 months ago by DaleCurtis
Modified:
4 years, 1 month ago
CC:
chromium-reviews, feature-media-reviews_chromium.org, posciak+watch_chromium.org
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Use ffmpeg for opus decoding, no need to maintain our decoder. As a bonus this allows WebAudio to start using opus. BUG=482934 TEST=all opus tests pass with the previous expectations. Committed: https://crrev.com/655b0cf987eca28d8035cb3ceb1af6c4b916b179 Cr-Commit-Position: refs/heads/master@{#433433}

Patch Set 1 #

Total comments: 4

Patch Set 2 : Rebase on ffmpeg roll. #

Total comments: 2

Patch Set 3 : Update build configuration. #

Patch Set 4 : Fix content deps now that media's opus dep is private. #

Patch Set 5 : Fix unittest deps too. #

Patch Set 6 : Relocate expectations. #

Patch Set 7 : Fix chromecast and windows errors. #

Patch Set 8 : Rebase. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+76 lines, -635 lines) Patch
M chromecast/media/cma/decoder/cast_audio_decoder_linux.cc View 1 2 3 4 5 6 2 chunks +2 lines, -28 lines 0 comments Download
M content/renderer/BUILD.gn View 1 2 3 4 5 6 7 1 chunk +1 line, -0 lines 0 comments Download
M content/test/BUILD.gn View 1 2 3 4 5 6 7 1 chunk +1 line, -0 lines 0 comments Download
M media/BUILD.gn View 1 2 3 chunks +4 lines, -4 lines 0 comments Download
M media/base/audio_discard_helper.h View 1 2 2 chunks +8 lines, -4 lines 0 comments Download
M media/base/audio_discard_helper.cc View 4 chunks +6 lines, -8 lines 0 comments Download
M media/base/audio_discard_helper_unittest.cc View 15 chunks +15 lines, -15 lines 0 comments Download
M media/ffmpeg/ffmpeg_common.cc View 1 2 3 4 5 6 2 chunks +8 lines, -27 lines 0 comments Download
M media/ffmpeg/ffmpeg_common_unittest.cc View 1 1 chunk +0 lines, -17 lines 0 comments Download
M media/filters/audio_decoder_unittest.cc View 1 2 3 4 5 9 chunks +20 lines, -74 lines 0 comments Download
M media/filters/ffmpeg_audio_decoder.cc View 1 3 chunks +10 lines, -15 lines 0 comments Download
D media/filters/opus_audio_decoder.h View 1 chunk +0 lines, -68 lines 0 comments Download
D media/filters/opus_audio_decoder.cc View 1 chunk +0 lines, -368 lines 0 comments Download
M media/renderers/default_renderer_factory.cc View 2 chunks +0 lines, -3 lines 0 comments Download
M media/test/pipeline_integration_test.cc View 1 2 3 1 chunk +1 line, -1 line 0 comments Download
M media/test/pipeline_integration_test_base.cc View 1 2 chunks +0 lines, -3 lines 0 comments Download

Messages

Total messages: 59 (30 generated)
wolenetz
Looking pretty good. Just a few nits and will need inclusion of ffmpeg configs such ...
4 years, 2 months ago (2016-10-21 22:30:58 UTC) #2
wolenetz
Also, as we chatted, it SGTM to have the following sequence: 1) Land something like ...
4 years, 2 months ago (2016-10-21 22:38:03 UTC) #3
wolenetz
flim@ - will this work with the channel-mapping changes for ambisonic Opus (expected to be ...
4 years, 1 month ago (2016-10-24 21:37:53 UTC) #4
flim-chromium
On 2016/10/24 21:37:53, wolenetz wrote: > flim@ - will this work with the channel-mapping changes ...
4 years, 1 month ago (2016-10-26 22:44:03 UTC) #5
wolenetz
tl;dr: The post-ffmpeg-roll change to remove OpusAudioDecoder and use FFmpegAudioDecoder will need updates to correctly ...
4 years, 1 month ago (2016-11-03 00:17:03 UTC) #6
DaleCurtis
Thanks for the heads up, I'll tinker with it after the roll.
4 years, 1 month ago (2016-11-03 00:26:59 UTC) #7
wolenetz
On 2016/11/03 00:26:59, DaleCurtis wrote: > Thanks for the heads up, I'll tinker with it ...
4 years, 1 month ago (2016-11-03 18:04:16 UTC) #8
DaleCurtis
Oh I see, yeah that's expected :)
4 years, 1 month ago (2016-11-03 18:06:17 UTC) #9
wolenetz
On 2016/11/03 18:06:17, DaleCurtis wrote: > Oh I see, yeah that's expected :) I've now ...
4 years, 1 month ago (2016-11-03 20:44:59 UTC) #10
wolenetz
On 2016/11/03 20:44:59, wolenetz wrote: > On 2016/11/03 18:06:17, DaleCurtis wrote: > > Oh I ...
4 years, 1 month ago (2016-11-17 21:39:22 UTC) #11
DaleCurtis
Rebased on top of the roll. PTAL. The hash change is due to delayed discard ...
4 years, 1 month ago (2016-11-17 23:07:14 UTC) #13
wolenetz
LGTM % two comments: https://codereview.chromium.org/2435603009/diff/1/media/base/audio_discard_helper.h File media/base/audio_discard_helper.h (right): https://codereview.chromium.org/2435603009/diff/1/media/base/audio_discard_helper.h#newcode95 media/base/audio_discard_helper.h:95: // previous encoded buffer. Enabled ...
4 years, 1 month ago (2016-11-18 00:36:42 UTC) #14
DaleCurtis
https://codereview.chromium.org/2435603009/diff/1/media/base/audio_discard_helper.h File media/base/audio_discard_helper.h (right): https://codereview.chromium.org/2435603009/diff/1/media/base/audio_discard_helper.h#newcode95 media/base/audio_discard_helper.h:95: // previous encoded buffer. Enabled automatically if an encoded ...
4 years, 1 month ago (2016-11-18 00:51:27 UTC) #15
DaleCurtis
+avi for content/renderer/BUILD.gn update now that media's opus dep is private.
4 years, 1 month ago (2016-11-18 17:42:07 UTC) #21
Avi (use Gerrit)
lgtm okie dokie
4 years, 1 month ago (2016-11-18 17:54:05 UTC) #26
DaleCurtis
Thanks! Had to fix one more in content/test too.
4 years, 1 month ago (2016-11-18 18:00:17 UTC) #28
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/2435603009/70001
4 years, 1 month ago (2016-11-18 18:00:57 UTC) #30
commit-bot: I haz the power
Try jobs failed on following builders: linux_android_rel_ng on master.tryserver.chromium.android (JOB_FAILED, https://build.chromium.org/p/tryserver.chromium.android/builders/linux_android_rel_ng/builds/183864)
4 years, 1 month ago (2016-11-18 18:27:58 UTC) #32
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/2435603009/90001
4 years, 1 month ago (2016-11-18 18:35:57 UTC) #35
commit-bot: I haz the power
Try jobs failed on following builders: win_chromium_compile_dbg_ng on master.tryserver.chromium.win (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.win/builders/win_chromium_compile_dbg_ng/builds/299720)
4 years, 1 month ago (2016-11-18 19:25:28 UTC) #37
DaleCurtis
+alokp for chromecast/ removal of OpusAudioDecoder.
4 years, 1 month ago (2016-11-18 19:31:19 UTC) #39
alokp
lgtm
4 years, 1 month ago (2016-11-18 23:35:45 UTC) #44
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/2435603009/130001
4 years, 1 month ago (2016-11-18 23:39:06 UTC) #47
commit-bot: I haz the power
Try jobs failed on following builders: linux_chromium_chromeos_rel_ng on master.tryserver.chromium.linux (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.linux/builders/linux_chromium_chromeos_rel_ng/builds/318617)
4 years, 1 month ago (2016-11-19 04:42:59 UTC) #49
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/2435603009/130001
4 years, 1 month ago (2016-11-19 05:35:37 UTC) #51
commit-bot: I haz the power
Try jobs failed on following builders: linux_chromium_chromeos_rel_ng on master.tryserver.chromium.linux (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.linux/builders/linux_chromium_chromeos_rel_ng/builds/318683)
4 years, 1 month ago (2016-11-19 05:59:31 UTC) #53
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/2435603009/130001
4 years, 1 month ago (2016-11-19 19:01:38 UTC) #55
commit-bot: I haz the power
Committed patchset #8 (id:130001)
4 years, 1 month ago (2016-11-20 00:00:40 UTC) #57
commit-bot: I haz the power
4 years, 1 month ago (2016-11-20 00:03:36 UTC) #59
Message was sent while issue was closed.
Patchset 8 (id:??) landed as
https://crrev.com/655b0cf987eca28d8035cb3ceb1af6c4b916b179
Cr-Commit-Position: refs/heads/master@{#433433}

Powered by Google App Engine
This is Rietveld 408576698