Raspberry libcamerasrc

Nicolas Dufresne nicolas at ndufresne.ca
Sat Jun 6 13:36:13 UTC 2020


Le ven. 5 juin 2020 15 h 15, horai <ivo.hora at seznam.cz> a écrit :

> Dear all,
>
> I installed and ran test pipeline for libcamera API on Raspberry Pi:
> gst-launch-1.0 libcamerasrc ! videoconvert ! autovideosink
>
> I am getting the following output:
> Setting pipeline to PAUSED ...
> 0:00:00.258118640  4111   0x33db60 WARN                xcontext
> xvcontext.c:534:gst_xvcontext_check_xshm_calls: MIT-SHM extension check
> failed at XShmAttach. Not using shared memory.
> 0:00:00.333581316  4111   0x33db60 WARN                xcontext
> xvcontext.c:534:gst_xvcontext_check_xshm_calls: MIT-SHM extension check
> failed at XShmAttach. Not using shared memory.
> [0:59:04.193116583] [4111]  INFO Camera camera_manager.cpp:277 libcamera
> v0.0.0+1424-b60a7d70
> [0:59:04.201687352] [4114]  INFO IPAManager ipa_manager.cpp:124 libcamera
> is
> not installed. Adding '/home/pi/libcamera/build/src/ipa' to the IPA search
> path
> [0:59:04.348749892] [4114]  INFO IPAProxy ipa_proxy.cpp:122 libcamera is
> not
> installed. Loading IPA configuration from
> '/home/pi/libcamera/src/ipa/raspberrypi/data'
> Pipeline is live and does not need PREROLL ...
> 0:00:00.511895880  4111   0x3fa800 FIXME                default
> gstutils.c:3981:gst_pad_create_stream_id_internal:<libcamerasrc0:src>
> Creating random stream-id, consider implementing a deterministic way of
> creating a stream-id
> Setting pipeline to PLAYING ...
> 0:00:00.512812847  4111   0x3fa800 WARN            libcamerasrc
> gstlibcamerasrc.cpp:461:gst_libcamera_src_task_enter:<libcamerasrc0> error:
> Internal data stream error.
> 0:00:00.512856961  4111   0x3fa800 WARN            libcamerasrc
> gstlibcamerasrc.cpp:461:gst_libcamera_src_task_enter:<libcamerasrc0> error:
> streaming stopped, reason not-negotiated (-4)
> New clock: GstSystemClock
> ERROR: from element /GstPipeline:pipeline0/GstLibcameraSrc:libcamerasrc0:
> Internal data stream error.
> Additional debug info:
> ../src/gstreamer/gstlibcamerasrc.cpp(461): gst_libcamera_src_task_enter ():
> /GstPipeline:pipeline0/GstLibcameraSrc:libcamerasrc0:
> streaming stopped, reason not-negotiated (-4)
>

There is a format negotiation, like if non of the video formats is
video/x-raw. Have you tried with different roles (a pad configuration) ?
Also, perhaps you could share more debug, you may set the env:

GST_DEBUG="libcam*:7,3"

Execution ended after 0:00:00.000340256
> Setting pipeline to PAUSED ...
> Setting pipeline to READY ...
> Setting pipeline to NULL ...
> Freeing pipeline ...
>
>
> Does anyone know what the problem might be?
> I followed these guides:
>
> https://www.raspberrypi.org/documentation/linux/software/libcamera/README.md
> https://libcamera.org/getting-started.html
>
> Thank you
>
>
>
> --
> Sent from: http://gstreamer-devel.966125.n4.nabble.com/
> _______________________________________________
> gstreamer-devel mailing list
> gstreamer-devel at lists.freedesktop.org
> https://lists.freedesktop.org/mailman/listinfo/gstreamer-devel
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/gstreamer-devel/attachments/20200606/8f8df595/attachment.htm>


More information about the gstreamer-devel mailing list