Closed GoogleCodeExporter closed 9 years ago
The error happens because Chrome video pipeline rejects the stream due to
multiple PMTs in the segment:
https://code.google.com/p/chromium/codesearch#chromium/src/media/formats/mp2t/ts
_section_pat.cc&q=%22pmt_pid_count%20%3E%201%22&sq=package:chromium&l=88
Original comment by vadi...@google.com
on 8 Sep 2014 at 10:14
[deleted comment]
Thanks for the response. The stream has only 1 PMT in the
segment.Program_number 0 in PAT is reserved for Network PID in MPEG and SIT PID
in DVB-ARIB spec. So if Chrome video is compliant with MPEG, it should not
confuse the PID for program_number 0 with PMT PID. For test purposes I
regenerated the stream with only PMT and it works fine.
I looked at the code provided in the link above. The logic to determine PMT PID
count seems to be based on the section length rather than looking at the actual
program and PMT PID. This will not hold good if there are other programs in the
PAT. Is there a plan to fix this logic?
Original comment by ckam...@gmail.com
on 8 Sep 2014 at 11:48
If you dump the segment you provided in the repro with dvbsnoop like this:
dvbsnoop -s ts -nph -tssubdecode -if 1.ts
there appears to be a second PMT in ts packet 391.
Original comment by vadi...@google.com
on 9 Sep 2014 at 12:09
This behavior is by design and is in the Chromium.
Original comment by anad...@google.com
on 9 Sep 2014 at 9:39
thanks for the response. We modified our code to ensure there is only 1 PMT in
the segment.
Original comment by ckam...@gmail.com
on 9 Sep 2014 at 10:59
Original issue reported on code.google.com by
ckam...@gmail.com
on 5 Sep 2014 at 1:55Attachments: