🧪 Aravis 0.9.0 development release

Hi,

I have started a new development series due to some needed API breaks. This series introduces native buffers, which allows for example to allocate libusb DMA buffers when using the USB3Vision protocol.

Thanks to Xiaoqiang and Václav, experimental support was added to make aravis either a GenTL producer or a GenTL consumer.

Another experimental feature is the v4l2 interface, which provides access to the v4l2 stream using the aravis API.

  • v4l2, USB3Vision: native buffer allocation (Emmanuel)
  • GenTL producer: experimental implementation (Václav)
  • GenTL consumer: experimental implementation (Xiaoqiang)
  • v4l2 interface: experimental implementation (Emmanuel)
  • USB3Vision: make maximum transfer size configurable (Emmanuel)
  • gst: add gamma property (WhaSukGO)

Have fun using Aravis.

Cheers,

Emmanuel.

1 Like

How to use v4l2?

I did build with ‘-Dv4l2=enabled’

Can you share how to use and stream?

arv-tool-0.10 should return the available v4l2 device. For example, on my laptop:

./src/arv-tool-0.10
uvcvideo-Integrated_Webcam_HD: Integrate-200901010001 (/dev/video0)

It is possible to test it using arv-camera-test-0.10:

 ./src/arv-camera-test-0.10
Looking for the first available camera
vendor name            = uvcvideo
model name             = Integrated_Webcam_HD: Integrate
device serial number   = /dev/video0
image width            = 640
image height           = 480
exposure               = 62400 µs
gain                   = 2 dB
payload                = 614400 bytes
 26 frames/s -      16 MiB/s
 30 frames/s -    18.4 MiB/s
 30 frames/s -    18.4 MiB/s
^C 30 frames/s -    18.4 MiB/s
n_completed_buffers    = 116
n_failures             = 0
n_underruns            = 0
n_transferred_bytes    = 71270400