GNOME Bugzilla – Bug 750381
ksvideosrc: buffers have no timestamp
Last modified: 2015-06-04 12:34:53 UTC
This pipeline only displays the 1st frame : ksvideosrc ! timeoverlay ! d3dvideosink Log shows: 0:00:54.704702145 6108 53C69348 WARN pango gstbasetextoverlay.c:2533:gst_base_text_overlay_video_ch ain:<timeoverlay1> buffer without timestamp, discarding The issue is related to this changeset : http://cgit.freedesktop.org/gstreamer/gst-plugins-bad/commit/sys/winks?id=1991b5bb6f1d575bea60b5c6b8d2050edf39ccfc A quick looks shows that the implemented logic is apparently the reverse of what was intended. This pipeline works : ksvideosrc do-timestamp=true ! timeoverlay ! autovideosink I also tried to fix the issue by reverting the above mentioned changeset. The pipeline then works as intended but the log shows these warnings: 0:00:23.757778342 5508 53BA9348 INFO ksvideosrc gstksvideosrc.c:897:gst_ks_video_src_timestamp_buffer:<ksvideosrc0> lost 2 frames, setting discont flag
Fixed the logic: commit 96d1331679adc032ccfc2719c0c9954b9751b34b Author: Tim-Philipp Müller <tim@centricular.com> Date: Thu Jun 4 13:31:56 2015 +0100 ksvideosrc: fix logic and timestamp non-muxed streams again https://bugzilla.gnome.org/show_bug.cgi?id=750381 (Not that it's clear to me why mux streams should not be timestamped..)