-
-
Notifications
You must be signed in to change notification settings - Fork 117
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Support RTSP with JPEG-capable cameras #73
Comments
I still see integration of ESP32 cameras into DroneBridge for ESP32 critical. I will not invest any resources into porting or supporting ESP32 cam support for now. |
For me, the use-case is simple. I don't fly FPV, but I enjoy leisure-y cruising and hacking on my drone, and I want to experiment with a bit of machine learning with it. I picked ESP32-S3 due to my previous experience with it, and its ability to run basic ML models. And so, the drone already has a ESP32-S3 with a camera on it. I picked DroneBridge due to its flight record and nice architecture. And so, connecting these parts only made sense to me.
Due to my use-case, this is acceptable for me. Not sure if it will be for the rest of the user-base. Real win here, IMO, would be to implement a raw WiFi protocol (to the tune of aforementioned
That makes sense. Would you be open to merging a PR for adding optional support?
Super excited for that. Dual camera support is just 🍒 🍰. |
I understand, however the use-case is still rather focused on tinkerers and people experimenting. I am a bit afraid that the additional code might add a lot of complexity which only a few users will actually use. My goal for this project was to have an easy to use, clean and performant system. How about creating a separate branch that features support for such camera modules? Lets see if I can also give you direct access to it. That way it is stilled tied to the base project. It can be mentioned in the README and Wiki. Also the releases can be published alongside the regular DroneBridge for ESP32 releases. Once the ESP32-P4 chip with integrated camera modules becomes available I would integrate video transmission as a default feature into DroneBridge for ESP32. Also alongside FEC and RAW-Wifi transmission like with the DroneBridge for Raspberry Pi project. Since it will be a proper embedded system with only few external dependencies I'd imagine it may even be superior to the Raspberry Pi based solutions. |
Totally understood! That's what brought me to this project in the first place :)
Thank you, appreciate this for sure! I'll continue development in my branch and let you know how it goes. Super happy to hear you plan on supporting ESP32-P4! |
I know the README mentions not being to support cameras due to lack of ESP32's video encoding capabilities. However, it appears that RTSP with JPEG-capable (and thus MJPEG-capable) cameras is something ESP32 is able to do:
esp32-cam-rtsp
ESP32-RTSP
QGroundControl is also able to read in RTSP streams, leading me to assume that ESP32 streaming video to QGroundControl is a real possibility.
Since I already started working on integrating this, I suppose the question is would you be open to a PR if I succeed (hidden behind the appropriate
#if
s, of course)?Edited to add: it now occurs to me that QGC may not be able to read and display MJPEG, so this may need additional GStreamer pipeline running on receiving side. Will double-check this in course of implementation.
Edited to add: I just noticed your comments in #8 about this set-up not offering any improvements over analog. In my use-case, I also want to do some image processing on the ESP32 itself, so analog does not work for me, but feel free to close this issue.
The text was updated successfully, but these errors were encountered: