Hi all, I am using the mipi camera on board for a test: But it always shows errors about not negotiated (-4). The details about debug info as below: “ Setting pipeline to PAUSED ... Pipeline is live and does not need PREROLL ... 0:00:00.775658000 17474 0xa712f0 WARN v4l2 gstv4l2object.c:2618:gst_v4l2_object_probe_caps_for_format:<v4l2src0> Unknown frame sizeenum type for pixelformat YUYV: 0 0:00:00.775854667 17474 0xa712f0 WARN v4l2 gstv4l2object.c:2741:gst_v4l2_object_get_nearest_size:<v4l2src0> Unable to try format: Invalid argument 0:00:00.775905334 17474 0xa712f0 WARN v4l2 gstv4l2object.c:2633:gst_v4l2_object_probe_caps_for_format:<v4l2src0> Could not probe minimum capture size for pixelformat YUYV 0:00:00.775988000 17474 0xa712f0 WARN v4l2 gstv4l2object.c:2741:gst_v4l2_object_get_nearest_size:<v4l2src0> Unable to try format: Invalid argument 0:00:00.776034334 17474 0xa712f0 WARN v4l2 gstv4l2object.c:2639:gst_v4l2_object_probe_caps_for_format:<v4l2src0> Could not probe maximum capture size for pixelformat YUYV 0:00:00.776153667 17474 0xa712f0 WARN v4l2 gstv4l2object.c:2618:gst_v4l2_object_probe_caps_for_format:<v4l2src0> Unknown frame sizeenum type for pixelformat YU12: 0 0:00:00.776245667 17474 0xa712f0 WARN v4l2 gstv4l2object.c:2741:gst_v4l2_object_get_nearest_size:<v4l2src0> Unable to try format: Invalid argument 0:00:00.776292667 17474 0xa712f0 WARN v4l2 gstv4l2object.c:2633:gst_v4l2_object_probe_caps_for_format:<v4l2src0> Could not probe minimum capture size for pixelformat YU12 0:00:00.776375000 17474 0xa712f0 WARN v4l2 gstv4l2object.c:2741:gst_v4l2_object_get_nearest_size:<v4l2src0> Unable to try format: Invalid argument 0:00:00.776419667 17474 0xa712f0 WARN v4l2 gstv4l2object.c:2639:gst_v4l2_object_probe_caps_for_format:<v4l2src0> Could not probe maximum capture size for pixelformat YU12 0:00:00.776535667 17474 0xa712f0 WARN v4l2 gstv4l2object.c:2618:gst_v4l2_object_probe_caps_for_format:<v4l2src0> Unknown frame sizeenum type for pixelformat YV12: 0 0:00:00.776626000 17474 0xa712f0 WARN v4l2 gstv4l2object.c:2741:gst_v4l2_object_get_nearest_size:<v4l2src0> Unable to try format: Invalid argument Setting pipeline to PLAYING ... 0:00:00.776672000 17474 0xa712f0 WARN v4l2 gstv4l2object.c:2633:gst_v4l2_object_probe_caps_for_format:<v4l2src0> Could not probe minimum capture size for pixelformat YV12 0:00:00.776754667 17474 0xa712f0 WARN v4l2 gstv4l2object.c:2741:gst_v4l2_object_get_nearest_size:<v4l2src0> Unable to try format: Invalid argument 0:00:00.776802667 17474 0xa712f0 WARN v4l2 gstv4l2object.c:2639:gst_v4l2_object_probe_caps_for_format:<v4l2src0> Could not probe maximum capture size for pixelformat YV12 0:00:00.776931334 17474 0xa712f0 WARN v4l2 gstv4l2object.c:2618:gst_v4l2_object_probe_caps_for_format:<v4l2src0> Unknown frame sizeenum type for pixelformat BGR3: 0 0:00:00.777033334 17474 0xa712f0 WARN v4l2 gstv4l2object.c:2741:gst_v4l2_object_get_nearest_size:<v4l2src0> Unable to try format: Invalid argument 0:00:00.777083667 17474 0xa712f0 WARN v4l2 gstv4l2object.c:2633:gst_v4l2_object_probe_caps_for_format:<v4l2src0> Could not probe minimum capture size for pixelformat BGR3 0:00:00.777170000 17474 0xa712f0 WARN v4l2 gstv4l2object.c:2741:gst_v4l2_object_get_nearest_size:<v4l2src0> Unable to try format: Invalid argument New clock: GstSystemClock 0:00:01.109641667 17474 0xa712f0 WARN v4l2 gstv4l2object.c:2639:gst_v4l2_object_probe_caps_for_format:<v4l2src0> Could not probe maximum capture size for pixelformat BGR3 0:00:01.109869334 17474 0xa712f0 WARN v4l2 gstv4l2object.c:2618:gst_v4l2_object_probe_caps_for_format:<v4l2src0> Unknown frame sizeenum type for pixelformat RGB3: 0 0:00:01.110027334 17474 0xa712f0 WARN v4l2 gstv4l2object.c:2741:gst_v4l2_object_get_nearest_size:<v4l2src0> Unable to try format: Invalid argument 0:00:01.110081667 17474 0xa712f0 WARN v4l2 gstv4l2object.c:2633:gst_v4l2_object_probe_caps_for_format:<v4l2src0> Could not probe minimum capture size for pixelformat RGB3 0:00:01.110169334 17474 0xa712f0 WARN v4l2 gstv4l2object.c:2741:gst_v4l2_object_get_nearest_size:<v4l2src0> Unable to try format: Invalid argument 0:00:01.110216334 17474 0xa712f0 WARN v4l2 gstv4l2object.c:2639:gst_v4l2_object_probe_caps_for_format:<v4l2src0> Could not probe maximum capture size for pixelformat RGB3 0:00:01.115789334 17474 0xa712f0 WARN basesrc gstbasesrc.c:2948:gst_base_src_loop:<v4l2src0> error: Internal data flow error. 0:00:01.115877667 17474 0xa712f0 WARN basesrc gstbasesrc.c:2948:gst_base_src_loop:<v4l2src0> error: streaming task paused, reason not-negotiated (-4) ERROR: from element /GstPipeline:pipeline0/GstV4l2Src:v4l2src0: Internal data flow error. Additional debug info: gstbasesrc.c(2948): gst_base_src_loop (): /GstPipeline:pipeline0/GstV4l2Src:v4l2src0: streaming task paused, reason not-negotiated (-4) Execution ended after 0:00:00.339158667 Setting pipeline to PAUSED ... Setting pipeline to READY ... Setting pipeline to NULL ... Freeing pipeline ... “ Thanks in advanced! _______________________________________________ gstreamer-devel mailing list [hidden email] https://lists.freedesktop.org/mailman/listinfo/gstreamer-devel |
Could you try removing the format "I420". from the logs its seems the format is not negotiated. make sure the camera supports I420 format. One way to do this is dump the raw frames to a filesink and use any raw viewing tool to analyse the data. gst-launch-1.0 v4l2src device=/dev/video0 ! video/x-raw, width= On Thu, Mar 2, 2017 at 5:32 PM, 张若 <[hidden email]> wrote:
-- *With Best Regards* *Anjo John* VVDN Technologies Pvt Ltd *Cell : *+91 9539931442 | Skype :anjojohn051 _______________________________________________ gstreamer-devel mailing list [hidden email] https://lists.freedesktop.org/mailman/listinfo/gstreamer-devel |
I tried this. It shows the same error. 2017-03-02 13:37 GMT+01:00 Anjo John <[hidden email]>:
_______________________________________________ gstreamer-devel mailing list [hidden email] https://lists.freedesktop.org/mailman/listinfo/gstreamer-devel |
Did you tried removing the caps filter On Thu, Mar 2, 2017 at 6:22 PM, 张若 <[hidden email]> wrote:
-- *With Best Regards* *Anjo John* VVDN Technologies Pvt Ltd *Cell : *+91 9539931442 | Skype :anjojohn051 _______________________________________________ gstreamer-devel mailing list [hidden email] https://lists.freedesktop.org/mailman/listinfo/gstreamer-devel |
Yes, always the same errors. 2017-03-02 14:08 GMT+01:00 Anjo John <[hidden email]>:
_______________________________________________ gstreamer-devel mailing list [hidden email] https://lists.freedesktop.org/mailman/listinfo/gstreamer-devel |
Free forum by Nabble | Edit this page |