Receiving RTSP stream from Insta360 Pro 2 and other cameras

Any solutions out there with low latency? I am trying to built an opencv-based ( streamer on cinder 0.9.1 / Catalina, and am getting linker errors about libraries absence:

Ld /Users/eigh_io/repos/cinder_0.9.0_mac/blocks/Cinder-OpenCV3-master/samples/ocvCapture/xcode/build/Debug/ normal x86_64 (in target ‘ocvCapture’ from project ‘ocvCapture’)

  • cd /Users/eigh_io/repos/cinder_0.9.0_mac/blocks/Cinder-OpenCV3-master/samples/ocvCapture/xcode*
  • /Applications/ -target x86_64-apple-macos10.8 -isysroot /Applications/ -L/Users/eigh_io/repos/cinder_0.9.0_mac/blocks/Cinder-OpenCV3-master/samples/ocvCapture/xcode/build/Debug -F/Users/eigh_io/repos/cinder_0.9.0_mac/blocks/Cinder-OpenCV3-master/samples/ocvCapture/xcode/build/Debug -filelist /Users/eigh_io/repos/cinder_0.9.0_mac/blocks/Cinder-OpenCV3-master/samples/ocvCapture/xcode/build/ -dead_strip -Xlinker -object_path_lto -Xlinker /Users/eigh_io/repos/cinder_0.9.0_mac/blocks/Cinder-OpenCV3-master/samples/ocvCapture/xcode/build/ -Xlinker -export_dynamic -Xlinker -no_deduplicate -stdlib=libc++ …/…/…/…/…/lib/libcinder_d.a …/…/…/lib/macosx/libopencv_core.a …/…/…/lib/macosx/libopencv_imgproc.a …/…/…/lib/macosx/libopencv_ml.a …/…/…/lib/macosx/libippicv.a …/…/…/lib/macosx/libopencv_hal.a -lz -framework IOSurface -lopencv_flann -framework OpenCL -lopencv_stitching -framework IOKit -framework AVFoundation -framework CoreMedia -lopencv_calib3d -lopencv_videoio -framework Cocoa -framework OpenGL -lopencv_photo -lopencv_ts -framework CoreVideo -lopencv_imgcodecs -lopencv_highgui -lopencv_objdetect -lopencv_hal -lopencv_video -lopencv_core -lopencv_imgproc -lopencv_superres -framework Accelerate -framework AudioToolbox -framework AudioUnit -framework CoreAudio -lopencv_features2d -lopencv_videostab -lopencv_shape -lippicv -lopencv_ml -Xlinker -dependency_info -Xlinker /Users/eigh_io/repos/cinder_0.9.0_mac/blocks/Cinder-OpenCV3-master/samples/ocvCapture/xcode/build/ -o /Users/eigh_io/repos/cinder_0.9.0_mac/blocks/Cinder-OpenCV3-master/samples/ocvCapture/xcode/build/Debug/*

ld: library not found for -lopencv_flann
clang: error: linker command failed with exit code 1 (use -v to see invocation)

although they are included

My app is here:

I think the linker error is caused when the complier can not find the needed definitions (not the included declarations). I saw that you’ve included the videoio modules of OpenCV and it reminded me of an issue I had a couple of years back when I wanted to use the same modules with Cinder’s pre-built OpenCV lib. The problem was that those modules’ 3rd party libs were not built with Cinder’s build. Back then , I made a GitHub issue about it at . So you might want to try building OpenCV again and this time include those modules properly in your build. Might be worth a try :blush: