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

Issue 1805013003: Enable implicit signalling for HE AAC v1 & v2 in ADTS. (Closed)

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

Description

Enable implicit signalling for HE AAC v1 & v2 in ADTS. This allows MSE to playback HE AAC v1 (Spectral Band Replication) and v2 (Parametric Stereo) in the ADTS (.acc) container. ADTS is not capable of explicitly signaling these profiles, so the frame's metadata will claim the stream is an earlier profile (e.g AAC LC) and the decoder will later tell us its actually HE AAC. See For more background, see these sections of 2009 ISO-14496-3 1.6.5.2 Implicit and explicit signaling of SBR 1.6.6.2 Implicit and Explicit Signaling of Parametric Stereo TEST=new media unit tests and all manual tests in bug report BUG=534301, 177872 Committed: https://crrev.com/8a400694209ce5d56e013673f8c9e8a2b0a1017c Cr-Commit-Position: refs/heads/master@{#383478}

Patch Set 1 : WIP #

Total comments: 8

Patch Set 2 : Cleanup and tests. #

Patch Set 3 : Test fixes. #

Patch Set 4 : Rebase #

Patch Set 5 : Fix Win build. #

Total comments: 10

Patch Set 6 : Feedback #

Total comments: 12

Patch Set 7 : Feedback 2 #

Patch Set 8 : Typo #

Unified diffs Side-by-side diffs Delta from patch set Stats (+235 lines, -42 lines) Patch
M content/browser/renderer_host/render_process_host_impl.cc View 1 2 3 4 5 6 7 1 chunk +1 line, -0 lines 0 comments Download
M media/base/audio_buffer.h View 2 chunks +7 lines, -1 line 0 comments Download
M media/base/audio_buffer.cc View 1 2 3 4 5 1 chunk +6 lines, -0 lines 0 comments Download
M media/filters/ffmpeg_audio_decoder.cc View 1 3 chunks +49 lines, -16 lines 0 comments Download
M media/renderers/audio_renderer_impl.h View 1 1 chunk +4 lines, -0 lines 0 comments Download
M media/renderers/audio_renderer_impl.cc View 1 2 3 4 5 6 5 chunks +63 lines, -9 lines 0 comments Download
A media/test/data/bear-audio-implicit-he-aac-v1.aac View 1 Binary file 0 comments Download
A media/test/data/bear-audio-implicit-he-aac-v2.aac View 1 Binary file 0 comments Download
A media/test/data/bear-audio-lc-aac.aac View 1 Binary file 0 comments Download
A media/test/data/bear-audio-main-aac.aac View 1 Binary file 0 comments Download
M media/test/pipeline_integration_test.cc View 1 2 3 4 5 6 7 chunks +105 lines, -16 lines 0 comments Download

Messages

