GNOME Bugzilla – Bug 584235
[mpegtsparse] Add timestamp capability to mpegtsparse
Last modified: 2011-05-20 07:49:28 UTC
Currenty mpegtsparse does is not aware of timestamps, which makes extremely hard plain stupid streaming of mpeg-ts data. Moreover, in order to stream it, we used to have to use at meast demux+mux, or even decodebin to fill in all the timestamps in gaps. Without patch, gstreamer just sends stuff as fast as possible, making whole thing on rtp an oxymoron.
Created attachment 135581 [details] [review] tentative patch to address the problem This is partially what decodebin does to provide proper timestamps, while decoding and demuxing.
+ + GST_TIME_TO_TIMESPEC( + GST_TIMESPEC_TO_TIME(init_ts) + pts * 10000L, current_ts); + + clock_nanosleep(CLOCK_REALTIME, TIMER_ABSTIME, ¤t_ts, NULL); +} + It's not allowed to sleep in elements like this. Also I don't see why one should sleep there just to put timestamps on buffers.
it is a debug hunk that missed cleanup - I'll rip it out. Anything else to take into account?
What's the progress of this bug? There seems to be timestamp support now
well at that point we had to switch to libvlc for that particular streams to address the problem. If there is such a thing in mainline already, I'll close this bug. But can't really test it since the setup doesn't exist anymore...
Ok, then let's close this for now.