[Bug 754546] tsdemux: Problem with playing some HLS links

GStreamer (GNOME Bugzilla) bugzilla at gnome.org
Mon Sep 28 00:24:41 PDT 2015


https://bugzilla.gnome.org/show_bug.cgi?id=754546

--- Comment #12 from Om Prakash <om90.prakash at samsung.com> ---
Hi,

let me answer your below questions from your previous reply.
What exactly is the problem here? 

So, here the exact problem is not with new segment generation. Rather the
problem is with calculation of TS from PTS in mpegts_packetizer_pts_to_ts
function. 

That hlsdemux outputs a [0,-1] segment but timestamps are actually starting at
a big number, and your patch now offsets them to start at 0?

Here PTS timestamps from the segments are fine, its not starting at a big
number. And my patch is handling the TS calculation in case of Random Access
indicator flag, as in mpegts_packetizer_pts_to_ts , which calculates TS from
the received PTS is only for PCR flags.  So, even if the PTS from segment is
coming correct, mpegts_packetizer_pts_to_ts  is returning TS as
GST_CLOCK_TIME_NONE  for Non-PCR cases.

Thanks !

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