GNOME Bugzilla – Bug 766871
Playback hangs after audioresample gstaudioresample.c:1009:gst_audio_resample_check_discont:<resampler> encountered timestamp discontinuity
Last modified: 2018-11-03 11:46:40 UTC
I am encountering hangs in playback after getting following warning from audioresample audioresample gstaudioresample.c:1009:gst_audio_resample_check_discont:<resampler> encountered timestamp discontinuity of 26052735 samples = 0:09:50.764965986 No warnings and errors on bus, it just stops. It happens always at the same position. I attach GST_DEBUG=*:5 log. GStreamer 1.8.0 from Ubuntu 16.04.
Log file: https://pub.radiokit.org/gstbug766871/resampler.log.xz
Sample file: https://pub.radiokit.org/gstbug766871/test.ogg Sample pipeline: gst-launch-1.0 -v -m souphttpsrc location="https://pub.radiokit.org/gstbug766871/test.ogg" automatic-redirect=false is-live=false keep-alive=false ssl-strict=true iradio-mode=false user-agent=test timeout=10 ! queue ! decodebin caps=audio/x-raw expose-all-streams=false ! audioconvert ! audioresample quality=5 ! level post-messages=true interval=40000000 peak-falloff=16 peak-ttl=200000000 ! capsfilter caps=audio/x-raw,channels=2 ! jackaudiosink connect=0 client-name=test
That file has missing data for about 10 minutes. After the 10 minute pause, playback restarts (with pulsesink, I don't have the jack plugin). 00:01:04.486: serialno 0959216794, calc. gpos 2843840, packetno 5005: 197 bytes 00:01:04.509: serialno 0959216794, calc. gpos 2844864, packetno 5006: 196 bytes 00:01:04.532: serialno 0959216794, calc. gpos 2845888, packetno 5007: 179 bytes 00:01:04.555: serialno 0959216794, calc. gpos 2846912, packetno 5008: 151 bytes 00:01:04.579: serialno 0959216794, granulepos 2847936, packetno 5009: 124 bytes 00:10:55.344: serialno 0959216794, calc. gpos 28900671, packetno 5011: 209 bytes 00:10:55.367: serialno 0959216794, calc. gpos 28901695, packetno 5012: 206 bytes 00:10:55.390: serialno 0959216794, calc. gpos 28902719, packetno 5013: 202 bytes 00:10:55.413: serialno 0959216794, calc. gpos 28903743, packetno 5014: 196 bytes 00:10:55.436: serialno 0959216794, calc. gpos 28904767, packetno 5015: 203 bytes 00:10:55.460: serialno 0959216794, calc. gpos 28905791, packetno 5016: 204 bytes 00:10:55.483: serialno 0959216794, calc. gpos 28906815, packetno 5017: 202 bytes 00:10:55.506: serialno 0959216794, calc. gpos 28907839, packetno 5018: 199 bytes 00:10:55.529: serialno 0959216794, calc. gpos 28908863, packetno 5019: 199 bytes 00:10:55.552: serialno 0959216794, calc. gpos 28909887, packetno 5020: 215 bytes 00:10:55.566: serialno 0959216794, calc. gpos 28910463, packetno 5021: 43 bytes 00:10:55.568: serialno 0959216794, calc. gpos 28910591, packetno 5022: 44 bytes 00:10:55.571: serialno 0959216794, calc. gpos 28910719, packetno 5023: 41 bytes 00:10:55.574: serialno 0959216794, calc. gpos 28910847, packetno 5024: 44 bytes 00:10:55.577: serialno 0959216794, calc. gpos 28910975, packetno 5025: 47 bytes 00:10:55.580: serialno 0959216794, calc. gpos 28911103, packetno 5026: 58 bytes 00:10:55.583: serialno 0959216794, calc. gpos 28911231, packetno 5027: 50 bytes 00:10:55.596: serialno 0959216794, calc. gpos 28911807, packetno 5028: 189 bytes 00:10:55.619: serialno 0959216794, calc. gpos 28912831, packetno 5029: 122 bytes 00:10:55.642: serialno 0959216794, calc. gpos 28913855, packetno 5030: 121 bytes 00:10:55.666: serialno 0959216794, calc. gpos 28914879, packetno 5031: 140 bytes 00:10:55.689: serialno 0959216794, calc. gpos 28915903, packetno 5032: 159 bytes 00:10:55.712: serialno 0959216794, calc. gpos 28916927, packetno 5033: 131 bytes 00:10:55.735: serialno 0959216794, calc. gpos 28917951, packetno 5034: 126 bytes 00:10:55.759: serialno 0959216794, calc. gpos 28918975, packetno 5035: 124 bytes 00:10:55.782: serialno 0959216794, calc. gpos 28919999, packetno 5036: 132 bytes 00:10:55.805: serialno 0959216794, calc. gpos 28921023, packetno 5037: 127 bytes 00:10:55.828: serialno 0959216794, granulepos 28922047, packetno 5038: 130 bytes 00:10:55.851: serialno 0959216794, calc. gpos 28923071, packetno 5039: 120 bytes 00:10:55.875: serialno 0959216794, calc. gpos 28924095, packetno 5040: 122 bytes
Additionally, it seems to have bad muxing: $ oggz-validate test.ogg test.ogg: Error: 00:01:05.345: serialno 0959216794: Packet out of order (previous 00:22:54.535) 00:02:19.144: serialno 0959216794: Packet out of order (previous 00:34:52.168) 00:03:32.580: serialno 0959216794: Packet out of order (previous 00:47:06.374) 00:04:46.563: serialno 0959216794: Packet out of order (previous 00:59:21.170) 00:05:58.378: serialno 0959216794: Packet out of order (previous 01:11:18.687) 00:07:11.204: serialno 0959216794: Packet out of order (previous 01:23:16.659) 00:08:25.804: serialno 0959216794: Packet out of order (previous 01:35:14.800) 00:09:41.178: serialno 0959216794: Packet out of order (previous 01:47:19.094) serialno 0959216794: missing *** eos The EOS thing maybe OK if it's an excerpt from some live broadcast.
-- GitLab Migration Automatic Message -- This bug has been migrated to freedesktop.org's GitLab instance and has been closed from further activity. You can subscribe and participate further through the new bug through this link to our GitLab instance: https://gitlab.freedesktop.org/gstreamer/gst-plugins-base/issues/270.