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

Issue 27374002: Add support for avc3 codec string. (Closed)

Created:
7 years, 2 months ago by acolwell GONE FROM CHROMIUM
Modified:
7 years, 2 months ago
CC:
chromium-reviews, cbentzel+watch_chromium.org, jam, joi+watch-content_chromium.org, feature-media-reviews_chromium.org, darin-cc_chromium.org, wjia+watch_chromium.org
Visibility:
Public.

Description

Add support for avc3 codec string. The avc3 codec string is used for H.264 content where the SPS & PPS are included at the beginning of each access point instead of in the file headers. This change just allows these streams to be played since our decoders already support this. In fact, our avc1 code essentially creates avc3 style streams for the decoder anyways. BUG=306545 TEST=PipelineIntegrationTest.BasicPlayback_MediaSource_VideoOnly_MP4_AVC3 Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=229347

Patch Set 1 #

Patch Set 2 : reupload #

Total comments: 3

Patch Set 3 : Update chrome_key_systems and browser_test. #

Total comments: 10

Patch Set 4 : Address CR comments #

Unified diffs Side-by-side diffs Delta from patch set Stats (+75 lines, -15 lines) Patch
M chrome/browser/media/encrypted_media_istypesupported_browsertest.cc View 1 2 3 10 chunks +28 lines, -0 lines 0 comments Download
M chrome/renderer/media/chrome_key_systems.cc View 1 2 3 chunks +5 lines, -4 lines 0 comments Download
M content/renderer/media/crypto/key_systems.cc View 2 chunks +2 lines, -2 lines 0 comments Download
M media/filters/pipeline_integration_test.cc View 3 chunks +21 lines, -0 lines 0 comments Download
M media/filters/stream_parser_factory.cc View 2 chunks +6 lines, -3 lines 0 comments Download
M media/mp4/box_definitions.h View 1 chunk +2 lines, -0 lines 0 comments Download
M media/mp4/box_definitions.cc View 1 chunk +8 lines, -3 lines 0 comments Download
M media/mp4/fourccs.h View 1 chunk +1 line, -0 lines 0 comments Download
M media/mp4/mp4_stream_parser.cc View 1 chunk +1 line, -3 lines 0 comments Download
A + media/test/data/bear-1280x720-v_frag-avc3.mp4 View Binary file 0 comments Download
M net/base/mime_util.cc View 1 chunk +1 line, -0 lines 0 comments Download

Messages

