shaka-packager/packager/media/formats/webm
Kongqun Yang 277c5b23c0 Allow generating avc3 / hev1 from TS and Wvm files
Added a flag --strip_parameter_set_nalus. When enabled, parameter
set NAL units, SPS/PPS for H264 and SPS/PPS/VPS for H265, are stripped
from frames when converting NAL byte stream (AnnexB stream) to NAL
unit stream, which generates avc1/hvc1; otherwise they are not
stripped, and avc3/hev1 is generated.

Parameter set NAL units should not be stripped if they are varying
in the frames otherwise the frames may fail to be decoded.

The flag is enabled by default as we don't usually see varying
SPS/PPS/VPS and it is more space efficient with them stripped.

Set --strip_parameter_set_nalus=false to disable the flag if there
are varying SPS/PPS/VPS in the frames. This addresses #206.

Change-Id: I34bde6f33069f9f77d51a510b39f58a0f0e141aa
2017-03-23 13:53:14 -07:00
..
cluster_builder.cc Replace scoped_ptr with std::unique_ptr 2016-08-18 17:12:36 -07:00
cluster_builder.h Replace scoped_ptr with std::unique_ptr 2016-08-18 17:12:36 -07:00
encrypted_segmenter_unittest.cc Integrate EncryptionHandler 2017-03-23 18:25:59 +00:00
encryptor.cc Integrate EncryptionHandler 2017-03-23 18:25:59 +00:00
encryptor.h Integrate EncryptionHandler 2017-03-23 18:25:59 +00:00
encryptor_unittest.cc Integrate EncryptionHandler 2017-03-23 18:25:59 +00:00
mkv_writer.cc Windows build working 2016-08-18 08:30:26 -07:00
mkv_writer.h Replace scoped_ptr with std::unique_ptr 2016-08-18 17:12:36 -07:00
multi_segment_segmenter.cc [WebM] Fix output truncated if using the same file name for I/O 2017-03-17 01:07:49 +00:00
multi_segment_segmenter.h [WebM] Fix output truncated if using the same file name for I/O 2017-03-17 01:07:49 +00:00
multi_segment_segmenter_unittest.cc Integrate EncryptionHandler 2017-03-23 18:25:59 +00:00
seek_head.cc [WebM] Use system temp directory if temp_dir is not specified 2016-10-13 21:48:00 +00:00
seek_head.h [WebM] Move index segment after init segment 2016-10-01 00:34:56 +00:00
segmenter.cc Integrate EncryptionHandler 2017-03-23 18:25:59 +00:00
segmenter.h Integrate EncryptionHandler 2017-03-23 18:25:59 +00:00
segmenter_test_base.cc Allow generating avc3 / hev1 from TS and Wvm files 2017-03-23 13:53:14 -07:00
segmenter_test_base.h Integrate EncryptionHandler 2017-03-23 18:25:59 +00:00
single_segment_segmenter.cc [WebM] Fix output truncated if using the same file name for I/O 2017-03-17 01:07:49 +00:00
single_segment_segmenter.h [WebM] Fix output truncated if using the same file name for I/O 2017-03-17 01:07:49 +00:00
single_segment_segmenter_unittest.cc Integrate EncryptionHandler 2017-03-23 18:25:59 +00:00
tracks_builder.cc Fix x64 build on Windows. 2017-01-05 14:19:35 -08:00
tracks_builder.h Rename top level namespace to shaka 2016-05-24 21:55:55 +00:00
two_pass_single_segment_segmenter.cc [WebM] Fix output truncated if using the same file name for I/O 2017-03-17 01:07:49 +00:00
two_pass_single_segment_segmenter.h [WebM] Fix output truncated if using the same file name for I/O 2017-03-17 01:07:49 +00:00
webm.gyp Integrate EncryptionHandler 2017-03-23 18:25:59 +00:00
webm_audio_client.cc Replace scoped_refptr with std::shared_ptr 2017-01-26 02:20:47 +00:00
webm_audio_client.h Replace scoped_refptr with std::shared_ptr 2017-01-26 02:20:47 +00:00
webm_cluster_parser.cc Integrate EncryptionHandler 2017-03-23 18:25:59 +00:00
webm_cluster_parser.h Replace scoped_refptr with std::shared_ptr 2017-01-26 02:20:47 +00:00
webm_cluster_parser_unittest.cc Allow generating avc3 / hev1 from TS and Wvm files 2017-03-23 13:53:14 -07:00
webm_constants.cc Rename top level namespace to shaka 2016-05-24 21:55:55 +00:00
webm_constants.h Implemented WebM VP9 subsample encryption and decryption. 2016-08-18 13:55:36 -07:00
webm_content_encodings.cc Rename top level namespace to shaka 2016-05-24 21:55:55 +00:00
webm_content_encodings.h Replace scoped_ptr with std::unique_ptr 2016-08-18 17:12:36 -07:00
webm_content_encodings_client.cc Deprecate STLDeleter and string_as_array 2016-09-01 17:39:11 +00:00
webm_content_encodings_client.h Deprecate STLDeleter and string_as_array 2016-09-01 17:39:11 +00:00
webm_content_encodings_client_unittest.cc Rename top level namespace to shaka 2016-05-24 21:55:55 +00:00
webm_crypto_helpers.cc Fix x64 build on Windows. 2017-01-05 14:19:35 -08:00
webm_crypto_helpers.h Fix x64 build on Windows. 2017-01-05 14:19:35 -08:00
webm_info_parser.cc Rename top level namespace to shaka 2016-05-24 21:55:55 +00:00
webm_info_parser.h Rename top level namespace to shaka 2016-05-24 21:55:55 +00:00
webm_media_parser.cc Replace scoped_refptr with std::shared_ptr 2017-01-26 02:20:47 +00:00
webm_media_parser.h Replace scoped_refptr with std::shared_ptr 2017-01-26 02:20:47 +00:00
webm_muxer.cc Integrate EncryptionHandler 2017-03-23 18:25:59 +00:00
webm_muxer.h Use size_t as the type of stream_index 2017-03-16 20:54:48 +00:00
webm_parser.cc Fix x64 build on Windows. 2017-01-05 14:19:35 -08:00
webm_parser.h Rename top level namespace to shaka 2016-05-24 21:55:55 +00:00
webm_parser_unittest.cc Fix x64 build on Windows. 2017-01-05 14:19:35 -08:00
webm_tracks_parser.cc Rename top level namespace to shaka 2016-05-24 21:55:55 +00:00
webm_tracks_parser.h Replace scoped_refptr with std::shared_ptr 2017-01-26 02:20:47 +00:00
webm_tracks_parser_unittest.cc Replace scoped_refptr with std::shared_ptr 2017-01-26 02:20:47 +00:00
webm_video_client.cc Allow generating avc3 / hev1 from TS and Wvm files 2017-03-23 13:53:14 -07:00
webm_video_client.h Replace scoped_refptr with std::shared_ptr 2017-01-26 02:20:47 +00:00
webm_webvtt_parser.cc Rename top level namespace to shaka 2016-05-24 21:55:55 +00:00
webm_webvtt_parser.h Rename top level namespace to shaka 2016-05-24 21:55:55 +00:00
webm_webvtt_parser_unittest.cc Rename top level namespace to shaka 2016-05-24 21:55:55 +00:00