summaryrefslogtreecommitdiffstats
path: root/media/mp4
Commit message (Collapse)AuthorAgeFilesLines
* Fix MediaSource code so it can handle HE-AAC content that uses implicit ↵acolwell@chromium.org2012-07-216-22/+61
| | | | | | | | | | | signalling. BUG=135674 TEST=Manual testing with the content in the bug. Review URL: https://chromiumcodereview.appspot.com/10795050 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@147747 0039d316-1c4b-4281-b951-d872f2087c98
* Disallowed operator= to fix build on Visual Studio 2010.vitalybuka@chromium.org2012-07-202-0/+6
| | | | | | | | | | | | | Definition of TrackRunInfo is required to compile std::vector<TrackRunInfo>::opearator= Fixed linking error on FileType if incremental_chrome_dll=1 component=shared_library. BUG=None TEST=None Review URL: https://chromiumcodereview.appspot.com/10808039 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@147610 0039d316-1c4b-4281-b951-d872f2087c98
* Add HE AAC support to ISO BMFF.xiaomings@google.com2012-07-1911-32/+727
| | | | | | | | | | | | | | | | | | | | Was https://chromiumcodereview.appspot.com/10753005/. The original cl also includes abstraction of BitReader class used by H264Parser. It includes bugs that break the H264Parser. In this cl I removed the abstraction and make the BitReader used by H264Parser independent to the one used by esds parser because of: 1. The original cl introduce bugs. 2. Even if we fix the bugs, we may not be able to make the generalized class as fast as the old one while keeping the abstraction. 3. The H264 bit stream use very special syntax on escaping and trailing zero bits, which might not be a good candidate for abstraction. BUG=134445 TEST=BitReaderTest, AACTest Review URL: https://chromiumcodereview.appspot.com/10780026 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@147511 0039d316-1c4b-4281-b951-d872f2087c98
* Add TrackRunIteratorTest, and refactor TrackRunIterator interface.strobe@google.com2012-07-188-266/+463
| | | | | | | | | | BUG= TEST=TrackRunIteratorTest Review URL: https://chromiumcodereview.appspot.com/10778002 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@147173 0039d316-1c4b-4281-b951-d872f2087c98
* Revert 145769 (broke test stream, removed needed HasMoreRBSPData, added ↵fischman@chromium.org2012-07-1712-734/+33
| | | | | | | | | | | | | | | | | | | | | extra ops) - Add HE AAC support to ISO BMFF. Also abstract common code in H264BitReader into BitReader for reusing. Was: https://chromiumcodereview.appspot.com/10710002/ In the submitted patch of the last issue, the media.gyp included a non-existing file. This error hadn't been caught by try but later got caught by the build process and reverted the commit. So I create this issue to submit the fixed patch. BUG=134445 TEST=BitReaderTest, AACTest Review URL: https://chromiumcodereview.appspot.com/10753005 TBR=xiaomings@google.com Review URL: https://chromiumcodereview.appspot.com/10779025 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@146927 0039d316-1c4b-4281-b951-d872f2087c98
* Add HE AAC support to ISO BMFF.xiaomings@google.com2012-07-0912-33/+734
| | | | | | | | | | | | | | | | Also abstract common code in H264BitReader into BitReader for reusing. Was: https://chromiumcodereview.appspot.com/10710002/ In the submitted patch of the last issue, the media.gyp included a non-existing file. This error hadn't been caught by try but later got caught by the build process and reverted the commit. So I create this issue to submit the fixed patch. BUG=134445 TEST=BitReaderTest, AACTest Review URL: https://chromiumcodereview.appspot.com/10753005 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@145769 0039d316-1c4b-4281-b951-d872f2087c98
* Revert 145617 - Add HE AAC support to ISO BMFF.cpu@chromium.org2012-07-0612-734/+33
| | | | | | | | | | | | | | | | | | 1. Parse esds box to get HE AAC config. 2. Send audio config from AAC header to decoder instead of the one embedded in SampleDescription. 3. Convert raw audio data into ADTS before sending to decoder. 4. Abstract general bit stream code from H264BitReader into media::BitReader. BUG=134445 TEST=BitReaderTest, AACTest Review URL: https://chromiumcodereview.appspot.com/10710002 TBR=xiaomings@google.com Review URL: https://chromiumcodereview.appspot.com/10693115 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@145621 0039d316-1c4b-4281-b951-d872f2087c98
* Add HE AAC support to ISO BMFF.xiaomings@google.com2012-07-0612-33/+734
| | | | | | | | | | | | | | | 1. Parse esds box to get HE AAC config. 2. Send audio config from AAC header to decoder instead of the one embedded in SampleDescription. 3. Convert raw audio data into ADTS before sending to decoder. 4. Abstract general bit stream code from H264BitReader into media::BitReader. BUG=134445 TEST=BitReaderTest, AACTest Review URL: https://chromiumcodereview.appspot.com/10710002 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@145617 0039d316-1c4b-4281-b951-d872f2087c98
* The ISO BMFF Media Source parser supplied decode timestamps instead of ↵strobe@google.com2012-06-285-10/+10
| | | | | | | | | | | | | presentation timestamps, resulting in incorrect playback. This patch makes the source buffer explicitly reference only decode timestamps as an intermediate step toward making it aware of buffer reordering. Additionally, FFmpegVideoDecoder will attempt to recover a framerate from the first sample duration it sees if the decoder config has a framerate of zero. BUG=134262 TEST=SourceBufferStreamTest, manual playback tests Review URL: https://chromiumcodereview.appspot.com/10669005 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@144724 0039d316-1c4b-4281-b951-d872f2087c98
* Temporary fix to allow ISO BMFF quality switching in Media Source.strobe@google.com2012-06-283-8/+34
| | | | | | | | | | BUG=122913 TEST=MP4StreamParserTest Review URL: https://chromiumcodereview.appspot.com/10656022 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@144618 0039d316-1c4b-4281-b951-d872f2087c98
* Recover pixel aspect ratio in ISO BMFF parser.strobe@google.com2012-06-273-3/+28
| | | | | | | | | | BUG=134801 TEST=Manual (non-public media file) Review URL: https://chromiumcodereview.appspot.com/10689003 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@144537 0039d316-1c4b-4281-b951-d872f2087c98
* Flush sample buffers when reading new segments in Media Source BMFF parser.strobe@google.com2012-06-273-11/+35
| | | | | | | | | | BUG=134274 TEST=MP4StreamParserTest Review URL: https://chromiumcodereview.appspot.com/10660005 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@144410 0039d316-1c4b-4281-b951-d872f2087c98
* Coverity: Fix a pass-by-value.jhawkins@chromium.org2012-06-201-1/+1
| | | | | | | | | | | | | | CID_COUNT=1 CID=104236 BUG=none TEST=none R=groby TBR=vrk Review URL: https://chromiumcodereview.appspot.com/10578050 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@143267 0039d316-1c4b-4281-b951-d872f2087c98
* Coverity: Fix uninitialized scalar variables.kmadhusu@chromium.org2012-06-204-21/+85
| | | | | | | | | | | CID=104262, 104261, 104260, 104259, 104258, 104257, 104256, 104255, 104254, 104253, 104252, 104251, 104250, 104249, 104248, 104247, 104246, 104245, 104244, 104243, 104242 BUG=none TEST=none TBR=acolwell@chromium.org Review URL: https://chromiumcodereview.appspot.com/10579031 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@143229 0039d316-1c4b-4281-b951-d872f2087c98
* Fix for a ChromeOS uninitialized variable warning.strobe@google.com2012-06-191-2/+11
| | | | | | | | | | | The |is_encrypted| flag is also disabled to avoid any use of the incomplete encryption code. TEST=Manual, run on try bot Review URL: https://chromiumcodereview.appspot.com/10579004 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@142975 0039d316-1c4b-4281-b951-d872f2087c98
* Generalize AesDecryptor to make it more spec compliant.xhwang@chromium.org2012-06-162-5/+5
| | | | | | | | | | BUG=123260 TEST=media_unittests, encrypted-media layout tests. Review URL: https://chromiumcodereview.appspot.com/10534096 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@142553 0039d316-1c4b-4281-b951-d872f2087c98
* Implement ISO BMFF support in Media Source (try 2).strobe@google.com2012-06-1520-0/+3143
| | | | | | | | | | | Previous review: https://chromiumcodereview.appspot.com/10536014/ BUG=129072 TEST=MP4StreamParserTest Review URL: https://chromiumcodereview.appspot.com/10534172 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@142409 0039d316-1c4b-4281-b951-d872f2087c98
* Revert 142268 - Implement ISO BMFF support in Media Source.gbillock@chromium.org2012-06-1520-3142/+0
| | | | | | | | | | | | | BUG=129072 TEST=MP4StreamParserTest Review URL: https://chromiumcodereview.appspot.com/10536014 TBR=strobe@google.com Review URL: https://chromiumcodereview.appspot.com/10533164 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@142283 0039d316-1c4b-4281-b951-d872f2087c98
* Implement ISO BMFF support in Media Source.strobe@google.com2012-06-1420-0/+3142
BUG=129072 TEST=MP4StreamParserTest Review URL: https://chromiumcodereview.appspot.com/10536014 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@142268 0039d316-1c4b-4281-b951-d872f2087c98