[Bug 715147] tsdemux: Handle streams without PAT and/or PMT

GStreamer (bugzilla.gnome.org) bugzilla at gnome.org
Fri Dec 20 22:15:50 PST 2013


https://bugzilla.gnome.org/show_bug.cgi?id=715147
  GStreamer | gst-plugins-bad | git

Edward Hervey <bilboed> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |NEW
            Version|1.2.1                       |git
         Depends on|                            |703884
            Summary|mpegtsdemux not exposing    |tsdemux: Handle streams
                   |pads if no PAT/PMT table    |without PAT and/or PMT
                   |found                       |
     Ever Confirmed|0                           |1

--- Comment #5 from Edward Hervey <bilboed at bilboed.com> 2013-12-21 06:15:40 UTC ---
I can see one way to implement this, but *only* once bug #703884 has been
implemented.

Once the logic in that bug has been handled, you would then only have to:
1) if more than 100ms (or more) has gone by without a PAT, assume that the PAT
is indeed missing
2) For each of the pending PSI/SI streams, check which ones are potential PMT
(table_id:0x02). If you have one use that PMT to initialize the program (and
carry on as normal)
3) If you haven't found a PMT... you'll have to expose all PES streams
4) For each pending PES, you'll need to pass the data through the typefind
functions to figure out what the nature of the stream is. If you have a very
high probability match, use those caps and expose the stream
5) If you don't get a very high probability, it might be because we don't have
a typefinder for that (might want to create one) or that we don't have enough
data yet to typefind it.

-- 
Configure bugmail: https://bugzilla.gnome.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA contact for the bug.
You are the assignee for the bug.


More information about the gstreamer-bugs mailing list