Total messages: 20 (0 generated)
acolwell GONE FROM CHROMIUM
7 years, 2 months ago (2013-10-15 18:07:04 UTC) #1
scherkus (not reviewing)
patch upload is messed up -- try again
7 years, 2 months ago (2013-10-15 20:04:33 UTC) #2
acolwell GONE FROM CHROMIUM
On 2013/10/15 20:04:33, scherkus wrote: > patch upload is messed up -- try again Done
7 years, 2 months ago (2013-10-15 20:37:16 UTC) #3
scherkus (not reviewing)
lgtm https://codereview.chromium.org/27374002/diff/14001/net/base/mime_util.cc File net/base/mime_util.cc (right): https://codereview.chromium.org/27374002/diff/14001/net/base/mime_util.cc#newcode318 net/base/mime_util.cc:318: "avc3", this affects canplaytype -- what about a ...
7 years, 2 months ago (2013-10-15 22:51:12 UTC) #4
acolwell GONE FROM CHROMIUM
https://codereview.chromium.org/27374002/diff/14001/net/base/mime_util.cc File net/base/mime_util.cc (right): https://codereview.chromium.org/27374002/diff/14001/net/base/mime_util.cc#newcode318 net/base/mime_util.cc:318: "avc3", On 2013/10/15 22:51:12, scherkus wrote: > this affects ...
7 years, 2 months ago (2013-10-15 23:04:11 UTC) #5
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/acolwell@chromium.org/27374002/14001
7 years, 2 months ago (2013-10-15 23:08:41 UTC) #6
ddorwin
https://codereview.chromium.org/27374002/diff/14001/content/renderer/media/crypto/key_systems.cc File content/renderer/media/crypto/key_systems.cc (right): https://codereview.chromium.org/27374002/diff/14001/content/renderer/media/crypto/key_systems.cc#newcode49 content/renderer/media/crypto/key_systems.cc:49: info.supported_types.push_back(std::make_pair(kVideoMp4, kMp4aAvc1Avc3)); We should also update chrome_key_systems.cc. External Clear ...
7 years, 2 months ago (2013-10-15 23:41:27 UTC) #7
commit-bot: I haz the power
Retried try job too often on chromium_presubmit for step(s) presubmit http://build.chromium.org/p/tryserver.chromium/buildstatus?builder=chromium_presubmit&number=30363
7 years, 2 months ago (2013-10-15 23:41:55 UTC) #8
acolwell GONE FROM CHROMIUM
ddorwin@ : Please key system & browser test changes. I believe everything should support avc3 ...
7 years, 2 months ago (2013-10-16 16:58:27 UTC) #9
ddorwin
lgtm % comments https://codereview.chromium.org/27374002/diff/36001/chrome/browser/media/encrypted_media_istypesupported_browsertest.cc File chrome/browser/media/encrypted_media_istypesupported_browsertest.cc (right): https://codereview.chromium.org/27374002/diff/36001/chrome/browser/media/encrypted_media_istypesupported_browsertest.cc#newcode457 chrome/browser/media/encrypted_media_istypesupported_browsertest.cc:457: "video/mp4", aac_codec(), kPrefixedClearKey)); should this one ...
7 years, 2 months ago (2013-10-16 17:31:30 UTC) #10
akalin
net lgtm
7 years, 2 months ago (2013-10-16 18:09:06 UTC) #11
acolwell GONE FROM CHROMIUM
https://codereview.chromium.org/27374002/diff/36001/chrome/browser/media/encrypted_media_istypesupported_browsertest.cc File chrome/browser/media/encrypted_media_istypesupported_browsertest.cc (right): https://codereview.chromium.org/27374002/diff/36001/chrome/browser/media/encrypted_media_istypesupported_browsertest.cc#newcode457 chrome/browser/media/encrypted_media_istypesupported_browsertest.cc:457: "video/mp4", aac_codec(), kPrefixedClearKey)); On 2013/10/16 17:31:31, ddorwin wrote: > ...
7 years, 2 months ago (2013-10-16 20:34:40 UTC) #12
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/acolwell@chromium.org/27374002/43001
7 years, 2 months ago (2013-10-16 20:35:19 UTC) #13
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/acolwell@chromium.org/27374002/43001
7 years, 2 months ago (2013-10-16 21:57:10 UTC) #14
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/acolwell@chromium.org/27374002/43001
7 years, 2 months ago (2013-10-17 01:55:05 UTC) #15
commit-bot: I haz the power
Retried try job too often on win7_aura for step(s) browser_tests http://build.chromium.org/p/tryserver.chromium/buildstatus?builder=win7_aura&number=89650
7 years, 2 months ago (2013-10-17 12:07:08 UTC) #16
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/acolwell@chromium.org/27374002/43001
7 years, 2 months ago (2013-10-17 15:45:52 UTC) #17
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/acolwell@chromium.org/27374002/43001
7 years, 2 months ago (2013-10-18 01:42:01 UTC) #18
commit-bot: I haz the power
Change committed as 229347
7 years, 2 months ago (2013-10-18 10:30:00 UTC) #19
tonyg
7 years, 2 months ago (2013-10-18 20:53:31 UTC) #20
Message was sent while issue was closed.
On 2013/10/18 10:30:00, I haz the power (commit-bot) wrote:
> Change committed as 229347

I think this change might have conflicted with a new unused constant warning
(https://codereview.chromium.org/28163003/) to break the perf bots.

http://build.chromium.org/p/chromium.perf/builders/Mac%20Builder/builds/51227...

/b/build/slave/chromium-rel-mac-builder/build/src/chrome/renderer/media/chrome_key_systems.cc:39:12:
error: unused variable 'kAvc1Avc3' [-Werror,-Wunused-const-variable,24]
 const char kAvc1Avc3[] = "avc1,avc3";
            ^
1 error generated.


** BUILD FAILED **

Powered by Google App Engine
This is Rietveld 408576698