Yeah, this would not be possible.. V4L2 depends upon the video4linux drivers which will not work on macOS. That is why I developed INDI webcam a couple of years ago, so that macOS users would have a driver that works with avfoundation and ip cameras which do work on OS X
Ok, thanks, Rob. It is good to know that I was barking up the wrong tree.
So how do I coerce OSX into using a SV105 as a guide camera on INDI?
When I select SV 105 as a guider or ccd, I get an error that says:
"Driver indi_v4l2_ccd was not found on the system. Please make sure the package that provides the 'indi_v4l2_ccd' binary is installed."
Last edit: 2 months 2 weeks ago by R Dan Nafe. Reason: fixed subject line
There is an SV305 driver and that works fine.
What I am trying to do is use a SV105 as a guide camera.
The INDI Webcam driver from the 'Others->INDI Webcam' menu selection never gets farther than "INDI Webcam driver crashed. Restart it?"
Oh ok I see. I am glad the other driver works properly, but we will have to see why the INDI webcam driver no longer works properly on OS X. I am not 100% sure that it would support the camera you mentioned, but some of the ones that v4L2 supports are supported, it depends on the cameras support in avfoundation I will look into what is going on with the driver though.
I think you might be right. I may have to change the code that works with avfoundation. But another possibility is that this change would cause issues with ffmpeg itself, which i use extensively to make INDI webcam work.
Nope, I am pretty sure that is not related. I made INDI Webcam to use FFMPEG and its abilities to get data from cameras that FFMPEG knows how to work with. INDI Webcam does not use libusb in any manner. In fact, on OSX, FFMPEG mainly relies upon avfoundation, which uses MacOS's built in camera management. Maybe at its core it relies on libusb or something like that, but that isn't a part of INDI Webcam and would not be the cause of it crashing. I think it is very likely that apple changed something about the way devices are reported or identified in avfoundation and probably my code that relies on selecting the source for streaming has problems based on that change. I actually tested some different things yesterday and it appears that the IP camera features are working fine on OS X in INDI Webcam. So it is just the avfoundation cameras that cause a crash and it appears to happen when selecting the source for streaming. I will have to look into it probably next week when I have more time.
We use Libusb in lots of other camera drivers on OS X and to my knowledge there are not currently any issues with that.
The original question was about finding some way to use a second sv305 camera. The user reports that the original sv305 driver works fine. The discussions we have been having about INDI webcam are maybe or maybe not relevant to that original post, but it's still important to fix it. I don't know if it is possible to get more than one camera to get controlled by the working driver. I know they did something with ZWO to make it work with more than one, maybe that should be investigated.
"The original question was about finding some way to use a second sv305 camera."
I was asking how to use a Sv105 camera as a guider.
I happen to have a Sv305, that uses a different driver, and works perfectly.
Sv105 using INDI_webcam doesn't work for me on MacOS 12.x.
It just crashes.