-
Notifications
You must be signed in to change notification settings - Fork 101
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
mmal: mmal_vc_component_enable: failed to enable component: ENOSPC #74
Comments
You can set the GST_DEBUG environment variable. For example
|
Error State
If I restart it again...
|
sudo vcdbg log msg
|
Same exact error on two different pi boards |
I think this might mean that the previous client hasn't shut down yet - so there's a 2nd rpicamsrc trying to use the camera when it's already in use. When I share the camera via gst-rtsp-server, I set gst_rtsp_media_factory_set_shared(TRUE) so only 1 instance is shared to all clients. |
Thanks.. that (gst_rtsp_media_factory_set_shared(factory,TRUE)) in the test_launch.c code did it. I think longer term, maybe adding a locking function to this (gst-rpicamsrc) to prevent multiple opens might be a better long term fix |
Hello brother, finally i can solve this problem after a lot of hours troubleshooting. I already share it in my YouTube (https://youtu.be/on8UlkRvLok) This problem only occur in camera raspberry pi V2.1 (IMX219) from Element14. But in camera raspberry pi V2.1 from OKdo, i don't get this error So, the solution when error You need some initialization with a works camera (me camera from OKdo).
Notes:
OS Raspberry Pi 4 Model B (4GB)
|
Hello, |
I get this when restarting a RTSP steam (using https://github.com/GStreamer/gst-rtsp-server.git).
How can I enable logging to root cause the failure?
The text was updated successfully, but these errors were encountered: