shaka-packager/packager/media/formats/mp2t
Phillip Baxter 00fde07bf7 Fix non standard channel layout AAC audio with PCE encoding
Latest version of FFmpeg encodes non standard channel layout, e.g. 5.1(side), in AAC using PCE.

This is now supported with the below changes:
- Allow channel_configuration in ADTS header to be 0, as the cctual channel layout is specified 
  in PCE.
- Add GetFrameSizeWithoutParsing to determine the frame size before actually parsing the frame.
- Skip and resume later if not the whole frame is available. 
- Also ensure that the next frame starts with a proper sync word.

Fixes #598.
2019-10-01 10:15:58 -07:00
..
ac3_header.cc Fix non standard channel layout AAC audio with PCE encoding 2019-10-01 10:15:58 -07:00
ac3_header.h Fix non standard channel layout AAC audio with PCE encoding 2019-10-01 10:15:58 -07:00
ac3_header_unittest.cc Fix non standard channel layout AAC audio with PCE encoding 2019-10-01 10:15:58 -07:00
adts_header.cc Fix non standard channel layout AAC audio with PCE encoding 2019-10-01 10:15:58 -07:00
adts_header.h Fix non standard channel layout AAC audio with PCE encoding 2019-10-01 10:15:58 -07:00
adts_header_unittest.cc Fix non standard channel layout AAC audio with PCE encoding 2019-10-01 10:15:58 -07:00
audio_header.h Fix non standard channel layout AAC audio with PCE encoding 2019-10-01 10:15:58 -07:00
continuity_counter.cc Rename top level namespace to shaka 2016-05-24 21:55:55 +00:00
continuity_counter.h Rename top level namespace to shaka 2016-05-24 21:55:55 +00:00
es_parser.h Clean up #ifndef in packager/media. (#310) 2017-12-19 16:56:36 -08:00
es_parser_audio.cc Fix non standard channel layout AAC audio with PCE encoding 2019-10-01 10:15:58 -07:00
es_parser_audio.h Add AC3 support in TS 2017-10-30 15:11:43 -07:00
es_parser_h26x.cc Add more loggings for GAPs 2019-09-11 00:02:52 +00:00
es_parser_h26x.h Clean up #ifndef in packager/media. (#310) 2017-12-19 16:56:36 -08:00
es_parser_h26x_unittest.cc Workaround extra AUD in the access unit 2018-12-15 00:32:06 +00:00
es_parser_h264.cc Fix avc3 codec string problem 2017-04-28 19:24:11 +00:00
es_parser_h264.h Clean up #ifndef in packager/media. (#310) 2017-12-19 16:56:36 -08:00
es_parser_h264_unittest.cc Replace scoped_refptr with std::shared_ptr 2017-01-26 02:20:47 +00:00
es_parser_h265.cc Allow generating avc3 / hev1 from TS and Wvm files 2017-03-23 13:53:14 -07:00
es_parser_h265.h Clean up #ifndef in packager/media. (#310) 2017-12-19 16:56:36 -08:00
mp2t.gyp Address gcc build failures in some platforms 2017-12-07 11:45:26 -08:00
mp2t_common.h Clean up #ifndef in packager/media. (#310) 2017-12-19 16:56:36 -08:00
mp2t_media_parser.cc Log an error when seeing unsupported stream type in MPEG2TS 2017-12-01 14:56:22 -08:00
mp2t_media_parser.h Clean up #ifndef in packager/media. (#310) 2017-12-19 16:56:36 -08:00
mp2t_media_parser_unittest.cc Replace scoped_refptr with std::shared_ptr 2017-01-26 02:20:47 +00:00
pes_packet.cc Rename top level namespace to shaka 2016-05-24 21:55:55 +00:00
pes_packet.h Support KeyFrame events in TS and MP4 2018-02-02 14:05:50 -08:00
pes_packet_generator.cc Improve ConvertToADTS function performance (#639) 2019-09-10 13:15:17 -07:00
pes_packet_generator.h Add offset to tranport streams (MPEG2-TS, HLS Packed Audio) 2018-07-26 23:20:21 +00:00
pes_packet_generator_unittest.cc Improve ConvertToADTS function performance (#639) 2019-09-10 13:15:17 -07:00
program_map_table_writer.cc Move TS encrypted audio setup for HLS to hls_audio_util 2018-05-16 01:04:14 +00:00
program_map_table_writer.h Refactor ProgramMapTableWriter 2017-10-25 20:25:56 +00:00
program_map_table_writer_unittest.cc Support encrypted AC3 in TS 2017-10-30 15:22:22 -07:00
ts_muxer.cc Fix TS mimetype in DASH 2018-05-21 20:31:40 +00:00
ts_muxer.h Made StreamData Have Const Pointers 2017-09-19 21:06:29 +00:00
ts_packet.cc Fix x64 build on Windows. 2017-01-05 14:19:35 -08:00
ts_packet.h Clean up #ifndef in packager/media. (#310) 2017-12-19 16:56:36 -08:00
ts_packet_writer_util.cc Fix x64 build on Windows. 2017-01-05 14:19:35 -08:00
ts_packet_writer_util.h Rename top level namespace to shaka 2016-05-24 21:55:55 +00:00
ts_section.h Clean up #ifndef in packager/media. (#310) 2017-12-19 16:56:36 -08:00
ts_section_pat.cc Rename top level namespace to shaka 2016-05-24 21:55:55 +00:00
ts_section_pat.h Clean up #ifndef in packager/media. (#310) 2017-12-19 16:56:36 -08:00
ts_section_pes.cc Add AC3 support in TS 2017-10-30 15:11:43 -07:00
ts_section_pes.h Clean up #ifndef in packager/media. (#310) 2017-12-19 16:56:36 -08:00
ts_section_pmt.cc Fix x64 build on Windows. 2017-01-05 14:19:35 -08:00
ts_section_pmt.h Clean up #ifndef in packager/media. (#310) 2017-12-19 16:56:36 -08:00
ts_section_psi.cc Add appveyor config for Windows CI 2016-08-23 12:24:34 -07:00
ts_section_psi.h Clean up #ifndef in packager/media. (#310) 2017-12-19 16:56:36 -08:00
ts_segmenter.cc Add offset to tranport streams (MPEG2-TS, HLS Packed Audio) 2018-07-26 23:20:21 +00:00
ts_segmenter.h Add offset to tranport streams (MPEG2-TS, HLS Packed Audio) 2018-07-26 23:20:21 +00:00
ts_segmenter_unittest.cc Add offset to tranport streams (MPEG2-TS, HLS Packed Audio) 2018-07-26 23:20:21 +00:00
ts_stream_type.h Log an error when seeing unsupported stream type in MPEG2TS 2017-12-01 14:56:22 -08:00
ts_writer.cc Support KeyFrame events in TS and MP4 2018-02-02 14:05:50 -08:00
ts_writer.h Support KeyFrame events in TS and MP4 2018-02-02 14:05:50 -08:00
ts_writer_unittest.cc Support encrypted AC3 in TS 2017-10-30 15:22:22 -07:00