Audio Stuttering and gaps in audio sink
Ankur Deep Jaiswal
ankur at techgentsia.com
Fri Jul 20 11:59:15 UTC 2018
Hi,
i have written a custom audio sink. that reads from rtpbin.
i experience stuttering and gaps in the audio stream when both audio and
video sync=true
if sync=false on audio then there is no stuttering and gaps but audio/video
starts going out of lipsync and audio starts trailing video.
this is what shows up in the log.
0:00:06.288825428 [335m10450 [00m 0x7f68f8004e80 [33;01mWARN [00m
[00m audiobasesink
gstaudiobasesink.c:1787:gst_audio_base_sink_get_alignment:<customaudiosink-AVP-3082692e-34d4-4a26-8d55-9c61d3273b1e>
[00m Unexpected discontinuity in audio timestamps of +0:00:00.000750000,
resyncing
0:00:21.978953892 [335m10450 [00m 0x7f68f8004e80 [33;01mWARN [00m
[00m audiobasesink
gstaudiobasesink.c:1463:gst_audio_base_sink_skew_slaving:<customaudiosink-AVP-3082692e-34d4-4a26-8d55-9c61d3273b1e>
[00m correct clock skew +0:00:00.020624969 > +0:00:00.020000000
0:00:21.979072314 [335m10450 [00m 0x7f68f8004e80 [33;01mWARN [00m
[00m audiobasesink
gstaudiobasesink.c:1787:gst_audio_base_sink_get_alignment:<customaudiosink-AVP-3082692e-34d4-4a26-8d55-9c61d3273b1e>
[00m Unexpected discontinuity in audio timestamps of +0:00:00.029875000,
resyncing
0:03:06.077836948 [335m10450 [00m 0x7f68f8004e80 [33;01mWARN [00m
[00m audiobasesink
gstaudiobasesink.c:1491:gst_audio_base_sink_skew_slaving:<customaudiosink-AVP-3082692e-34d4-4a26-8d55-9c61d3273b1e>
[00m correct clock skew -0:00:00.020484430 < -+0:00:00.020000000
0:03:08.237935296 [335m10450 [00m 0x7f68f8004e80 [33;01mWARN [00m
[00m audiobasesink
gstaudiobasesink.c:1463:gst_audio_base_sink_skew_slaving:<customaudiosink-AVP-3082692e-34d4-4a26-8d55-9c61d3273b1e>
[00m correct clock skew +0:00:00.020609279 > +0:00:00.020000000
0:03:08.238052729 [335m10450 [00m 0x7f68f8004e80 [33;01mWARN [00m
[00m audiobasesink
gstaudiobasesink.c:1787:gst_audio_base_sink_get_alignment:<customaudiosink-AVP-3082692e-34d4-4a26-8d55-9c61d3273b1e>
[00m Unexpected discontinuity in audio timestamps of +0:00:00.040000000,
resyncing
0:12:34.799577809 [335m10450 [00m 0x7f68f8004e80 [33;01mWARN [00m
[00m audiobasesink
gstaudiobasesink.c:1491:gst_audio_base_sink_skew_slaving:<customaudiosink-AVP-3082692e-34d4-4a26-8d55-9c61d3273b1e>
[00m correct clock skew -0:00:00.020624969 < -+0:00:00.020000000
0:13:43.530901255 [335m10450 [00m 0x7f68f8004e80 [33;01mWARN [00m
[00m audiobasesink
gstaudiobasesink.c:1787:gst_audio_base_sink_get_alignment:<customaudiosink-AVP-3082692e-34d4-4a26-8d55-9c61d3273b1e>
[00m Unexpected discontinuity in audio timestamps of -0:00:00.040000000,
resyncing
0:14:34.865331330 [335m10450 [00m 0x7f68f8004e80 [33;01mWARN [00m
[00m audiobasesink
gstaudiobasesink.c:1787:gst_audio_base_sink_get_alignment:<customaudiosink-AVP-3082692e-34d4-4a26-8d55-9c61d3273b1e>
[00m Unexpected discontinuity in audio timestamps of +0:00:00.011937500,
resyncing
0:16:08.477820978 [335m10450 [00m 0x7f68f8004e80 [33;01mWARN [00m
[00m audiobasesink
gstaudiobasesink.c:1463:gst_audio_base_sink_skew_slaving:<customaudiosink-AVP-3082692e-34d4-4a26-8d55-9c61d3273b1e>
[00m correct clock skew +0:00:00.020624969 > +0:00:00.020000000
0:16:08.477883028 [335m10450 [00m 0x7f68f8004e80 [33;01mWARN [00m
[00m audiobasesink
gstaudiobasesink.c:1787:gst_audio_base_sink_get_alignment:<customaudiosink-AVP-3082692e-34d4-4a26-8d55-9c61d3273b1e>
[00m Unexpected discontinuity in audio timestamps of +0:00:00.028062500,
resyncing
0:16:48.558811060 [335m10450 [00m 0x7f68f8004e80 [33;01mWARN [00m
[00m audiobasesink
gstaudiobasesink.c:1491:gst_audio_base_sink_skew_slaving:<customaudiosink-AVP-3082692e-34d4-4a26-8d55-9c61d3273b1e>
[00m correct clock skew -0:00:00.020621294 < -+0:00:00.020000000
0:16:50.277857265 [335m10450 [00m 0x7f68f8004e80 [33;01mWARN [00m
[00m audiobasesink
gstaudiobasesink.c:1463:gst_audio_base_sink_skew_slaving:<customaudiosink-AVP-3082692e-34d4-4a26-8d55-9c61d3273b1e>
[00m correct clock skew +0:00:00.020584481 > +0:00:00.020000000
0:21:48.077973052 [335m10450 [00m 0x7f68f8004e80 [33;01mWARN [00m
[00m audiobasesink
gstaudiobasesink.c:1491:gst_audio_base_sink_skew_slaving:<customaudiosink-AVP-3082692e-34d4-4a26-8d55-9c61d3273b1e>
[00m correct clock skew -0:00:00.020285419 < -+0:00:00.020000000
0:21:48.358270778 [335m10450 [00m 0x7f68f8004e80 [33;01mWARN [00m
[00m audiobasesink
gstaudiobasesink.c:1463:gst_audio_base_sink_skew_slaving:<customaudiosink-AVP-3082692e-34d4-4a26-8d55-9c61d3273b1e>
[00m correct clock skew +0:00:00.020129497 > +0:00:00.020000000
0:22:09.158482452 [335m10450 [00m 0x7f68f8004e80 [33;01mWARN [00m
[00m audiobasesink
gstaudiobasesink.c:1491:gst_audio_base_sink_skew_slaving:<customaudiosink-AVP-3082692e-34d4-4a26-8d55-9c61d3273b1e>
[00m correct clock skew -0:00:00.020478679 < -+0:00:00.020000000
0:22:10.158551389 [335m10450 [00m 0x7f68f8004e80 [33;01mWARN [00m
[00m audiobasesink
gstaudiobasesink.c:1787:gst_audio_base_sink_get_alignment:<customaudiosink-AVP-3082692e-34d4-4a26-8d55-9c61d3273b1e>
[00m Unexpected discontinuity in audio timestamps of -0:00:00.040000000,
resyncing
0:22:11.278444436 [335m10450 [00m 0x7f68f8004e80 [33;01mWARN [00m
[00m audiobasesink
gstaudiobasesink.c:1463:gst_audio_base_sink_skew_slaving:<customaudiosink-AVP-3082692e-34d4-4a26-8d55-9c61d3273b1e>
[00m correct clock skew +0:00:00.020608447 > +0:00:00.020000000
0:22:11.278507387 [335m10450 [00m 0x7f68f8004e80 [33;01mWARN [00m
[00m audiobasesink
gstaudiobasesink.c:1787:gst_audio_base_sink_get_alignment:<customaudiosink-AVP-3082692e-34d4-4a26-8d55-9c61d3273b1e>
[00m Unexpected discontinuity in audio timestamps of +0:00:00.040000000,
resyncing
0:22:40.399178332 [335m10450 [00m 0x7f68f8004e80 [33;01mWARN [00m
[00m audiobasesink
gstaudiobasesink.c:1491:gst_audio_base_sink_skew_slaving:<customaudiosink-AVP-3082692e-34d4-4a26-8d55-9c61d3273b1e>
[00m correct clock skew -0:00:00.020624969 < -+0:00:00.020000000
0:25:00.872319002 [335m10450 [00m 0x7f68f8004e80 [33;01mWARN [00m
[00m audiobasesink
gstaudiobasesink.c:1787:gst_audio_base_sink_get_alignment:<customaudiosink-AVP-3082692e-34d4-4a26-8d55-9c61d3273b1e>
[00m Unexpected discontinuity in audio timestamps of -0:00:00.040000000,
resyncing
0:25:59.885151306 [335m10450 [00m 0x7f68f8004e80 [33;01mWARN [00m
[00m audiobasesink
gstaudiobasesink.c:1787:gst_audio_base_sink_get_alignment:<customaudiosink-AVP-3082692e-34d4-4a26-8d55-9c61d3273b1e>
[00m Unexpected discontinuity in audio timestamps of +0:00:00.011250000,
resyncing
0:27:34.887909949 [335m10450 [00m 0x7f68f8004e80 [33;01mWARN [00m
[00m audiobasesink
gstaudiobasesink.c:1787:gst_audio_base_sink_get_alignment:<customaudiosink-AVP-3082692e-34d4-4a26-8d55-9c61d3273b1e>
[00m Unexpected discontinuity in audio timestamps of +0:00:00.000687500,
resyncing
0:28:16.277740487 [335m10450 [00m 0x7f68f8004e80 [33;01mWARN [00m
[00m audiobasesink
gstaudiobasesink.c:1463:gst_audio_base_sink_skew_slaving:<customaudiosink-AVP-3082692e-34d4-4a26-8d55-9c61d3273b1e>
[00m correct clock skew +0:00:00.020624969 > +0:00:00.020000000
0:28:16.277804538 [335m10450 [00m 0x7f68f8004e80 [33;01mWARN [00m
[00m audiobasesink
gstaudiobasesink.c:1787:gst_audio_base_sink_get_alignment:<customaudiosink-AVP-3082692e-34d4-4a26-8d55-9c61d3273b1e>
[00m Unexpected discontinuity in audio timestamps of +0:00:00.028062500,
resyncing
0:29:35.298076382 [335m10450 [00m 0x7f68f8004e80 [33;01mWARN [00m
[00m audiobasesink
gstaudiobasesink.c:1491:gst_audio_base_sink_skew_slaving:<customaudiosink-AVP-3082692e-34d4-4a26-8d55-9c61d3273b1e>
[00m correct clock skew -0:00:00.020463915 < -+0:00:00.020000000
0:29:35.398201372 [335m10450 [00m 0x7f68f8004e80 [33;01mWARN [00m
[00m audiobasesink
gstaudiobasesink.c:1463:gst_audio_base_sink_skew_slaving:<customaudiosink-AVP-3082692e-34d4-4a26-8d55-9c61d3273b1e>
[00m correct clock skew +0:00:00.020229179 > +0:00:00.020000000
0:33:52.877774961 [335m10450 [00m 0x7f68f8004e80 [33;01mWARN [00m
[00m audiobasesink
gstaudiobasesink.c:1491:gst_audio_base_sink_skew_slaving:<customaudiosink-AVP-3082692e-34d4-4a26-8d55-9c61d3273b1e>
[00m correct clock skew -0:00:00.020139994 < -+0:00:00.020000000
0:33:53.677869871 [335m10450 [00m 0x7f68f8004e80 [33;01mWARN [00m
[00m audiobasesink
gstaudiobasesink.c:1463:gst_audio_base_sink_skew_slaving:<customaudiosink-AVP-3082692e-34d4-4a26-8d55-9c61d3273b1e>
[00m correct clock skew +0:00:00.020585673 > +0:00:00.020000000
0:34:15.320265286 [335m10450 [00m 0x7f68f8004e80 [33;01mWARN [00m
[00m audiobasesink
gstaudiobasesink.c:1491:gst_audio_base_sink_skew_slaving:<customaudiosink-AVP-3082692e-34d4-4a26-8d55-9c61d3273b1e>
[00m correct clock skew -0:00:00.020624127 < -+0:00:00.020000000
0:36:20.892022579 [335m10450 [00m 0x7f68f8004e80 [33;01mWARN [00m
[00m audiobasesink
gstaudiobasesink.c:1787:gst_audio_base_sink_get_alignment:<customaudiosink-AVP-3082692e-34d4-4a26-8d55-9c61d3273b1e>
[00m Unexpected discontinuity in audio timestamps of -0:00:00.040000000,
resyncing
0:37:19.892950485 [335m10450 [00m 0x7f68f8004e80 [33;01mWARN [00m
[00m audiobasesink
gstaudiobasesink.c:1787:gst_audio_base_sink_get_alignment:<customaudiosink-AVP-3082692e-34d4-4a26-8d55-9c61d3273b1e>
[00m Unexpected discontinuity in audio timestamps of +0:00:00.011500000,
resyncing
0:39:15.837618385 [335m10450 [00m 0x7f68f8004e80 [33;01mWARN [00m
[00m audiobasesink
gstaudiobasesink.c:1463:gst_audio_base_sink_skew_slaving:<customaudiosink-AVP-3082692e-34d4-4a26-8d55-9c61d3273b1e>
[00m correct clock skew +0:00:00.020624969 > +0:00:00.020000000
0:39:15.837736057 [335m10450 [00m 0x7f68f8004e80 [33;01mWARN [00m
[00m audiobasesink
gstaudiobasesink.c:1787:gst_audio_base_sink_get_alignment:<customaudiosink-AVP-3082692e-34d4-4a26-8d55-9c61d3273b1e>
[00m Unexpected discontinuity in audio timestamps of +0:00:00.039437500,
resyncing
0:39:50.999558083 [335m10450 [00m 0x7f68f8004e80 [33;01mWARN [00m
[00m audiobasesink
gstaudiobasesink.c:1491:gst_audio_base_sink_skew_slaving:<customaudiosink-AVP-3082692e-34d4-4a26-8d55-9c61d3273b1e>
[00m correct clock skew -0:00:00.020624969 < -+0:00:00.020000000
0:40:00.758152837 [335m10450 [00m 0x7f68f8004e80 [33;01mWARN [00m
[00m audiobasesink
gstaudiobasesink.c:1463:gst_audio_base_sink_skew_slaving:<customaudiosink-AVP-3082692e-34d4-4a26-8d55-9c61d3273b1e>
[00m correct clock skew +0:00:00.020306223 > +0:00:00.020000000
0:40:00.758218968 [335m10450 [00m 0x7f68f8004e80 [33;01mWARN [00m
[00m audiobasesink
gstaudiobasesink.c:1787:gst_audio_base_sink_get_alignment:<customaudiosink-AVP-3082692e-34d4-4a26-8d55-9c61d3273b1e>
[00m Unexpected discontinuity in audio timestamps of +0:00:00.040000000,
resyncing
0:40:11.458253692 [335m10450 [00m 0x7f68f8004e80 [33;01mWARN [00m
[00m audiobasesink
gstaudiobasesink.c:1491:gst_audio_base_sink_skew_slaving:<customaudiosink-AVP-3082692e-34d4-4a26-8d55-9c61d3273b1e>
[00m correct clock skew -0:00:00.020475714 < -+0:00:00.020000000
0:40:11.958175943 [335m10450 [00m 0x7f68f8004e80 [33;01mWARN [00m
[00m audiobasesink
gstaudiobasesink.c:1463:gst_audio_base_sink_skew_slaving:<customaudiosink-AVP-3082692e-34d4-4a26-8d55-9c61d3273b1e>
[00m correct clock skew +0:00:00.020409892 > +0:00:00.020000000
0:42:32.463385488 [335m10450 [00m 0x7f68f8004e80 [33;01mWARN [00m
[00m audiobasesink
gstaudiobasesink.c:1491:gst_audio_base_sink_skew_slaving:<customaudiosink-AVP-3082692e-34d4-4a26-8d55-9c61d3273b1e>
[00m correct clock skew -0:00:00.020624969 < -+0:00:00.020000000
0:43:00.874987277 [335m10450 [00m 0x7f68f8004e80 [33;01mWARN [00m
[00m audiobasesink
gstaudiobasesink.c:1787:gst_audio_base_sink_get_alignment:<customaudiosink-AVP-3082692e-34d4-4a26-8d55-9c61d3273b1e>
[00m Unexpected discontinuity in audio timestamps of -0:00:00.040000000,
resyncing
0:43:04.865232641 [335m10450 [00m 0x7f68f8004e80 [33;01mWARN [00m
[00m audiobasesink
gstaudiobasesink.c:1787:gst_audio_base_sink_get_alignment:<customaudiosink-AVP-3082692e-34d4-4a26-8d55-9c61d3273b1e>
[00m Unexpected discontinuity in audio timestamps of +0:00:00.004437500,
resyncing
0:43:44.906069682 [335m10450 [00m 0x7f68f8004e80 [33;01mWARN [00m
[00m audiobasesink
gstaudiobasesink.c:1787:gst_audio_base_sink_get_alignment:<customaudiosink-AVP-3082692e-34d4-4a26-8d55-9c61d3273b1e>
[00m Unexpected discontinuity in audio timestamps of +0:00:00.019062500,
resyncing
0:43:58.717971511 [335m10450 [00m 0x7f68f8004e80 [33;01mWARN [00m
[00m audiobasesink
gstaudiobasesink.c:1463:gst_audio_base_sink_skew_slaving:<customaudiosink-AVP-3082692e-34d4-4a26-8d55-9c61d3273b1e>
[00m correct clock skew +0:00:00.020624969 > +0:00:00.020000000
0:43:58.718041483 [335m10450 [00m 0x7f68f8004e80 [33;01mWARN [00m
[00m audiobasesink
gstaudiobasesink.c:1787:gst_audio_base_sink_get_alignment:<customaudiosink-AVP-3082692e-34d4-4a26-8d55-9c61d3273b1e>
[00m Unexpected discontinuity in audio timestamps of +0:00:00.019875000,
resyncing
0:44:30.857854084 [335m10450 [00m 0x7f68f8004e80 [33;01mWARN [00m
[00m audiobasesink
gstaudiobasesink.c:1491:gst_audio_base_sink_skew_slaving:<customaudiosink-AVP-3082692e-34d4-4a26-8d55-9c61d3273b1e>
[00m correct clock skew -0:00:00.020582000 < -+0:00:00.020000000
0:44:31.497939939 [335m10450 [00m 0x7f68f8004e80 [33;01mWARN [00m
[00m audiobasesink
gstaudiobasesink.c:1463:gst_audio_base_sink_skew_slaving:<customaudiosink-AVP-3082692e-34d4-4a26-8d55-9c61d3273b1e>
[00m correct clock skew +0:00:00.020414274 > +0:00:00.020000000
0:44:31.498037132 [335m10450 [00m 0x7f68f8004e80 [33;01mWARN [00m
[00m audiobasesink
gstaudiobasesink.c:1787:gst_audio_base_sink_get_alignment:<customaudiosink-AVP-3082692e-34d4-4a26-8d55-9c61d3273b1e>
[00m Unexpected discontinuity in audio timestamps of +0:00:00.040000000,
resyncing
0:44:35.638003879 [335m10450 [00m 0x7f68f8004e80 [33;01mWARN [00m
[00m audiobasesink
gstaudiobasesink.c:1491:gst_audio_base_sink_skew_slaving:<customaudiosink-AVP-3082692e-34d4-4a26-8d55-9c61d3273b1e>
[00m correct clock skew -0:00:00.020238453 < -+0:00:00.020000000
0:44:38.938132104 [335m10450 [00m 0x7f68f8004e80 [33;01mWARN [00m
[00m audiobasesink
gstaudiobasesink.c:1463:gst_audio_base_sink_skew_slaving:<customaudiosink-AVP-3082692e-34d4-4a26-8d55-9c61d3273b1e>
[00m correct clock skew +0:00:00.020311219 > +0:00:00.020000000
0:50:51.778391023 [335m10450 [00m 0x7f68f8004e80 [33;01mWARN [00m
[00m audiobasesink
gstaudiobasesink.c:1491:gst_audio_base_sink_skew_slaving:<customaudiosink-AVP-3082692e-34d4-4a26-8d55-9c61d3273b1e>
[00m correct clock skew -0:00:00.020173749 < -+0:00:00.020000000
0:50:54.178410218 [335m10450 [00m 0x7f68f8004e80 [33;01mWARN [00m
[00m audiobasesink
gstaudiobasesink.c:1463:gst_audio_base_sink_skew_slaving:<customaudiosink-AVP-3082692e-34d4-4a26-8d55-9c61d3273b1e>
[00m correct clock skew +0:00:00.020308636 > +0:00:00.020000000
0:55:23.618686737 [335m10450 [00m 0x7f68f8004e80 [33;01mWARN [00m
[00m audiobasesink
gstaudiobasesink.c:1491:gst_audio_base_sink_skew_slaving:<customaudiosink-AVP-3082692e-34d4-4a26-8d55-9c61d3273b1e>
[00m correct clock skew -0:00:00.020322368 < -+0:00:00.020000000
0:55:23.998661861 [335m10450 [00m 0x7f68f8004e80 [33;01mWARN [00m
[00m audiobasesink
gstaudiobasesink.c:1463:gst_audio_base_sink_skew_slaving:<customaudiosink-AVP-3082692e-34d4-4a26-8d55-9c61d3273b1e>
[00m correct clock skew +0:00:00.020448643 > +0:00:00.020000000
--
Regards
Ankur Deep Jaiswal
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/gstreamer-devel/attachments/20180720/9090e041/attachment-0001.html>
More information about the gstreamer-devel
mailing list