aravis icon indicating copy to clipboard operation
aravis copied to clipboard

Black(blank) captured Image: Frame Rate = 0 HZ Incomplete image received, dropping

Open barzan-hayati opened this issue 5 years ago • 4 comments

Describe the bug

I have a Basler Camera & I want to capture images by aravis viewer.

To Reproduce

Expected behavior I could capture images and view live stream video using aravis for other Basler camera models. I saw black screen by running avr-viewer . Also by running arv-device-test

Looking for the first available camera
vendor        = Basler
model         = daA1600-60uc

(arv-device-test:12802): Aravis-CRITICAL **: 17:53:15.169: arv_gc_string_get_value: assertion 'ARV_IS_GC_STRING (gc_string)' failed
device id     = (null)
sensor width  = 1600
sensor height = 1200
image width   = 1600 (max:1600)
image height  = 1200 (max:1200)
horizontal binning  = 1 (min:1 - max:2)
vertical binning    = 1 (min:1 - max:1)
exposure auto mode  = Continuous
gain                = 64 (min:64 - max:1016)
gain auto mode      = Continuous
trigger selector    = FrameStart
reverse x           = FALSE
payload size  = 3840000 (0x3a9800)
Frame rate = 19 Hz
Frame rate = 20 Hz
Frame rate = 21 Hz
^CProcessed buffers = 0
Failures          = 0
Underruns         = 78

tests/arv-camera-test

Looking for the first available camera
vendor name           = Basler
model name            = daA1600-60uc
device id             = (null)
image width           = 1600
image height          = 1200
horizontal binning    = 1
vertical binning      = 1
payload               = 3840000 bytes
exposure              = 12702 µs
gain                  = 0 dB
uv bandwidth limit     = 163000000 [0..-1]
Frame rate = 0 Hz
Frame rate = 0 Hz
Frame rate = 0 Hz
Frame rate = 0 Hz
Completed buffers = 0
Failures          = 0
Underruns         = 90

Camera description:

  • Manufacturer: Basler
  • Model: daA1600-60uc (22405944)
  • Interface [e.g. USB3]: USB3

Platform description:

  • Aravis version: 0.6
  • OS: Ubuntu 18.04 Bionic Server
  • Hardware Jetson Nano.

Additional context

How could I resolve this problem while I could see images correctly in Pylon(basler SDK).

barzan-hayati avatar Feb 15 '20 14:02 barzan-hayati

Ni @barzan-hayati

Could you please rerun arv-camera-test with debug output enabled ?

arv-camera-test -d all:3

EmmanuelP avatar Apr 06 '20 08:04 EmmanuelP

I have the same issue on Jetson Xavier NX. I outputted the debug to output.log (attached)

output.log

except my interface is not USB, but over ethernet. Perhaps i did not configure the build correctly?

l0g1x avatar Jun 10 '20 20:06 l0g1x

Could this be in any part due to the fact that I just realized I'm using a CAT5e cable? (trying to find a CAT6 and see if it works)

l0g1x avatar Jun 10 '20 21:06 l0g1x

Yes it was my cable. CAT5e will not work, only CAT6. Now I'm able to get non-zero frequency for both arv-device-test and arv-camera-test

l0g1x avatar Jun 10 '20 23:06 l0g1x