-
Notifications
You must be signed in to change notification settings - Fork 62
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
Can't access video WebGUI #234
Comments
Remove log and reboot the device
refresh video web page, and check camera on cmd line:
Camera is right there, but the code didn't pick up the camera. devices = device_provider.get_devices() in ./python/gstcaps.py gives error. |
It seems something to do with camera firmware.
@stephendade Is it possible to use libcamera instead of gst for RTP/RTSP etc? something like: "libcamera-vid -t 0 -n --inline -o - | gst-launch-1.0 fdsrc fd=0 ! h264parse ! rtph264pay ! udpsink host=192.168.235.166 port=5600" it works fine with OV5647. Maybe, there is an advanced option for user to select "gstream/libcamera"? |
Thanks for the report. This is a strange one - I've not seen it occur before. I should have time to investigate next week. |
Yeah. It's weird. Add some points which you can consider:
|
It might be something to do with gst library, check below links:
And I have sucessfully found the camera with following binary commands:
|
I've had a look at this, running a RPi 3B+, OV5647, Bullseye x64. I've been unable to replicate your issue - I can consistently detect the camera. Whay version of Gstreamer and libcamera are you running: |
No big difference, just picamera2 0.3.18
--- EDIT I reinstall picamera2 0.3.12, OV5647 comes back :). Will you please install picamera2 0.3.18 and try if it behaves as i did. |
Yep, confirmed. Tried a few other versions. picamera > 0.3.14 has the issue. EDIT: I suspect it's something to do with libcamera needing to be updated too. Stepping through the |
Is it possible to trace the code (call stack), maybe we can fire an issue for libcamera or picamera2 --- EDIT: I got gdb segfault, and can't trace the call stack. Not sure how to handle this.
|
The way I do is via code fragments. Here's a simple PoC based on
Gives the following exception (when using picamera2 > 0.3.14):
|
Maybe we have to face the fact that there are difference between bookworm and bullseye. |
Using
|
OK. Maybe I have used pip upgrade before. Thanks for the support. |
./deploy/RasPi2-3-4-5-deploy.sh
The text was updated successfully, but these errors were encountered: