Raspberry libcamerasrc

Nicolas Dufresne nicolas at ndufresne.ca
Sun Jun 14 20:39:03 UTC 2020


Le dimanche 14 juin 2020 à 08:03 -0500, horai a écrit :
> After this command:
> export GST_DEBUG="libcam*:7,3"
> gst-launch-1.0 libcamerasrc camera-name=imx219 ! video/x-raw ! videoconvert
> ! glupload ! glimagesink

Perhaps add fakevideosink right after libcamerasrc, just to confirm that
libcamera is actually working at all. Then use -v to see which caps is being
used, that would maybe give you a hint. Of course, this is all so recent that
you could also not have the right latest version of one of the numeros work in
progress project involved.

> I got this:
> Setting pipeline to PAUSED ...
> 0:00:00.903512270  1008  0x1fb1280 DEBUG           libcamerasrc
> gstlibcamerasrc.cpp:209:gst_libcamera_src_open:<libcamerasrc0> Opening
> camera device ...
> [0:10:34.468812208] [1008]  INFO Camera camera_manager.cpp:277 libcamera
> v0.0.0+1424-b60a7d70-dirty
> [0:10:34.477662398] [1021]  INFO IPAManager ipa_manager.cpp:124 libcamera is
> not installed. Adding '/home/pi/libcamera/build/src/ipa' to the IPA search
> path
> [0:10:34.630208543] [1021]  INFO IPAProxy ipa_proxy.cpp:122 libcamera is not
> installed. Loading IPA configuration from
> '/home/pi/libcamera/src/ipa/raspberrypi/data'
> 0:00:01.066208186  1008  0x1fb1280 INFO            libcamerasrc
> gstlibcamerasrc.cpp:244:gst_libcamera_src_open:<libcamerasrc0> Using camera
> named 'imx219'
> 0:00:01.067078965  1008  0x2003060 DEBUG           libcamerasrc
> gstlibcamerasrc.cpp:349:gst_libcamera_src_task_enter:<libcamerasrc0>
> Streaming thread has started
> Pipeline is live and does not need PREROLL ...
> 0:00:01.067203496  1008  0x2003060 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
> Got context from element 'sink': gst.gl.GLDisplay=context,
> gst.gl.GLDisplay=(GstGLDisplay)"\(GstGLDisplayX11\)\ gldisplayx11-0";
> 0:00:01.068231046  1008  0x2003060 INFO            libcamerasrc
> gstlibcamerasrc.cpp:380:gst_libcamera_src_task_enter:<libcamerasrc0> caps
> empty!
> 
> 0:00:01.068277088  1008  0x2003060 INFO            libcamerasrc
> gstlibcamerasrc.cpp:391:gst_libcamera_src_task_enter:<libcamerasrc0>
> GST_FLOW_NOT_OK!
> 
> 0:00:01.068321202  1008  0x2003060 WARN            libcamerasrc
> gstlibcamerasrc.cpp:463:gst_libcamera_src_task_enter:<libcamerasrc0> error:
> Internal data stream error.
> 0:00:01.068351775  1008  0x2003060 WARN            libcamerasrc
> gstlibcamerasrc.cpp:463:gst_libcamera_src_task_enter:<libcamerasrc0> error:
> streaming stopped, reason not-negotiated (-4)
> 0:00:01.068570212  1008  0x2003060 DEBUG           libcamerasrc
> gstlibcamerasrc.cpp:477:gst_libcamera_src_task_leave:<libcamerasrc0>
> Streaming thread is about to stop
> ERROR: from element /GstPipeline:pipeline0/GstLibcameraSrc:libcamerasrc0:
> Internal data stream error.
> Additional debug info:
> ../src/gstreamer/gstlibcamerasrc.cpp(463): gst_libcamera_src_task_enter ():
> /GstPipeline:pipeline0/GstLibcameraSrc:libcamerasrc0:
> streaming stopped, reason not-negotiated (-4)
> ERROR: pipeline doesn't want to preroll.
> Setting pipeline to PAUSED ...
> Setting pipeline to READY ...
> Setting pipeline to NULL ...
> 0:00:01.071556560  1008  0x1fb1280 DEBUG           libcamerasrc
> gstlibcamerasrc.cpp:495:gst_libcamera_src_close:<libcamerasrc0> Releasing
> resources
> Freeing pipeline ...
> 
> 
> 
> 
> --
> 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



More information about the gstreamer-devel mailing list