|
|
DescriptionUse width,height for coded_{width,height} in AVStreamToVideoDecoderConfig
Anticipating AVStream.codec->coded_{width,height} will be inaccessible in
ffmpeg soon, this change uses just the width and height values as hints
of the coded size in AVStreamToVideoDecoderConfig (used only in
FFmpegDemuxerStream creation and tests). Once AVStream.codec becomes
deprecated, coded size fields are not externally populated unless we
spin up a temporary ffmpeg decoder to obtain that information.
It also drops the metadata logging in OnFindStreamInfoDone for
coded_size, since that metadata is no longer different than just width
and height, which are already logged.
Note that MSE MP4 parser has always just used the width, height for
coded size in similar construction of VideoDecoderConfigs in
MP4StreamParser. MSE mp2t and WebM stream parsers appear to populate
coded size more precisely.
Marks VideoDecoderConfig.coded_size() and related histograms.xml
entries as deprecated.
BUG=591845, 665539
TEST=No media_unittests, ffmpeg_regression_tests regression under LSAN on linux
Committed: https://crrev.com/29241f214adfd993990b409c8f42dca858775dc9
Cr-Commit-Position: refs/heads/master@{#432300}
Patch Set 1 #
Total comments: 4
Patch Set 2 : Address comments. #
Dependent Patchsets: Messages
Total messages: 25 (16 generated)
Please take a look. Thanks.
The CQ bit was checked by wolenetz@chromium.org to run a CQ dry run
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.or...
Description was changed from ========== Use width,height for coded_{width,height} in AVStreamToVideoDecoderConfig Anticipating AVStream.codec.coded_{width,height} will be inaccessible in ffmpeg soon, this change uses just the width and height values as hints of the coded size in AVStreamToVideoDecoderConfig (used only in FFmpegDemuxerStream creation and tests). Once AVStream.codec becomes deprecated, coded size fields are not externally populated unless we spin up a temporary ffmpeg decoder to obtain that information. It also drops the metadata logging in OnFindStreamInfoDone for coded_size, since that metadata is no longer different than just width and height, which are already logged. Note that MSE MP4 parser has always just used the width, height for coded size in similar construction of VideoDecoderConfigs in MP4StreamParser. MSE mp2t and WebM stream parsers appear to populate coded size more precisely. BUG=591845 R=dalecurtis@chromium.org TEST=media_unittests, ffmpeg_regression_tests all pass under LSAN on linux ========== to ========== Use width,height for coded_{width,height} in AVStreamToVideoDecoderConfig Anticipating AVStream.codec->coded_{width,height} will be inaccessible in ffmpeg soon, this change uses just the width and height values as hints of the coded size in AVStreamToVideoDecoderConfig (used only in FFmpegDemuxerStream creation and tests). Once AVStream.codec becomes deprecated, coded size fields are not externally populated unless we spin up a temporary ffmpeg decoder to obtain that information. It also drops the metadata logging in OnFindStreamInfoDone for coded_size, since that metadata is no longer different than just width and height, which are already logged. Note that MSE MP4 parser has always just used the width, height for coded size in similar construction of VideoDecoderConfigs in MP4StreamParser. MSE mp2t and WebM stream parsers appear to populate coded size more precisely. BUG=591845 R=dalecurtis@chromium.org TEST=media_unittests, ffmpeg_regression_tests all pass under LSAN on linux ==========
Description was changed from ========== Use width,height for coded_{width,height} in AVStreamToVideoDecoderConfig Anticipating AVStream.codec->coded_{width,height} will be inaccessible in ffmpeg soon, this change uses just the width and height values as hints of the coded size in AVStreamToVideoDecoderConfig (used only in FFmpegDemuxerStream creation and tests). Once AVStream.codec becomes deprecated, coded size fields are not externally populated unless we spin up a temporary ffmpeg decoder to obtain that information. It also drops the metadata logging in OnFindStreamInfoDone for coded_size, since that metadata is no longer different than just width and height, which are already logged. Note that MSE MP4 parser has always just used the width, height for coded size in similar construction of VideoDecoderConfigs in MP4StreamParser. MSE mp2t and WebM stream parsers appear to populate coded size more precisely. BUG=591845 R=dalecurtis@chromium.org TEST=media_unittests, ffmpeg_regression_tests all pass under LSAN on linux ========== to ========== Use width,height for coded_{width,height} in AVStreamToVideoDecoderConfig Anticipating AVStream.codec->coded_{width,height} will be inaccessible in ffmpeg soon, this change uses just the width and height values as hints of the coded size in AVStreamToVideoDecoderConfig (used only in FFmpegDemuxerStream creation and tests). Once AVStream.codec becomes deprecated, coded size fields are not externally populated unless we spin up a temporary ffmpeg decoder to obtain that information. It also drops the metadata logging in OnFindStreamInfoDone for coded_size, since that metadata is no longer different than just width and height, which are already logged. Note that MSE MP4 parser has always just used the width, height for coded size in similar construction of VideoDecoderConfigs in MP4StreamParser. MSE mp2t and WebM stream parsers appear to populate coded size more precisely. BUG=591845 R=dalecurtis@chromium.org TEST=No media_unittests, ffmpeg_regression_tests regression under LSAN on linux ==========
The CQ bit was unchecked by commit-bot@chromium.org
Dry run: This issue passed the CQ dry run.
https://codereview.chromium.org/2506533002/diff/1/media/ffmpeg/ffmpeg_common.cc File media/ffmpeg/ffmpeg_common.cc (right): https://codereview.chromium.org/2506533002/diff/1/media/ffmpeg/ffmpeg_common.... media/ffmpeg/ffmpeg_common.cc:444: // Anticipating AVStream.codec.coded_{width,height} will be inaccessible in Mark VideoDecoderConfig coded_{width,height} as deprecated and add a tracking bug to remove. https://codereview.chromium.org/2506533002/diff/1/media/filters/ffmpeg_demuxe... File media/filters/ffmpeg_demuxer.cc (left): https://codereview.chromium.org/2506533002/diff/1/media/filters/ffmpeg_demuxe... media/filters/ffmpeg_demuxer.cc:164: UMA_HISTOGRAM_COUNTS_10000("Media.VideoCodedWidth", Mark histograms.xml entries as deprecated.
Description was changed from ========== Use width,height for coded_{width,height} in AVStreamToVideoDecoderConfig Anticipating AVStream.codec->coded_{width,height} will be inaccessible in ffmpeg soon, this change uses just the width and height values as hints of the coded size in AVStreamToVideoDecoderConfig (used only in FFmpegDemuxerStream creation and tests). Once AVStream.codec becomes deprecated, coded size fields are not externally populated unless we spin up a temporary ffmpeg decoder to obtain that information. It also drops the metadata logging in OnFindStreamInfoDone for coded_size, since that metadata is no longer different than just width and height, which are already logged. Note that MSE MP4 parser has always just used the width, height for coded size in similar construction of VideoDecoderConfigs in MP4StreamParser. MSE mp2t and WebM stream parsers appear to populate coded size more precisely. BUG=591845 R=dalecurtis@chromium.org TEST=No media_unittests, ffmpeg_regression_tests regression under LSAN on linux ========== to ========== Use width,height for coded_{width,height} in AVStreamToVideoDecoderConfig Anticipating AVStream.codec->coded_{width,height} will be inaccessible in ffmpeg soon, this change uses just the width and height values as hints of the coded size in AVStreamToVideoDecoderConfig (used only in FFmpegDemuxerStream creation and tests). Once AVStream.codec becomes deprecated, coded size fields are not externally populated unless we spin up a temporary ffmpeg decoder to obtain that information. It also drops the metadata logging in OnFindStreamInfoDone for coded_size, since that metadata is no longer different than just width and height, which are already logged. Note that MSE MP4 parser has always just used the width, height for coded size in similar construction of VideoDecoderConfigs in MP4StreamParser. MSE mp2t and WebM stream parsers appear to populate coded size more precisely. BUG=591845 TEST=No media_unittests, ffmpeg_regression_tests regression under LSAN on linux ==========
wolenetz@chromium.org changed reviewers: + holte@chromium.org
Please take a look at patch set 2; all previous comments are addressed. dalecurtis@: everything holte@: histograms.xml Thanks! https://codereview.chromium.org/2506533002/diff/1/media/ffmpeg/ffmpeg_common.cc File media/ffmpeg/ffmpeg_common.cc (right): https://codereview.chromium.org/2506533002/diff/1/media/ffmpeg/ffmpeg_common.... media/ffmpeg/ffmpeg_common.cc:444: // Anticipating AVStream.codec.coded_{width,height} will be inaccessible in On 2016/11/15 19:18:22, DaleCurtis wrote: > Mark VideoDecoderConfig coded_{width,height} as deprecated and add a tracking > bug to remove. Done. https://codereview.chromium.org/2506533002/diff/1/media/filters/ffmpeg_demuxe... File media/filters/ffmpeg_demuxer.cc (left): https://codereview.chromium.org/2506533002/diff/1/media/filters/ffmpeg_demuxe... media/filters/ffmpeg_demuxer.cc:164: UMA_HISTOGRAM_COUNTS_10000("Media.VideoCodedWidth", On 2016/11/15 19:18:22, DaleCurtis wrote: > Mark histograms.xml entries as deprecated. Done.
The CQ bit was checked by wolenetz@chromium.org to run a CQ dry run
Description was changed from ========== Use width,height for coded_{width,height} in AVStreamToVideoDecoderConfig Anticipating AVStream.codec->coded_{width,height} will be inaccessible in ffmpeg soon, this change uses just the width and height values as hints of the coded size in AVStreamToVideoDecoderConfig (used only in FFmpegDemuxerStream creation and tests). Once AVStream.codec becomes deprecated, coded size fields are not externally populated unless we spin up a temporary ffmpeg decoder to obtain that information. It also drops the metadata logging in OnFindStreamInfoDone for coded_size, since that metadata is no longer different than just width and height, which are already logged. Note that MSE MP4 parser has always just used the width, height for coded size in similar construction of VideoDecoderConfigs in MP4StreamParser. MSE mp2t and WebM stream parsers appear to populate coded size more precisely. BUG=591845 TEST=No media_unittests, ffmpeg_regression_tests regression under LSAN on linux ========== to ========== Use width,height for coded_{width,height} in AVStreamToVideoDecoderConfig Anticipating AVStream.codec->coded_{width,height} will be inaccessible in ffmpeg soon, this change uses just the width and height values as hints of the coded size in AVStreamToVideoDecoderConfig (used only in FFmpegDemuxerStream creation and tests). Once AVStream.codec becomes deprecated, coded size fields are not externally populated unless we spin up a temporary ffmpeg decoder to obtain that information. It also drops the metadata logging in OnFindStreamInfoDone for coded_size, since that metadata is no longer different than just width and height, which are already logged. Note that MSE MP4 parser has always just used the width, height for coded size in similar construction of VideoDecoderConfigs in MP4StreamParser. MSE mp2t and WebM stream parsers appear to populate coded size more precisely. BUG=591845, 665539 TEST=No media_unittests, ffmpeg_regression_tests regression under LSAN on linux ==========
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.or...
Description was changed from ========== Use width,height for coded_{width,height} in AVStreamToVideoDecoderConfig Anticipating AVStream.codec->coded_{width,height} will be inaccessible in ffmpeg soon, this change uses just the width and height values as hints of the coded size in AVStreamToVideoDecoderConfig (used only in FFmpegDemuxerStream creation and tests). Once AVStream.codec becomes deprecated, coded size fields are not externally populated unless we spin up a temporary ffmpeg decoder to obtain that information. It also drops the metadata logging in OnFindStreamInfoDone for coded_size, since that metadata is no longer different than just width and height, which are already logged. Note that MSE MP4 parser has always just used the width, height for coded size in similar construction of VideoDecoderConfigs in MP4StreamParser. MSE mp2t and WebM stream parsers appear to populate coded size more precisely. BUG=591845, 665539 TEST=No media_unittests, ffmpeg_regression_tests regression under LSAN on linux ========== to ========== Use width,height for coded_{width,height} in AVStreamToVideoDecoderConfig Anticipating AVStream.codec->coded_{width,height} will be inaccessible in ffmpeg soon, this change uses just the width and height values as hints of the coded size in AVStreamToVideoDecoderConfig (used only in FFmpegDemuxerStream creation and tests). Once AVStream.codec becomes deprecated, coded size fields are not externally populated unless we spin up a temporary ffmpeg decoder to obtain that information. It also drops the metadata logging in OnFindStreamInfoDone for coded_size, since that metadata is no longer different than just width and height, which are already logged. Note that MSE MP4 parser has always just used the width, height for coded size in similar construction of VideoDecoderConfigs in MP4StreamParser. MSE mp2t and WebM stream parsers appear to populate coded size more precisely. Marks VideoDecoderConfig.coded_size() and related histograms.xml entries as deprecated. BUG=591845, 665539 TEST=No media_unittests, ffmpeg_regression_tests regression under LSAN on linux ==========
histograms lgtm
lgtm
The CQ bit was unchecked by wolenetz@chromium.org
The CQ bit was checked by wolenetz@chromium.org
Thanks for reviews.
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.or...
Message was sent while issue was closed.
Description was changed from ========== Use width,height for coded_{width,height} in AVStreamToVideoDecoderConfig Anticipating AVStream.codec->coded_{width,height} will be inaccessible in ffmpeg soon, this change uses just the width and height values as hints of the coded size in AVStreamToVideoDecoderConfig (used only in FFmpegDemuxerStream creation and tests). Once AVStream.codec becomes deprecated, coded size fields are not externally populated unless we spin up a temporary ffmpeg decoder to obtain that information. It also drops the metadata logging in OnFindStreamInfoDone for coded_size, since that metadata is no longer different than just width and height, which are already logged. Note that MSE MP4 parser has always just used the width, height for coded size in similar construction of VideoDecoderConfigs in MP4StreamParser. MSE mp2t and WebM stream parsers appear to populate coded size more precisely. Marks VideoDecoderConfig.coded_size() and related histograms.xml entries as deprecated. BUG=591845, 665539 TEST=No media_unittests, ffmpeg_regression_tests regression under LSAN on linux ========== to ========== Use width,height for coded_{width,height} in AVStreamToVideoDecoderConfig Anticipating AVStream.codec->coded_{width,height} will be inaccessible in ffmpeg soon, this change uses just the width and height values as hints of the coded size in AVStreamToVideoDecoderConfig (used only in FFmpegDemuxerStream creation and tests). Once AVStream.codec becomes deprecated, coded size fields are not externally populated unless we spin up a temporary ffmpeg decoder to obtain that information. It also drops the metadata logging in OnFindStreamInfoDone for coded_size, since that metadata is no longer different than just width and height, which are already logged. Note that MSE MP4 parser has always just used the width, height for coded size in similar construction of VideoDecoderConfigs in MP4StreamParser. MSE mp2t and WebM stream parsers appear to populate coded size more precisely. Marks VideoDecoderConfig.coded_size() and related histograms.xml entries as deprecated. BUG=591845, 665539 TEST=No media_unittests, ffmpeg_regression_tests regression under LSAN on linux ==========
Message was sent while issue was closed.
Committed patchset #2 (id:20001)
Message was sent while issue was closed.
Description was changed from ========== Use width,height for coded_{width,height} in AVStreamToVideoDecoderConfig Anticipating AVStream.codec->coded_{width,height} will be inaccessible in ffmpeg soon, this change uses just the width and height values as hints of the coded size in AVStreamToVideoDecoderConfig (used only in FFmpegDemuxerStream creation and tests). Once AVStream.codec becomes deprecated, coded size fields are not externally populated unless we spin up a temporary ffmpeg decoder to obtain that information. It also drops the metadata logging in OnFindStreamInfoDone for coded_size, since that metadata is no longer different than just width and height, which are already logged. Note that MSE MP4 parser has always just used the width, height for coded size in similar construction of VideoDecoderConfigs in MP4StreamParser. MSE mp2t and WebM stream parsers appear to populate coded size more precisely. Marks VideoDecoderConfig.coded_size() and related histograms.xml entries as deprecated. BUG=591845, 665539 TEST=No media_unittests, ffmpeg_regression_tests regression under LSAN on linux ========== to ========== Use width,height for coded_{width,height} in AVStreamToVideoDecoderConfig Anticipating AVStream.codec->coded_{width,height} will be inaccessible in ffmpeg soon, this change uses just the width and height values as hints of the coded size in AVStreamToVideoDecoderConfig (used only in FFmpegDemuxerStream creation and tests). Once AVStream.codec becomes deprecated, coded size fields are not externally populated unless we spin up a temporary ffmpeg decoder to obtain that information. It also drops the metadata logging in OnFindStreamInfoDone for coded_size, since that metadata is no longer different than just width and height, which are already logged. Note that MSE MP4 parser has always just used the width, height for coded size in similar construction of VideoDecoderConfigs in MP4StreamParser. MSE mp2t and WebM stream parsers appear to populate coded size more precisely. Marks VideoDecoderConfig.coded_size() and related histograms.xml entries as deprecated. BUG=591845, 665539 TEST=No media_unittests, ffmpeg_regression_tests regression under LSAN on linux Committed: https://crrev.com/29241f214adfd993990b409c8f42dca858775dc9 Cr-Commit-Position: refs/heads/master@{#432300} ==========
Message was sent while issue was closed.
Patchset 2 (id:??) landed as https://crrev.com/29241f214adfd993990b409c8f42dca858775dc9 Cr-Commit-Position: refs/heads/master@{#432300} |