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}
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
Also, as we chatted, it SGTM to have the following sequence:
1) Land something like https://chromium-review.googlesource.com/#/c/402028/
(enable Chromium ffmpeg libopus decode, using Chromium's third_party/opus)
2) I roll FFmpeg DEPS (including configs resulting from #1) *and* including a
new Chromium piece which modifies FFmpegAudioDecoder to reject Opus decode
attempts (to fall back to the soon-to-be-removed OpusAudioDecoder path)
3) Then we land this CL (and undo the FFmpegAudioDecoder Opus codec rejection
from #2)
wolenetz
flim@ - will this work with the channel-mapping changes for ambisonic Opus (expected to be ...
On 2016/10/24 21:37:53, wolenetz wrote:
> flim@ - will this work with the channel-mapping changes for ambisonic Opus
> (expected to be included in the ffmpeg roll)?
The changes for decoding ambisonic Opus are internal to ffmpeg so it should work
without modifying the the way we decode an opus encoded file. I wasn't able to
get media_unittests to run locally with the changes listed above but because of
the reason above, I believe these changes will also work for ambisonic Opus.
Perhaps it's better for me to wait for these changes to land and then verify
specifically for an ambisonic encoded file?
wolenetz
tl;dr: The post-ffmpeg-roll change to remove OpusAudioDecoder and use FFmpegAudioDecoder will need updates to correctly ...
tl;dr: The post-ffmpeg-roll change to remove OpusAudioDecoder and use
FFmpegAudioDecoder will need updates to correctly handle front/end-trimming.
Detail discovered during M56 FFmpeg roll:
It looks like the front/end-trimming of Opus is broken if we use our current
ffmpeg_audio_decoder with ffmpeg as shim to libopus. Each of the following fails
with wrong hashes, and playback in chrome of
//src/media/tests/data/opus-trimming-test.webm skips too much initial audio and
plays part of the end-beep. (and DCHECK fails:
audio_discard_helper.cc(93)] Check failed: decoder_delay_ == 0u (65535 vs. 0)
DaleCurtis
Thanks for the heads up, I'll tinker with it after the roll.
On 2016/11/03 00:26:59, DaleCurtis wrote:
> Thanks for the heads up, I'll tinker with it after the roll.
It very well might *not* fail with this particular CL applied. I didn't try
that. I just noticed that I, of course as planned, needed to disable
FFmpegAudioDecoder decode of Opus as part of the roll :)
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
On 2016/11/03 18:06:17, DaleCurtis wrote:
> Oh I see, yeah that's expected :)
I've now tried locally on linux x64 post-roll that this CL (with a further patch
to undo my disabling-during-roll of Opus decode by ffmpegaudiodecoder) doesn't
appear to regress media_unittests. I'm still working on a few other issues to
get the roll landed.
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
On 2016/11/03 20:44:59, wolenetz wrote:
> On 2016/11/03 18:06:17, DaleCurtis wrote:
> > Oh I see, yeah that's expected :)
>
> I've now tried locally on linux x64 post-roll that this CL (with a further
patch
> to undo my disabling-during-roll of Opus decode by ffmpegaudiodecoder) doesn't
> appear to regress media_unittests. I'm still working on a few other issues to
> get the roll landed.
The roll is in CQ (patch set 13 of https://codereview.chromium.org/2497603003/).
Please update this CL to rebase on top of it once it's landed, since the roll
includes disabling ffmpeg_audio_decoder decode of Opus. Please also see my
previous comments on patch set 1, here.
DaleCurtis
Description was changed from ========== Use ffmpeg for opus decoding, no need to maintain our ...
4 years, 1 month ago
(2016-11-17 23:06:02 UTC)
#12
Description was changed from
==========
Use ffmpeg for opus decoding, no need to maintain our decoder.
As a bonus this allows WebAudio to start using opus.
BUG=
==========
to
==========
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.
==========
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
Rebased on top of the roll. PTAL. The hash change is due to delayed discard
being incorrectly applied in some cases.
Dry run: Try jobs failed on following builders: android_arm64_dbg_recipe on master.tryserver.chromium.android (JOB_FAILED, https://build.chromium.org/p/tryserver.chromium.android/builders/android_arm64_dbg_recipe/builds/166498) android_clang_dbg_recipe on ...
4 years, 1 month ago
(2016-11-18 04:05:36 UTC)
#19
Dry run: Try jobs failed on following builders: android_cronet on master.tryserver.chromium.android (JOB_FAILED, https://build.chromium.org/p/tryserver.chromium.android/builders/android_cronet/builds/38860) android_n5x_swarming_rel on ...
4 years, 1 month ago
(2016-11-18 17:52:34 UTC)
#25
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
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
Dry run: Try jobs failed on following builders: mac_chromium_rel_ng on master.tryserver.chromium.mac (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.mac/builders/mac_chromium_rel_ng/builds/338936)
4 years, 1 month ago
(2016-11-18 21:36:33 UTC)
#43
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
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
CQ is committing da patch. Bot data: {"patchset_id": 130001, "attempt_start_ts": 1479582093432950, "parent_rev": ["7e7a23048caace1a52c287546235c216d3920d9c", null], "commit_rev": ...
4 years, 1 month ago
(2016-11-20 00:00:16 UTC)
#56
CQ is committing da patch.
Bot data: {"patchset_id": 130001, "attempt_start_ts": 1479582093432950,
"parent_rev": ["7e7a23048caace1a52c287546235c216d3920d9c", null], "commit_rev":
["3c781015aa8eb5e86eef0d34179923da50db0043", null]}
commit-bot: I haz the power
Committed patchset #8 (id:130001)
4 years, 1 month ago
(2016-11-20 00:00:40 UTC)
#57
Message was sent while issue was closed.
Committed patchset #8 (id:130001)
commit-bot: I haz the power
Description was changed from ========== Use ffmpeg for opus decoding, no need to maintain our ...
4 years, 1 month ago
(2016-11-20 00:03:35 UTC)
#58
Message was sent while issue was closed.
Description was changed from
==========
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.
==========
to
==========
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}
==========
commit-bot: I haz the power
Patchset 8 (id:??) landed as https://crrev.com/655b0cf987eca28d8035cb3ceb1af6c4b916b179 Cr-Commit-Position: refs/heads/master@{#433433}
4 years, 1 month ago
(2016-11-20 00:03:36 UTC)
#59
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
Reviewers: Avi (use Gerrit), wolenetz, alokp
Base URL:
Comments: 6