I’ve successfully installed Aravis-gst using MSYS2 on my windows 10 machine using the mingw64 packages, but I’m having trouble with getting it to work properly.
I’ve successfully started a fake camera instance, but running arv-test.exe results in the following output:
Trying the gstreamer source plugin also results in a segmentation fault:
$ gst-launch-1.0.exe -v aravissrc ! fakesink
Use Windows high-resolution clock, precision: 1 ms
Setting pipeline to PAUSED …
Pipeline is live and does not need PREROLL …
Pipeline is PREROLLED …
Setting pipeline to PLAYING …
Tested the aravis viewer with the same result, segmentation fault when connecting to the fake camera.
Tested with a Basler Ace Genicam with the viewer aswell, did not segfault but no frames were streamed=0fps. The camera worked properly with Baslers’ own viewing software.
Checked the network activity with Wireshark when trying the fake camera and arv-test.exe, and it reported an ICMP error Destination unreachable (Port unreachable)
Anyone that has experienced anything similar or could point out what might be the cause of these issues?
I managed to get everything working as intended by building and installing from source. Failed building from the Aravis_0_8 tag, but successfully built from the Main branch.
The error occured consistently on three different machines - two windows 10 and one windows 11 when installing using the Msys2 packages. If anybody experiences the same issue, try building and installing from source instead, as it was pretty straight forward using Meson in Msys2.
I also had the issue with the 0.8.22 in the msys2 repo (workaround: copy locally-compiled libaravis-0.8-0.dll over the packaged version). I am waiting for the next (0.8.23?) release to have it pulled into msys packaging, it should work again then - just like it did before 0.8.22.
Got the msys2 package to work now, at least with the fake camera.
While trying to uninstall my old packages, I realized that mingw-w64-x86_64-aravis is not a subset of mingw-w64-x86_64-aravis-gst, am I correct? This might explain some of the issues I’ve been having, if I’ve only updated the latter.
I’ll see if I can get a Basler camera working tomorrow using this version.