[aravis] Re: Debugging latency & long pause issues with Blackfly camera...

  • From: Emmanuel Pacaud <emmanuel@xxxxxxxxx>
  • To: aravis@xxxxxxxxxxxxx
  • Date: Tue, 15 Apr 2014 10:32:03 +0200

Hi,

Le lundi 14 avril 2014 à 21:53 +0200, Emmanuel Pacaud a écrit :
> > I'm not asking that anybody solve this (although, if you've seen this
> > sort of thing with the Blackfly, or other cameras and can tell me what
> > to fix, you would have my eternal gratitude), but if anybody has some
> > suggestions as to what I might look at, or what tools I might use, to
> > diagnose these pauses, I would be grateful.
> 
> I have a blackfly camera with which I face some troubles similar to
> yours. I think it's due to the fact the register giving the Time Tick
> Frequency returns a wrong value. And this value is used to compute the
> image buffer timestamps.

I've changed the viewer in git master to always use host time for buffer
timestamp. It fixes issues I was seeing using my blackfly camera.

Using the gstreamer plugins, do-timestamp=true also allows to work with
a blackfly camera. It looks like there is around 100ms of latency in the
following pipeline, but I think it comes from the pipeline itself, not
aravissrc element:

gstreamer 0.10 version:

./gst-aravis-launch aravissrc do-timestamp=true ! 
video/x-raw-gray,bpp=8,depth=8 ! ffmpegcolorspace ! autovideosink

gstreamer 1.0 version:

./gst-aravis-launch aravissrc do-timestamp=true ! video/x-raw,format=GRAY8 ! 
videoconvert ! autovideosink

        Cheers,

                Emmanuel.


Other related posts: