shaka-packager/packager/media/formats/webm
KongQun Yang 940c3571aa WebMParser: set duration and dts correctly
- dts was not set earlier, although for WebM, we could assume that
  dts is the same as pts.
- Calculate block duration with the difference with the next block
  if duration is not encoded, even if track default_duration is set.
- Use track default_duration as a duration estimate for the last
  block.
- This also removes opus duration computation from encoded data.

Issues #67, #68

Change-Id: Icaa2769dcb2a89269ae014f44ad6a9262770aed2
2016-01-20 11:33:55 -08:00
..
cluster_builder.cc Make webm parser compile and unittest pass 2015-10-16 15:51:56 -07:00
cluster_builder.h Adjust webm code for packager 2015-10-16 15:46:36 -07:00
encrypted_segmenter_unittest.cc Add encryption support to WebM. 2016-01-15 11:51:41 -08:00
encryptor.cc Add encryption support to WebM. 2016-01-15 11:51:41 -08:00
encryptor.h Add encryption support to WebM. 2016-01-15 11:51:41 -08:00
mkv_writer.cc Added WebM muxer. 2015-12-15 20:34:44 +00:00
mkv_writer.h Added WebM muxer. 2015-12-15 20:34:44 +00:00
multi_segment_segmenter.cc Added unit tests for WebM Segmenters. 2016-01-07 17:07:02 +00:00
multi_segment_segmenter.h Added WebM muxer. 2015-12-15 20:34:44 +00:00
multi_segment_segmenter_unittest.cc Add encryption support to WebM. 2016-01-15 11:51:41 -08:00
seek_head.cc Added WebM muxer. 2015-12-15 20:34:44 +00:00
seek_head.h Added WebM muxer. 2015-12-15 20:34:44 +00:00
segmenter.cc Add encryption support to WebM. 2016-01-15 11:51:41 -08:00
segmenter.h Add encryption support to WebM. 2016-01-15 11:51:41 -08:00
segmenter_test_base.cc Handle side data properly in webm 2016-01-09 00:32:08 +00:00
segmenter_test_base.h Add encryption support to WebM. 2016-01-15 11:51:41 -08:00
single_segment_segmenter.cc Added unit tests for WebM Segmenters. 2016-01-07 17:07:02 +00:00
single_segment_segmenter.h Added WebM muxer. 2015-12-15 20:34:44 +00:00
single_segment_segmenter_unittest.cc Add encryption support to WebM. 2016-01-15 11:51:41 -08:00
tracks_builder.cc Adjust webm code for packager 2015-10-16 15:46:36 -07:00
tracks_builder.h Adjust webm code for packager 2015-10-16 15:46:36 -07:00
two_pass_single_segment_segmenter.cc Added unit tests for WebM Segmenters. 2016-01-07 17:07:02 +00:00
two_pass_single_segment_segmenter.h Added unit tests for WebM Segmenters. 2016-01-07 17:07:02 +00:00
webm.gyp WebMParser: set duration and dts correctly 2016-01-20 11:33:55 -08:00
webm_audio_client.cc Add support for DTS in ESDS. Needed to handle DTS audio generated by FFMPEG. 2016-01-06 22:30:52 +00:00
webm_audio_client.h Additional clean ups on comments and TODOs 2015-10-19 17:23:46 +00:00
webm_cluster_parser.cc WebMParser: set duration and dts correctly 2016-01-20 11:33:55 -08:00
webm_cluster_parser.h WebMParser: set duration and dts correctly 2016-01-20 11:33:55 -08:00
webm_cluster_parser_unittest.cc WebMParser: set duration and dts correctly 2016-01-20 11:33:55 -08:00
webm_constants.cc Adjust webm code for packager 2015-10-16 15:46:36 -07:00
webm_constants.h Additional clean ups on comments and TODOs 2015-10-19 17:23:46 +00:00
webm_content_encodings.cc Adjust webm code for packager 2015-10-16 15:46:36 -07:00
webm_content_encodings.h Additional clean ups on comments and TODOs 2015-10-19 17:23:46 +00:00
webm_content_encodings_client.cc Adjust webm code for packager 2015-10-16 15:46:36 -07:00
webm_content_encodings_client.h Additional clean ups on comments and TODOs 2015-10-19 17:23:46 +00:00
webm_content_encodings_client_unittest.cc Additional clean ups on comments and TODOs 2015-10-19 17:23:46 +00:00
webm_crypto_helpers.cc Make webm parser compile and unittest pass 2015-10-16 15:51:56 -07:00
webm_crypto_helpers.h Additional clean ups on comments and TODOs 2015-10-19 17:23:46 +00:00
webm_info_parser.cc Adjust webm code for packager 2015-10-16 15:46:36 -07:00
webm_info_parser.h Additional clean ups on comments and TODOs 2015-10-19 17:23:46 +00:00
webm_media_parser.cc VP9 codec string from bitstream and subsample encryption support 2015-12-30 21:39:34 +00:00
webm_media_parser.h Additional clean ups on comments and TODOs 2015-10-19 17:23:46 +00:00
webm_muxer.cc Add encryption support to WebM. 2016-01-15 11:51:41 -08:00
webm_muxer.h Added WebM muxer. 2015-12-15 20:34:44 +00:00
webm_parser.cc Adjust webm code for packager 2015-10-16 15:46:36 -07:00
webm_parser.h Additional clean ups on comments and TODOs 2015-10-19 17:23:46 +00:00
webm_parser_unittest.cc Use StrEq for string comparison in webm_parser_unittest 2015-10-22 17:40:11 -07:00
webm_tracks_parser.cc Make webm parser compile and unittest pass 2015-10-16 15:51:56 -07:00
webm_tracks_parser.h Additional clean ups on comments and TODOs 2015-10-19 17:23:46 +00:00
webm_tracks_parser_unittest.cc Make webm parser compile and unittest pass 2015-10-16 15:51:56 -07:00
webm_video_client.cc VP9 codec string from bitstream and subsample encryption support 2015-12-30 21:39:34 +00:00
webm_video_client.h Additional clean ups on comments and TODOs 2015-10-19 17:23:46 +00:00
webm_webvtt_parser.cc Adjust webm code for packager 2015-10-16 15:46:36 -07:00
webm_webvtt_parser.h Additional clean ups on comments and TODOs 2015-10-19 17:23:46 +00:00
webm_webvtt_parser_unittest.cc Adjust webm code for packager 2015-10-16 15:46:36 -07:00