This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

AM572x bt1120 capture

Hello!

 How can I capture stream from a bt1120 camera on the 5728 EVM board? The camera is connected to the vip3A port and streams bt1120 with embedded sinc.

I have changed am57xx_evm_common.dtsi to:

&vin3a {
    status = "okay";
    endpoint {
        slave-mode;
        bus-width = <16>;
    };
};

Then I start gstreamer:

gst-launch-1.0 -e v4l2src device=/dev/video11 io-mode=4 ! 'video/x-raw,format=(string)YUY2, width=(int)1920, height=(int)1088, framerate=(fraction)25/1'  ! fakesink


It fails with

Setting pipeline to PAUSED ...
Pipeline is live and does not need PREROLL ...
ERROR: from element /GstPipeline:pipeline0/GstV4l2Src:v4l2src0: Internal data flow error.
Additional debug info:
../../../../gstreamer-1.6.3/libs/gst/base/gstbasesrc.c(2943): gst_base_src_loop (): /GstPipeline:pipeline0/GstV4l2Src:v4l2src0:
streaming task paused, reason not-negotiated (-4)
ERROR: pipeline doesn't want to preroll.
Setting pipeline to PAUSED ...
Setting pipeline to READY ...

  • The video experts have been notified. They will respond here.
  • Hello,

    From gstreamer point of view streaming task paused, reason not-negotiated (-4) most of the cases means the video format (color space) you get from your video source (v4l2src) is not compatible with the sink.

    You could try to put videoconvert element.

    For more debug prints you could add --gst-debug=v4l2:5.

    It would be better to try capture using only V4l2 level also. After that with gstreamer.

    Alexander Vasiljev said:

     How can I capture stream from a bt1120 camera on the 5728 EVM board? The camera is connected to the vip3A port and streams bt1120 with embedded sinc.

    Unfortunately I am not very aware with the VIP. You could check these topics:

    https://e2e.ti.com/support/arm/sitara_arm/f/791/p/509819/1855002#pi316653=1

    /board-support/linux .../Documentation/devicetree/bindings/media

    Hope this helps.

    BR
    Margarita