<div dir="ltr"><div><div><div><div>Hi Sebastian.<br><br></div>Bug has been filed for this.<br><a href="https://bugzilla.gnome.org/show_bug.cgi?id=766790">https://bugzilla.gnome.org/show_bug.cgi?id=766790</a><br><br></div>Note that there are two related bugs. One is that the DTS is not calculated correctly and the other is that v4l2src fails to detect that the FPS from camera can change while streaming due to not enough light to provide the specified framerate.<br><br></div>kind regards<br></div>Peter MM<br></div><div class="gmail_extra"><br><div class="gmail_quote">On Wed, May 18, 2016 at 2:33 PM, Sebastian Dröge <span dir="ltr"><<a href="mailto:sebastian@centricular.com" target="_blank">sebastian@centricular.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><span class="">On Di, 2016-05-17 at 15:43 +0200, Peter Maersk-Moller wrote:<br>
> <br>
> Is there a workaround for this bug? Apparently uvch264src does not<br>
> generate evenly spaced time stamps, even though the fixed rate is<br>
> enabled and the camera on an average generate the correct number of<br>
> frames per second?<br>
><br>
> I tried to look at the timestamps after a h264parse and that generate<br>
> nicely even spaced timestamps for DTS, but that is not going to help<br>
> ad the PTS will be used for display.<br>
<br>
</span>Can you file a bug about this? Would also be useful to know if v4l2src<br>
is getting driver timestamps here or if we invent them ourselves, and<br>
in case of the former if the driver actually gives correct (evenly<br>
spaced) timestamps.<br>
<br>
If we invent timestamps, they will be the ones when the frame arrived<br>
in v4l2src. This depends a lot on the scheduler and as such you won't<br>
get perfectly evenly spaced timestamps.<br>
<span class=""><br>
> I tried v4l2src with same result, but it seems uvch264src uses<br>
> v4l2src somehow.<br>
<br>
</span>It's just a wrapper around v4l2src, yes.<br>
<span class="HOEnZb"><font color="#888888"><br>
--<br>
Sebastian Dröge, Centricular Ltd · <a href="http://www.centricular.com" rel="noreferrer" target="_blank">http://www.centricular.com</a><br>
<br>
</font></span><br>_______________________________________________<br>
gstreamer-devel mailing list<br>
<a href="mailto:gstreamer-devel@lists.freedesktop.org">gstreamer-devel@lists.freedesktop.org</a><br>
<a href="https://lists.freedesktop.org/mailman/listinfo/gstreamer-devel" rel="noreferrer" target="_blank">https://lists.freedesktop.org/mailman/listinfo/gstreamer-devel</a><br>
<br></blockquote></div><br></div>