[Bug 674536] tsdemux: Freeze on pts-wrap with streaming sources

GStreamer (bugzilla.gnome.org) bugzilla at gnome.org
Wed May 9 04:31:56 PDT 2012


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

--- Comment #7 from Holger Kaelberer <hk at getslash.de> 2012-05-09 11:31:52 UTC ---
I can confirm this. Freeze happens on all tested DVB-S live streams (streaming
sources tested: getstream or Terracue IPTV gateway) at least once a day:
base_pcrtime is resetted, buffer ts increase about several hours from one frame
to the next and basesink sits (almost) forever on 

Thread 7 (Thread 0xb3c64b70 (LWP 6201)):
#0  0x00653416 in __kernel_vsyscall ()
#1  0x0587ed21 in ppoll () from /lib/libc.so.6
#2  0x00b76997 in gst_poll_wait (set=0x85d8b98, timeout=95443714080301) at
gstpo
ll.c:1282
#3  0x00b8bd69 in gst_system_clock_id_wait_jitter_unlocked (clock=0x862d8e0,
ent
ry=0xb5912240, jitter=0xb3c635f0, restart=1) at gstsystemclock.c:628
#4  0x00b40f01 in gst_clock_id_wait (id=0xb5912240, jitter=0xb3c635f0) at
gstclo
ck.c:494
#5  0x00f8ce6a in gst_base_sink_wait_clock (sink=0x8434e80, time=<value
optimize
d out>, jitter=0xb3c635f0) at gstbasesink.c:2225
#6  0x00f908a8 in gst_base_sink_do_sync (basesink=0x8434e80, obj_type=<value
optimized out>, obj=0xb596b570, pad=<value optimized out>) at
gstbasesink.c:2572

Debug extract:

mpegtspacketizer mpegtspacketizer.c:3216:mpegts_packetizer_pts_to_ts:ESC[00m
pts 95443762411111 base_pcrtime:95440393690000 base_time:0:00:00.000000000
tsdemux
tsdemux.c:1568:gst_ts_demux_push_pending_data:<tsdemux0:video_00a8>ESC[00m
Pushing buffer list with timestamp: 0:00:04.342565555
basesink gstbasesink.c:2568:gst_base_sink_do_sync:<xvimagesink0> possibly
waiting for clock to reach 0:00:04.222555555, adjusted 0:00:04.222555555

mpegtspacketizer mpegtspacketizer.c:2974:calculate_skew:ESC[00m backward
timestamps at server, taking new base time
mpegtspacketizer mpegtspacketizer.c:3216:mpegts_packetizer_pts_to_ts:ESC[00m
pts 95443779211111 base_pcrtime:851518 base_time:0:00:00.000000000
tsdemux
tsdemux.c:1568:gst_ts_demux_push_pending_data:<tsdemux0:video_00a8>ESC[00m
Pushing buffer list with timestamp: 26:30:44.655404037
basesink gstbasesink.c:2568:gst_base_sink_do_sync:<xvimagesink0> possibly
waiting for clock to reach 26:30:44.655400000, adjusted 26:30:44.655400000

Can provide another test stream, debugging output, backtraces if it helps ...

Julian's patch fixes this.

What is the status here? You don't recommend fixing it like this? Is another
solution near? We will try with the existing patch so long because by now
tsdemux is unusable on live TV-streams for us.

Thanks.

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