shaka-packager/packager/media/formats/webm
Kongqun Yang a5dd1fd3d4 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-04-04 17:58:42 -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 [WebM] Move index segment after init segment 2016-10-01 00:34:56 +00:00
encryptor.cc Fix x64 build on Windows. 2017-01-05 14:19:35 -08:00
encryptor.h Replace scoped_ptr with std::unique_ptr 2016-08-18 17:12:36 -07: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 10:55:55 -07:00
multi_segment_segmenter.h [WebM] Fix output truncated if using the same file name for I/O 2017-03-17 10:55:55 -07:00
multi_segment_segmenter_unittest.cc Update cmd flags to support static mpd with live profile 2017-01-13 20:00:10 +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 [WebM] Fix output truncated if using the same file name for I/O 2017-03-17 10:55:55 -07:00
segmenter.h [WebM] Fix output truncated if using the same file name for I/O 2017-03-17 10:55:55 -07:00
segmenter_test_base.cc Allow generating avc3 / hev1 from TS and Wvm files 2017-04-04 17:58:42 -07:00
segmenter_test_base.h [WebM] Fix output truncated if using the same file name for I/O 2017-03-17 10:55:55 -07:00
single_segment_segmenter.cc [WebM] Fix output truncated if using the same file name for I/O 2017-03-17 10:55:55 -07:00
single_segment_segmenter.h [WebM] Fix output truncated if using the same file name for I/O 2017-03-17 10:55:55 -07:00
single_segment_segmenter_unittest.cc Fix x64 build on Windows. 2017-01-05 14:19:35 -08: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 10:55:55 -07:00
two_pass_single_segment_segmenter.h [WebM] Fix output truncated if using the same file name for I/O 2017-03-17 10:55:55 -07:00
webm.gyp [WebM] Move index segment after init segment 2016-10-01 00:34:56 +00:00
webm_audio_client.cc Implemented WebM VP9 subsample encryption and decryption. 2016-08-18 13:55:36 -07:00
webm_audio_client.h Replace scoped_ptr with std::unique_ptr 2016-08-18 17:12:36 -07:00
webm_cluster_parser.cc Add encryption information in demuxer. 2016-09-08 17:13:36 +00:00
webm_cluster_parser.h Replace scoped_ptr with std::unique_ptr 2016-08-18 17:12:36 -07:00
webm_cluster_parser_unittest.cc Allow generating avc3 / hev1 from TS and Wvm files 2017-04-04 17:58:42 -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 Rename top level namespace to shaka 2016-05-24 21:55:55 +00:00
webm_media_parser.h Replace scoped_ptr with std::unique_ptr 2016-08-18 17:12:36 -07:00
webm_muxer.cc [WebM] Fix output truncated if using the same file name for I/O 2017-03-17 10:55:55 -07:00
webm_muxer.h Replace scoped_ptr with std::unique_ptr 2016-08-18 17:12:36 -07: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_ptr with std::unique_ptr 2016-08-18 17:12:36 -07:00
webm_tracks_parser_unittest.cc Fix x64 build on Windows. 2017-01-05 14:19:35 -08:00
webm_video_client.cc Allow generating avc3 / hev1 from TS and Wvm files 2017-04-04 17:58:42 -07:00
webm_video_client.h Replace scoped_ptr with std::unique_ptr 2016-08-18 17:12:36 -07: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