Open TAldhous opened 11 months ago
The GigEvision camera does not receive any stream packet at all. Do you have a firewall that would block the stream packets ? Or an exotic network configuration ?
Did you check the cameras are working using linux ?
For the USB camera, aravis relies on libusb which seems to be tricky to set up under windows. Please have a look at aravis discourse instance, I recall some discussions about it happening there.
Both cameras work on Windows with GalaxyViewer, the example viewer provided by Daheng Imaging.
We get the same problem on two different PC's in different environments - one is an office machine, the other is a home laptop. I have tested it with the firewall turned off on the home laptop, but will test it again just to make sure. I have not tested it on a linux machine, but will do so and report my findings.
I will investigate the setup of libusb to see if that helps to solve the issue.
Thanks for responding!
I have retested, and the firewall was definitely part of the problem. Allowing arv-camera-test-0.8.exe through the firewall on the laptop at home connected via wifi, gives this:
$ arv-camera-test-0.8.exe
Looking for the first available camera
vendor name = Daheng Imaging
model name = MER2-630-18GC-P
device serial number = XXXXXXXXXXX
image width = 3088
image height = 2064
horizontal binning = 1
vertical binning = 1
exposure = 2500 ┬Ás
gain = 0 dB
payload = 6373632 bytes
gv n_stream channels = 1
gv current channel = 0
gv packet delay = 0 ns
gv packet size = 1500 bytes
0 frame/s - 0 MiB/s - 8 errors
0 frame/s - 0 MiB/s - 16 errors
0 frame/s - 0 MiB/s - 16 errors
0 frame/s - 0 MiB/s - 18 errors
0 frame/s - 0 MiB/s - 18 errors
0 frame/s - 0 MiB/s - 16 errors
0 frame/s - 0 MiB/s - 17 errors
0 frame/s - 0 MiB/s - 17 errors
0 frame/s - 0 MiB/s - 17 errors
0 frame/s - 0 MiB/s - 16 errors
Control lost
0 frame/s - 0 MiB/s - 18 errors
n_completed_buffers = 0
n_failures = 177
n_underruns = 0
n_timeouts = 177
n_aborted = 0
n_missing_frames = 0
n_size_mismatch_errors = 0
n_received_packets = 16575
n_missing_packets = 769922
n_error_packets = 0
n_ignored_packets = 2185
n_resend_requests = 213887
n_resent_packets = 0
n_resend_ratio_reached = 173
n_resend_disabled = 0
n_duplicated_packets = 0
n_transferred_bytes = 21124308
n_ignored_bytes = 17480
Changing to a wired connection gives this:
$ arv-camera-test-0.8.exe
Looking for the first available camera
vendor name = Daheng Imaging
model name = MER2-630-18GC-P
device serial number = FBJ22120380
image width = 3088
image height = 2064
horizontal binning = 1
vertical binning = 1
exposure = 2500 ┬Ás
gain = 0 dB
payload = 6373632 bytes
gv n_stream channels = 1
gv current channel = 0
gv packet delay = 0 ns
gv packet size = 1500 bytes
15 frames/s - 95.6 MiB/s
16 frames/s - 102 MiB/s
18 frames/s - 115 MiB/s
17 frames/s - 108 MiB/s
16 frames/s - 102 MiB/s
16 frames/s - 102 MiB/s
17 frames/s - 108 MiB/s
17 frames/s - 108 MiB/s
17 frames/s - 108 MiB/s
16 frames/s - 102 MiB/s
16 frames/s - 102 MiB/s
17 frames/s - 108 MiB/s
16 frames/s - 102 MiB/s
18 frames/s - 115 MiB/s
16 frames/s - 102 MiB/s
17 frames/s - 108 MiB/s
n_completed_buffers = 267
n_failures = 0
n_underruns = 0
n_timeouts = 0
n_aborted = 0
n_missing_frames = 0
n_size_mismatch_errors = 0
n_received_packets = 1166474
n_missing_packets = 0
n_error_packets = 0
n_ignored_packets = 0
n_resend_requests = 7557
n_resent_packets = 6233
n_resend_ratio_reached = 0
n_resend_disabled = 0
n_duplicated_packets = 0
n_transferred_bytes = 1716316272
n_ignored_bytes = 0
a huge improvement!
However, arv-viewer-0.8.exe does not work. It detects the camera but when the play button is clicked, it just shows a blank window: which eventually just becomes a frame:
Do you have any suggestions as to what is failing, and how I might fix it.
Many thanks for responding.
I would like to stream video from two Daheng Imaging 4k cameras using the Aravis Gstreamer plugin on Windows 10. One camera is a GIGE network camera model MER2-630-18GC-P and the other is a USB3 camera model ME2P-900-43U3C. Both work with Galaxy Viewer, the sample application provided by Daheng Imaging.
I have built Aravis 0.8.29 as described in the documentation, and tried connecting to the cameras using the Aravis viewer.
The USB3 camera is not detected by the Aravis viewer at all.
The GIGE camera is detected by the Aravis viewer, but when selected, it fails to show any video.
I also tried running arv-camera-test. The output is as follows:
Do you have any suggestions on how I can get the cameras to work with Aravis?
Many Thanks