[Bug 654657] tsdemux: newsegment for push-mode is wrong

GStreamer (bugzilla.gnome.org) bugzilla at gnome.org
Fri Jul 15 23:53:47 PDT 2011


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

Edward Hervey <bilboed> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |NEW
            Summary|tsdemux: Fails to created   |tsdemux: newsegment for
                   |initial segment when used   |push-mode is wrong
                   |with hlsdemux               |
     Ever Confirmed|0                           |1

--- Comment #4 from Edward Hervey <bilboed at gmail.com> 2011-07-16 06:53:43 UTC ---
The problem is that the newsegment creation is just wrong for push-mode (and
needs serious cleanup for pull-mode).

Here is what the segment should be like for push-mode in bytes:
 start    : first observed PTS value (in your example that would be tinypts of
10s)
 stop     : last PTS you'll output (if you don't know, put GST_CLOCK_TIME_NONE)
 position : What the 'start' buffer value corresponds to in streaming time (0
in this case, it's the beginning).

for push-mode in time it would work slightly differently, in the sense that we
should be pushing out the newsegment we received from upstream and convert the
outgoing buffer timestamps based on an interpolation of capture time vs PTS
(i.e. estimating the remote transmission clock).

-- 
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