KongQun Yang
49dd6e49bb
Always generate version 1 SampleGroupDescription box
...
Version 0 is obsoleted. Also fixes unittest typos.
Change-Id: I0e536ba316ac07ce939dae71752e00db19e3db58
2014-05-08 22:34:22 +00:00
KongQun Yang
80a60b7ef2
Support 64 bit mdat box size
...
Change-Id: I38be77d2d13eceaeeda6f3ff270c8d7cd1d2a300
2014-05-08 21:55:55 +00:00
Kongqun Yang
1773d08b8d
Add new flag max_sd_pixels to determine SD or HD track
...
Change-Id: If841af98345177cf1832b9e5b91148168b000f44
2014-05-05 11:35:44 -07:00
Kongqun Yang
53287e5fe7
Add m2ts and audio tests in packager_test
...
Change-Id: I11cc65a2baa69bc5e3bc022027bca6712f810f1a
2014-05-02 22:16:21 +00:00
Kongqun Yang
30cb6948e5
Add MediaParser::Flush to flush the parser
...
Change-Id: Ic12a045dda47ccd270c8c3e9e83768e04a53ad58
2014-04-29 20:33:04 +00:00
Thomas Inskip
77e9302aa9
Cleaned up TODOs from MPEG-2 code.
2014-04-29 11:51:28 -07:00
Thomas Inskip
67bdd89ba2
Implemented H.264 byte stream to unit stream conversion and other components
...
needed for MPEG-2 TS h.264 video demux and transmux.
Change-Id: I878cdd141140cfd6833d75c7133301b1d65f1da0
2014-04-24 18:27:47 +00:00
Thomas Inskip
4a39a0fc98
Renamed mp2t::MediaParser to mp2t::Mp2tMediaParser, removed filters namespace.
...
Change-Id: Ib4de2863d5e746b32703d49e721473a2ff6c8de7
2014-04-24 10:17:23 -07:00
Thomas Inskip
faa12bd191
Merge "Added ADTS header parsing, removal, and conversion to AudioSpecificConfig. Hooked up mp2t media parser, audio transmux now working."
2014-04-23 20:39:05 +00:00
Kongqun Yang
50ed026751
Support key rotation when generating MP4 fragments
...
Change-Id: I472e03a2d41ee450c12c0fe3012904628d6893e7
2014-04-23 12:54:40 -07:00
Kongqun Yang
9076411044
Rename EncryptorSource to EncryptionKeySource
...
Change-Id: I0a3d0e205922bbb4015955e04d51b7a9a4fa86e1
2014-04-23 12:45:18 -07:00
Kongqun Yang
f059d926d7
Update client of EncryptorSource due to refactoring
...
This CL also includes two related changes:
1. Support serialization of raw PSSH box;
2. Refactor segmenter interface a bit.
Change-Id: I668aa01a5a5ff524ad6fe74976339a3fd499120a
2014-04-23 12:35:52 -07:00
Thomas Inskip
71a425799d
Added ADTS header parsing, removal, and conversion to AudioSpecificConfig.
...
Hooked up mp2t media parser, audio transmux now working.
Change-Id: Idc92a51d25fa6ed2f74627131d53919e52394119
2014-04-22 18:34:36 -07:00
Thomas Inskip
c5f1e5eb7a
Modified mp2t::MediaParser to work with the packaging SDK.
...
Added transport stream test data.
Change-Id: I2f20d0a67eb5a1157ceed08af67368895016170c
2014-04-22 13:32:36 -07:00
Thomas Inskip
20e66b2109
Renamed mp2t_stream_parser* to mp2t_media_parser* .
...
Change-Id: I4e72dadadeadcb890056fb8540e498a9bb0d06ab
2014-04-22 19:51:58 +00:00
Thomas Inskip
cbf4978ffa
Modified H.264 elementary stream parsing code to work with remux framework.
...
Change-Id: I81dfe0952073c4a5cd6f5fcaf14fe21050d26cb6
2014-04-22 12:49:41 -07:00
Thomas Inskip
a7c91ca7dd
Modified audio elementary stream parsing to work with packager remux.
...
Change-Id: Ice95102640e5cbb0382dc4c604c0af013103da99
2014-04-21 19:16:32 +00:00
Thomas Inskip
30b51506c4
Check-in of unmodified audio elementary stream parsing code.
...
Source of media/base/*:
http://src.chromium.org/chrome/trunk/src/media/base@262934
Source of media/formats/mpeg/*:
http://src.chromium.org/chrome/trunk/src/media/formats/mpeg@257932
Change-Id: Icd56b6f496befcd0c9f4eec2460fb2e998ae8bd2
2014-04-21 19:16:09 +00:00
Thomas Inskip
0ad332896e
Check-in of unmodified MPEG-2 and H.264 parsers.
...
Source of media/formats/mp2t:
http://src.chromium.org/chrome/trunk/src/media/formats/mp2t@260741
Source of media/filters:
http://src.chromium.org/chrome/trunk/src/media/filters@260719
Change-Id: Ib4c72553f0213cb6dd25fa3dcc0367d96cdd094a
2014-04-21 12:05:58 -07:00
Thomas Inskip
5f99651223
Moved mp4 code to new "formats" directory to match Chromium source tree.
...
(second attempt due to conflicts).
Change-Id: I2143921bcacdbaa6cfcaf59602713294b4b1f6ee
2014-04-21 12:05:32 -07:00