[Bug 743259] New: tsdemux: bogus timestamp when PTS < PCR

GStreamer (bugzilla.gnome.org) bugzilla at gnome.org
Tue Jan 20 09:41:26 PST 2015


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

           Summary: tsdemux:  bogus timestamp when PTS < PCR
    Classification: Platform
           Product: GStreamer
           Version: git master
        OS/Version: Linux
            Status: UNCONFIRMED
          Severity: normal
          Priority: Normal
         Component: gst-plugins-bad
        AssignedTo: gstreamer-bugs at lists.freedesktop.org
        ReportedBy: aurelien.zanelli at parrot.com
         QAContact: gstreamer-bugs at lists.freedesktop.org
     GNOME version: ---


Playing http://darkosphere.fr/tmp/payload.ts with the following pipeline
doesn't work successfully:
gst-launch-1.0 filesrc location=payload.ts ! tsdemux ! h264parse ! avdec_h264 !
autovideosink

After further investigation, it is due to tsdemux outputting the first buffers
with bogus timestamps which confuse videodecoder base class:
/GstPipeline:pipeline0/GstFakeSink:fakesink0: last-message = chain   *******
(fakesink0:sink) (18233 bytes, dts: none, pts: 5124095:34:33.663077135,
duration: none, offset: -1, offset_end: -1, flags: 00000040 discont ) 0xa0e5ae0
New clock: GstSystemClock
/GstPipeline:pipeline0/GstFakeSink:fakesink0: last-message = chain   *******
(fakesink0:sink) (2031 bytes, dts: none, pts: 5124095:34:33.696410468,
duration: none, offset: -1, offset_end: -1, flags: 00000000 ) 0xa0e5c20

This bogus timestamp are computed in mpegts_packetizer_pts_to_ts
(mpegtspacketizer.c) and are wrong because PTS < PCRTIME_TO_GSTTIME(refpcr).
I found that this issue is likely the same as the one fixed by commit 
a822517ca94c132104faf484d11aaeaaecf9769a
(https://bugzilla.gnome.org/show_bug.cgi?id=731088) so I wrote likely the same
patch for this part of the code.

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