fhunleth / raspijpgs

Simple command-line driven MotionJPEG streamer for the Raspberry Pi
BSD 3-Clause "New" or "Revised" License
8 stars 0 forks source link

Support for multiple cameras #1

Open hsztul opened 6 years ago

hsztul commented 6 years ago

I know raspistill allows for a parameter --camselect to set the camera number to [0,1].

I'm looking through this library and don't see a way to do this explicitly. Is there either something I'm missing or do you see a path to be able to add this functionality to raspijpgs?

fhunleth commented 6 years ago

That feature was added to raspistill after I wrote raspijpgs. It should be possible to resync the options. However, my focus has shifted a bit. For the past couple years, my use of raspijpgs has been exclusively with the Elixir programming language. I had thought that it might be nice for other languages, but couldn't justify the time to maintain it for everything else and I didn't know anyone using it for non-Elixir anyway. A year ago I deleted pretty much everything not used with Elixir, added a few more options from raspistill, and found someone to help maintain it. The new stuff is at https://github.com/electricshaman/picam/blob/master/src/raspijpgs.c. I'd be happy to help get camselect added over there, but I wasn't planning on maintaining this repo.

hsztul commented 6 years ago

Thanks for the quick reply! I was actually looking to see how to get this functionality into Picam and wasn't sure the relationship between that file you referenced and this repo.

I saw this issue in the Picam repo but if you can help get camselect in over there, it would be hugely appreciated!