[Bug 729134] mpegtssection: Include a timestamp

GStreamer (bugzilla.gnome.org) bugzilla at gnome.org
Tue Apr 29 09:37:26 PDT 2014


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

--- Comment #9 from Brendan Long <self at brendanlong.com> 2014-04-29 16:37:22 UTC ---
http://en.wikipedia.org/wiki/MPEG_transport_stream#PCR

> To enable a decoder to present synchronized content, such as audio tracks matching the associated video, at least once each 100 ms a Program Clock Reference, or PCR is transmitted in the adaptation field of an MPEG-2 transport stream packet. [...] Timing in MPEG2 references this clock. For example, the presentation time stamp (PTS) is intended to be relative to the PCR.

I guess according to this, a PCR isn't required:

http://en.wikipedia.org/wiki/Program-specific_information#PMT_.28Program_map_specific_data.29

> The packet identifier that contains the program clock reference used to improve the random access accuracy of the stream's timing that is derived from the program timestamp. If this is unused. then it is set to 0x1FFF (all bits on).

I'm not sure how we would provide any reasonable timestamp without the PCR
though. Any ideas? We could just leave it at GST_CLOCK_TIME_NONE if we have no
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.


More information about the gstreamer-bugs mailing list