MPEG TS: More support for different ways of storing EAC3 streams

If the PMT PID info stream type is 0x06 (PES private) and the ES info
tag is 0x7A then it is EAC3 (0x6A was already supported as normal
AC3).
This commit is contained in:
Moritz Bunkus 2011-10-08 15:09:52 +02:00
parent f8e9cd6ade
commit caf34f4e62
4 changed files with 22 additions and 2 deletions

View File

@ -1,7 +1,12 @@
2011-10-08 Moritz Bunkus <moritz@bunkus.org>
* mkvmerge: enhancement: Implemented support for yet another way
of storing EAC3 in MPEG transport streams.
2011-10-05 Moritz Bunkus <moritz@bunkus.org>
* mkvinfo.cpp: bug fix: Track information was not reset when
opening more than one file in the GUI.
* mkvinfo: bug fix: Track information was not reset when opening
more than one file in the GUI.
2011-10-03 Moritz Bunkus <moritz@bunkus.org>

View File

@ -736,6 +736,7 @@ mpeg_ts_reader_c::parse_pmt(unsigned char *pmt) {
}
break;
case 0x6A: // AC3 descriptor
case 0x7A: // EAC3 descriptor
if (pmt_pid_info->stream_type == ISO_13818_PES_PRIVATE) { // PES containig private data
track->type = ES_AUDIO_TYPE;
track->fourcc = FOURCC('A', 'C', '3', ' ');

View File

@ -149,3 +149,4 @@ T_299ts_ghost_entries_in_pmt:5716a012cd61366198ec92772fd216ea:passed:20110917-00
T_300ts_dts_duplicate_timestamps:20dc3a1cefa6b222f637d50a8e5009b0:passed:20110918-154508:1.230918853
T_301ts_pgssub:288073767e64ed273d1c7f528c673d25:passed:20110918-154732:1.237027466
T_302pat_pmt_only_once:073d3fe1f12db53521285ea4b5df8aed:passed:20110927-222121:0.240361843
T_303mpeg_ts_eac3_pmt_descriptor_tag_0x7a:5647f48b42ebb93f43d70523e08df7eb:passed:20111008-150823:2.078023996

View File

@ -0,0 +1,13 @@
#!/usr/bin/ruby -w
class T_303mpeg_ts_eac3_pmt_descriptor_tag_0x7a < Test
def description
"mkvmerge / MPEG TS with EAC3 stored with PMT descriptor tag 0x7a"
end
def run
merge "data/ts/eac3_pmt_descriptor_tag_0x7a.ts"
hash_tmp
end
end