Total messages: 28 (11 generated)
chcunningham
https://codereview.chromium.org/1805013003/diff/20001/media/renderers/audio_renderer_impl.cc File media/renderers/audio_renderer_impl.cc (right): https://codereview.chromium.org/1805013003/diff/20001/media/renderers/audio_renderer_impl.cc#newcode408 media/renderers/audio_renderer_impl.cc:408: // WORRY: IF STREAM CHANGES, WHERE DOES MIXER LEARN ...
4 years, 9 months ago (2016-03-17 21:48:19 UTC) #2
DaleCurtis
Needs some formatting and an actual commit message. Not sure if you meant to send ...
4 years, 9 months ago (2016-03-18 00:16:23 UTC) #4
chcunningham
Ready for review :). Will update the description soon. https://codereview.chromium.org/1805013003/diff/20001/media/filters/ffmpeg_audio_decoder.cc File media/filters/ffmpeg_audio_decoder.cc (right): https://codereview.chromium.org/1805013003/diff/20001/media/filters/ffmpeg_audio_decoder.cc#newcode305 media/filters/ffmpeg_audio_decoder.cc:305: ...
4 years, 9 months ago (2016-03-25 01:41:16 UTC) #5
chcunningham
4 years, 9 months ago (2016-03-25 01:41:27 UTC) #6
chcunningham
FYI, this does not cover enabling explicit signalling of HE AAC in the MP4 container ...
4 years, 9 months ago (2016-03-25 19:20:55 UTC) #8
wolenetz
drive-by: Would this CL also improve implicit signalling support for src= (ffmpegdemuxer), especially where ffmpeg ...
4 years, 9 months ago (2016-03-25 19:50:20 UTC) #10
chcunningham
On 2016/03/25 19:50:20, wolenetz wrote: > drive-by: > Would this CL also improve implicit signalling ...
4 years, 9 months ago (2016-03-25 19:53:58 UTC) #12
chcunningham
On 2016/03/25 19:53:58, chcunningham wrote: > On 2016/03/25 19:50:20, wolenetz wrote: > > drive-by: > ...
4 years, 9 months ago (2016-03-25 21:38:59 UTC) #13
DaleCurtis
https://codereview.chromium.org/1805013003/diff/100001/media/base/audio_buffer.cc File media/base/audio_buffer.cc (right): https://codereview.chromium.org/1805013003/diff/100001/media/base/audio_buffer.cc#newcode213 media/base/audio_buffer.cc:213: if (!end_of_stream_) Seems like something that could be DCHECK'd? ...
4 years, 9 months ago (2016-03-25 21:57:00 UTC) #14
chcunningham
https://codereview.chromium.org/1805013003/diff/100001/media/base/audio_buffer.cc File media/base/audio_buffer.cc (right): https://codereview.chromium.org/1805013003/diff/100001/media/base/audio_buffer.cc#newcode213 media/base/audio_buffer.cc:213: if (!end_of_stream_) On 2016/03/25 21:57:00, DaleCurtis wrote: > Seems ...
4 years, 9 months ago (2016-03-25 23:51:30 UTC) #15
chcunningham
+ccameron for render_process_host_impl.cc https://codereview.chromium.org/1805013003/diff/100001/media/renderers/audio_renderer_impl.cc File media/renderers/audio_renderer_impl.cc (right): https://codereview.chromium.org/1805013003/diff/100001/media/renderers/audio_renderer_impl.cc#newcode381 media/renderers/audio_renderer_impl.cc:381: (hw_params.channel_layout() == CHANNEL_LAYOUT_DISCRETE) On 2016/03/25 21:57:00, ...
4 years, 9 months ago (2016-03-25 23:52:17 UTC) #17
DaleCurtis
lgtm % nits and a couple bugs. https://codereview.chromium.org/1805013003/diff/120001/media/renderers/audio_renderer_impl.cc File media/renderers/audio_renderer_impl.cc (right): https://codereview.chromium.org/1805013003/diff/120001/media/renderers/audio_renderer_impl.cc#newcode378 media/renderers/audio_renderer_impl.cc:378: bool try_supported_channel_layouts_win ...
4 years, 9 months ago (2016-03-25 23:57:51 UTC) #18
chcunningham
Thanks Dale https://codereview.chromium.org/1805013003/diff/120001/media/renderers/audio_renderer_impl.cc File media/renderers/audio_renderer_impl.cc (right): https://codereview.chromium.org/1805013003/diff/120001/media/renderers/audio_renderer_impl.cc#newcode378 media/renderers/audio_renderer_impl.cc:378: bool try_supported_channel_layouts_win = false; On 2016/03/25 23:57:51, ...
4 years, 9 months ago (2016-03-26 00:31:36 UTC) #19
ccameron
rphi lgtm
4 years, 9 months ago (2016-03-26 10:32:57 UTC) #21
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1805013003/160001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1805013003/160001
4 years, 8 months ago (2016-03-28 03:00:39 UTC) #24
commit-bot: I haz the power
Committed patchset #8 (id:160001)
4 years, 8 months ago (2016-03-28 04:13:33 UTC) #26
commit-bot: I haz the power
4 years, 8 months ago (2016-03-28 04:14:44 UTC) #28
Message was sent while issue was closed.
Patchset 8 (id:??) landed as
https://crrev.com/8a400694209ce5d56e013673f8c9e8a2b0a1017c
Cr-Commit-Position: refs/heads/master@{#383478}

Powered by Google App Engine
This is Rietveld 408576698