shaka-packager/packager/media/formats/mp2t
modernletter c09eb831b8
feat: Parse MPEG-TS PMT ES language and maximum bitrate descriptors (#369) (#1311)
Part of https://github.com/shaka-project/shaka-packager/issues/369

This adds read support for some MPEG-TS PMT elementary stream
descriptors:
- ISO639 Language Descriptor providing language code and audio type
- Maximum Bitrate Descriptor providing peak stream bandwidth

Those metadata are propagated to StreamInfo structures:
- StreamInfo.language field
- AudioStreamMetadata.max_bitrate field for audio streams
- audio type is currently not propagated - corresponding field has to be
added to AudioStreamMetadata

Test vector file containing those descriptors is provided.
2024-02-08 11:58:26 -08:00
..
CMakeLists.txt feat: Parse MPEG-TS PMT ES language and maximum bitrate descriptors (#369) (#1311) 2024-02-08 11:58:26 -08:00
ac3_header.cc feat!: Rewrite build system and third-party dependencies (#1310) 2023-12-01 09:32:19 -08:00
ac3_header.h feat!: Rewrite build system and third-party dependencies (#1310) 2023-12-01 09:32:19 -08:00
ac3_header_unittest.cc feat!: Rewrite build system and third-party dependencies (#1310) 2023-12-01 09:32:19 -08:00
adts_header.cc feat!: Rewrite build system and third-party dependencies (#1310) 2023-12-01 09:32:19 -08:00
adts_header.h feat!: Rewrite build system and third-party dependencies (#1310) 2023-12-01 09:32:19 -08:00
adts_header_unittest.cc feat!: Rewrite build system and third-party dependencies (#1310) 2023-12-01 09:32:19 -08:00
audio_header.h feat!: Rewrite build system and third-party dependencies (#1310) 2023-12-01 09:32:19 -08:00
continuity_counter.cc feat!: Rewrite build system and third-party dependencies (#1310) 2023-12-01 09:32:19 -08:00
continuity_counter.h feat!: Rewrite build system and third-party dependencies (#1310) 2023-12-01 09:32:19 -08:00
es_parser.h feat!: Rewrite build system and third-party dependencies (#1310) 2023-12-01 09:32:19 -08:00
es_parser_audio.cc feat!: Rewrite build system and third-party dependencies (#1310) 2023-12-01 09:32:19 -08:00
es_parser_audio.h feat!: Rewrite build system and third-party dependencies (#1310) 2023-12-01 09:32:19 -08:00
es_parser_dvb.cc feat!: Rewrite build system and third-party dependencies (#1310) 2023-12-01 09:32:19 -08:00
es_parser_dvb.h feat!: Rewrite build system and third-party dependencies (#1310) 2023-12-01 09:32:19 -08:00
es_parser_h26x.cc feat!: Rewrite build system and third-party dependencies (#1310) 2023-12-01 09:32:19 -08:00
es_parser_h26x.h feat!: Rewrite build system and third-party dependencies (#1310) 2023-12-01 09:32:19 -08:00
es_parser_h26x_unittest.cc feat!: Rewrite build system and third-party dependencies (#1310) 2023-12-01 09:32:19 -08:00
es_parser_h264.cc feat!: Rewrite build system and third-party dependencies (#1310) 2023-12-01 09:32:19 -08:00
es_parser_h264.h feat!: Rewrite build system and third-party dependencies (#1310) 2023-12-01 09:32:19 -08:00
es_parser_h264_unittest.cc feat!: Rewrite build system and third-party dependencies (#1310) 2023-12-01 09:32:19 -08:00
es_parser_h265.cc feat!: Rewrite build system and third-party dependencies (#1310) 2023-12-01 09:32:19 -08:00
es_parser_h265.h feat!: Rewrite build system and third-party dependencies (#1310) 2023-12-01 09:32:19 -08:00
mp2t_common.h cleanup: Convert all time parameters to signed 2021-08-05 18:24:15 +00:00
mp2t_media_parser.cc feat: Parse MPEG-TS PMT ES language and maximum bitrate descriptors (#369) (#1311) 2024-02-08 11:58:26 -08:00
mp2t_media_parser.h feat: Parse MPEG-TS PMT ES language and maximum bitrate descriptors (#369) (#1311) 2024-02-08 11:58:26 -08:00
mp2t_media_parser_unittest.cc feat: Parse MPEG-TS PMT ES language and maximum bitrate descriptors (#369) (#1311) 2024-02-08 11:58:26 -08:00
mpeg1_header.cc feat!: Rewrite build system and third-party dependencies (#1310) 2023-12-01 09:32:19 -08:00
mpeg1_header.h feat!: Rewrite build system and third-party dependencies (#1310) 2023-12-01 09:32:19 -08:00
mpeg1_header_unittest.cc feat!: Rewrite build system and third-party dependencies (#1310) 2023-12-01 09:32:19 -08:00
pes_packet.cc feat!: Rewrite build system and third-party dependencies (#1310) 2023-12-01 09:32:19 -08:00
pes_packet.h feat!: Rewrite build system and third-party dependencies (#1310) 2023-12-01 09:32:19 -08:00
pes_packet_generator.cc feat!: Rewrite build system and third-party dependencies (#1310) 2023-12-01 09:32:19 -08:00
pes_packet_generator.h feat!: Rewrite build system and third-party dependencies (#1310) 2023-12-01 09:32:19 -08:00
pes_packet_generator_unittest.cc feat!: Rewrite build system and third-party dependencies (#1310) 2023-12-01 09:32:19 -08:00
program_map_table_writer.cc feat!: Rewrite build system and third-party dependencies (#1310) 2023-12-01 09:32:19 -08:00
program_map_table_writer.h feat!: Rewrite build system and third-party dependencies (#1310) 2023-12-01 09:32:19 -08:00
program_map_table_writer_unittest.cc feat!: Rewrite build system and third-party dependencies (#1310) 2023-12-01 09:32:19 -08:00
ts_audio_type.h feat: Parse MPEG-TS PMT ES language and maximum bitrate descriptors (#369) (#1311) 2024-02-08 11:58:26 -08:00
ts_muxer.cc feat!: Rewrite build system and third-party dependencies (#1310) 2023-12-01 09:32:19 -08:00
ts_muxer.h feat!: Rewrite build system and third-party dependencies (#1310) 2023-12-01 09:32:19 -08:00
ts_packet.cc feat!: Rewrite build system and third-party dependencies (#1310) 2023-12-01 09:32:19 -08:00
ts_packet.h feat!: Rewrite build system and third-party dependencies (#1310) 2023-12-01 09:32:19 -08:00
ts_packet_writer_util.cc feat!: Rewrite build system and third-party dependencies (#1310) 2023-12-01 09:32:19 -08:00
ts_packet_writer_util.h feat!: Rewrite build system and third-party dependencies (#1310) 2023-12-01 09:32:19 -08:00
ts_section.h Propagate Flush errors in MP2T parser. 2021-01-20 18:27:31 +00:00
ts_section_pat.cc feat!: Rewrite build system and third-party dependencies (#1310) 2023-12-01 09:32:19 -08:00
ts_section_pat.h feat!: Rewrite build system and third-party dependencies (#1310) 2023-12-01 09:32:19 -08:00
ts_section_pes.cc feat!: Rewrite build system and third-party dependencies (#1310) 2023-12-01 09:32:19 -08:00
ts_section_pes.h feat!: Rewrite build system and third-party dependencies (#1310) 2023-12-01 09:32:19 -08:00
ts_section_pmt.cc feat: Parse MPEG-TS PMT ES language and maximum bitrate descriptors (#369) (#1311) 2024-02-08 11:58:26 -08:00
ts_section_pmt.h feat: Parse MPEG-TS PMT ES language and maximum bitrate descriptors (#369) (#1311) 2024-02-08 11:58:26 -08:00
ts_section_psi.cc feat!: Rewrite build system and third-party dependencies (#1310) 2023-12-01 09:32:19 -08:00
ts_section_psi.h feat!: Rewrite build system and third-party dependencies (#1310) 2023-12-01 09:32:19 -08:00
ts_segmenter.cc feat!: Rewrite build system and third-party dependencies (#1310) 2023-12-01 09:32:19 -08:00
ts_segmenter.h feat!: Rewrite build system and third-party dependencies (#1310) 2023-12-01 09:32:19 -08:00
ts_segmenter_unittest.cc feat!: Rewrite build system and third-party dependencies (#1310) 2023-12-01 09:32:19 -08:00
ts_stream_type.h feat!: Rewrite build system and third-party dependencies (#1310) 2023-12-01 09:32:19 -08:00
ts_writer.cc feat!: Rewrite build system and third-party dependencies (#1310) 2023-12-01 09:32:19 -08:00
ts_writer.h feat!: Rewrite build system and third-party dependencies (#1310) 2023-12-01 09:32:19 -08:00
ts_writer_unittest.cc feat!: Rewrite build system and third-party dependencies (#1310) 2023-12-01 09:32:19 -08:00