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

Issue 286953005: Roll FFmpeg for M37. (Closed)

Created:
6 years, 7 months ago by DaleCurtis
Modified:
6 years, 7 months ago
CC:
chromium-reviews, hclam+watch_chromium.org, imcheng+watch_chromium.org, hguihot+watch_chromium.org, jasonroberts+watch_google.com, avayvod+watch_chromium.org, pwestin+watch_google.com, feature-media-reviews_chromium.org, miu+watch_chromium.org, hubbe+watch_chromium.org, mikhal+watch_chromium.org, earthdok
Base URL:
https://chromium.googlesource.com/chromium/src
Visibility:
Public.

Description

Roll FFmpeg for M37. Syncs to head as of bebce653e5601ceafa004db0eb6b2c7d4d16f0c0. The roll requires us to stop using some deprecated features: - Replaces av_get_frame_defaults() with av_frame_unref() per docs. - Switches FFmpegVideoDecoder to use ref-counted frames. - Removes error concealment settings and disables error resilience for all platforms except ChromeOS (since it's required for mpeg4). Avoiding these also allows us to disable some deprecated features wholesale via #defines. BUG=119020, 236611 TEST=all tests (and regression tests) pass under asan NOTRY=true R=jrummell@chromium.org, wolenetz@chromium.org Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=271945 Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=271969

Patch Set 1 #

Total comments: 29

Patch Set 2 : Fix tries. Rebase. #

Patch Set 3 : Roll DEPS. Fix tries. Wee. #

Patch Set 4 : Final DEPS. #

Total comments: 17

Patch Set 5 : Comments. Fix ChromeOS. #

Patch Set 6 : Include python changes in DEPS roll. #

Patch Set 7 : Fix compile. #

Patch Set 8 : Roll DEPS for ChromiumOS fixes. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+76 lines, -75 lines) Patch
M DEPS View 1 2 3 4 5 6 7 1 chunk +1 line, -1 line 0 comments Download
M media/base/audio_video_metadata_extractor_unittest.cc View 1 1 chunk +1 line, -1 line 0 comments Download
M media/base/media_file_checker.cc View 1 chunk +4 lines, -2 lines 0 comments Download
M media/cast/test/sender.cc View 1 2 3 4 4 chunks +8 lines, -6 lines 0 comments Download
M media/cdm/ppapi/external_clear_key/ffmpeg_cdm_audio_decoder.cc View 1 1 chunk +1 line, -1 line 0 comments Download
M media/cdm/ppapi/external_clear_key/ffmpeg_cdm_video_decoder.cc View 1 1 chunk +1 line, -1 line 0 comments Download
M media/ffmpeg/ffmpeg_common.h View 1 2 3 2 chunks +9 lines, -1 line 0 comments Download
M media/ffmpeg/ffmpeg_unittest.cc View 1 2 chunks +2 lines, -2 lines 0 comments Download
M media/filters/audio_file_reader.cc View 1 2 1 chunk +3 lines, -1 line 0 comments Download
M media/filters/ffmpeg_audio_decoder.cc View 1 2 3 4 1 chunk +0 lines, -1 line 0 comments Download
M media/filters/ffmpeg_demuxer.cc View 1 2 3 4 5 6 1 chunk +1 line, -9 lines 0 comments Download
M media/filters/ffmpeg_h264_to_annex_b_bitstream_converter.cc View 1 1 chunk +1 line, -7 lines 0 comments Download
M media/filters/ffmpeg_video_decoder.h View 1 1 chunk +4 lines, -2 lines 0 comments Download
M media/filters/ffmpeg_video_decoder.cc View 1 7 chunks +38 lines, -39 lines 0 comments Download
M media/filters/pipeline_integration_test_base.cc View 1 chunk +2 lines, -1 line 0 comments Download

Messages

Total messages: 18 (0 generated)
DaleCurtis
You guys are the last ones to really look at these features, so please take ...
6 years, 7 months ago (2014-05-15 23:40:10 UTC) #1
Alpha Left Google
Drive by: media/cast LGTM.
6 years, 7 months ago (2014-05-16 00:26:36 UTC) #2
jrummell
lgtm
6 years, 7 months ago (2014-05-16 19:08:52 UTC) #3
wolenetz
Looking pretty good. I have a few comments and some questions w.r.t. ffmpeg API usage. ...
6 years, 7 months ago (2014-05-16 19:45:58 UTC) #4
DaleCurtis
https://codereview.chromium.org/286953005/diff/1/media/base/media_file_checker.cc File media/base/media_file_checker.cc (right): https://codereview.chromium.org/286953005/diff/1/media/base/media_file_checker.cc#newcode79 media/base/media_file_checker.cc:79: AVCodecContext* av_context = it->second; On 2014/05/16 19:45:58, wolenetz wrote: ...
6 years, 7 months ago (2014-05-16 19:54:26 UTC) #5
DaleCurtis
Okay, this is ready to go. The one thing incorrect is the value in DEPS, ...
6 years, 7 months ago (2014-05-20 01:13:44 UTC) #6
wolenetz
PS4 is looking pretty good. I suspect my multiple comments like "unref before first decode ...
6 years, 7 months ago (2014-05-20 22:37:10 UTC) #7
wolenetz
On 2014/05/20 22:37:10, wolenetz wrote: > PS4 is looking pretty good. I suspect my multiple ...
6 years, 7 months ago (2014-05-20 22:39:42 UTC) #8
DaleCurtis
https://codereview.chromium.org/286953005/diff/160001/DEPS File DEPS (right): https://codereview.chromium.org/286953005/diff/160001/DEPS#newcode216 DEPS:216: "/chromium/third_party/ffmpeg.git@729388d1521c3ac755ca93daadb4a7b44e047e7c", On 2014/05/20 22:37:10, wolenetz wrote: > In > ...
6 years, 7 months ago (2014-05-20 23:00:44 UTC) #9
wolenetz
PS7 lgtm
6 years, 7 months ago (2014-05-20 23:22:39 UTC) #10
DaleCurtis
The CQ bit was checked by dalecurtis@chromium.org
6 years, 7 months ago (2014-05-20 23:24:16 UTC) #11
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/dalecurtis@chromium.org/286953005/220001
6 years, 7 months ago (2014-05-20 23:25:44 UTC) #12
DaleCurtis
The CQ bit was unchecked by dalecurtis@chromium.org
6 years, 7 months ago (2014-05-21 17:57:45 UTC) #13
DaleCurtis
The CQ bit was checked by dalecurtis@chromium.org
6 years, 7 months ago (2014-05-21 17:57:58 UTC) #14
DaleCurtis
Committed patchset #7 manually as r271945 (presubmit successful).
6 years, 7 months ago (2014-05-21 19:54:04 UTC) #15
DaleCurtis
Committed patchset #8 manually as r271969 (presubmit successful).
6 years, 7 months ago (2014-05-21 20:40:19 UTC) #16
earthdok
On 2014/05/21 20:40:19, DaleCurtis wrote: > Committed patchset #8 manually as r271969 (presubmit successful). This ...
6 years, 7 months ago (2014-05-22 14:25:31 UTC) #17
DaleCurtis
6 years, 7 months ago (2014-05-22 17:28:49 UTC) #18
Message was sent while issue was closed.
Hmm, weird, I was sure I generated the linux-noasm configs, I'll take a look
immediately.

Powered by Google App Engine
This is Rietveld 408576698