Navigation

    VEYE IMAGING Forum

    • Register
    • Login
    • Search
    • Categories
    • Tags
    • Recent
    • Popular
    • Users
    • WIKI
    • veye.cc

    VEYE-MIPI-327S gstreamer issue

    VEYE MIPI camera
    2
    6
    627
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • S
      sebaszz last edited by

      Hi,

      I trying to get gstreamer working via UDP

      RPI side

      /home/pi/raspberrypi/veye_raspcam/bin/./veye_raspivid -b 4000000 -t 0 -o -  | gst-launch-1.0 -v fdsrc ! h264parse ! rtph264pay config-interval=1 pt=96 ! gdppay ! udpsink host=192.168.0.208 port=7000 sync=false
      

      PC side (192.168.0.208:7000)

      gst-launch-1.0 -v udpsrc port=7000 ! gdpdepay ! rtph264depay ! avdec_h264 ! autovideosink sync=false
      

      I get the following error

      b86bf8c0-fc5a-4532-a553-335a492ba3da-image.png

      Any help is really appreciated!

      veye_xumm 1 Reply Last reply Reply Quote 0
      • veye_xumm
        veye_xumm @sebaszz last edited by

        @sebaszz I suggest you to use tcp, it is more stable.

        S 1 Reply Last reply Reply Quote 0
        • S
          sebaszz @veye_xumm last edited by sebaszz

          @veye_xumm

          I tried. Without succes. Any suggestions?

          RPI side (192.168.0.163)

          ./veye_raspivid -b 4000000 -t 0 -o -  | gst-launch-1.0 -v fdsrc ! h264parse ! rtph264pay config-interval=1 pt=96 ! gdppay ! tcpserversink host=192.168.0.208 port=7000
          

          PC side (192.168.0.208)

          gst-launch-1.0 -v tcpclientsrc host=192.168.0.163 port=7000 ! gdpdepay ! rtph264depay ! avdec_h264 ! autovideosink sync=false
          

          ERROR GSTREAMER

          (gst-launch-1.0:5064): GStreamer-WARNING **: 21:15:29.964: Failed to load plugin 'C:\gstreamer\1.0\msvc_x86\lib\gstreamer-1.0\gstwavpack.dll': The specified module could not be found.
          This usually means Windows was unable to find a DLL dependency of the plugin. Please check that PATH is correct.
          You can run 'dumpbin -dependents' (provided by the Visual Studio developer prompt) to list the DLL deps of any DLL.
          There are also some third-party GUIs to list and debug DLL dependencies recursively.
          Use Windows high-resolution clock, precision: 1 ms
          Setting pipeline to PAUSED ...
          ERROR: from element /GstPipeline:pipeline0/GstTCPClientSrc:tcpclientsrc0: Could not open resource for reading.
          Additional debug info:
          ../gst/tcp/gsttcpclientsrc.c(493): gst_tcp_client_src_start (): /GstPipeline:pipeline0/GstTCPClientSrc:tcpclientsrc0:
          Failed to connect to host '192.168.0.163:7000': No connection could be made because the target machine actively refused it.
          ERROR: pipeline doesn't want to preroll.
          ERROR: from element /GstPipeline:pipeline0/GstTCPClientSrc:tcpclientsrc0: GStreamer error: state change failed and some element failed to post a proper error message with the reason for the failure.
          Additional debug info:
          ../libs/gst/base/gstbasesrc.c(3557): gst_base_src_start (): /GstPipeline:pipeline0/GstTCPClientSrc:tcpclientsrc0:
          Failed to start
          ERROR: pipeline doesn't want to preroll.
          Failed to set pipeline to PAUSED.
          Setting pipeline to NULL ...
          Freeing pipeline ...
          

          ERROR RPI

          14/06/2022 20:15:22 Enabling custom
          mmal: Splitter has 4 output port,you could use num 2,3 for extend
          Setting pipeline to PAUSED ...
          mmal: Splitter has 4 output port,you could use num 2,3 for extend
          Pipeline is PREROLLING ...
          mmal: Splitter has 4 output port,you could use num 2,3 for extend
          Setting pipeline to NULL ...
          mmal: Splitter has 4 output port,you could use num 2,3 for extend
          Setting pipeline to NULL ...
          ERROR: from element /GstPipeline:pipeline0/GstTCPServerSink:tcpserversink0: Could not open resource for reading.
          Additional debug info:
          gsttcpserversink.c(403): gst_tcp_server_sink_init_send (): /GstPipeline:pipeline0/GstTCPServerSink:tcpserversink0:
          Failed to bind on host '192.168.0.208:7000': Error binding to address: Cannot assign requested address
          ERROR: pipeline doesn't want to preroll.
          Freeing pipeline ...
          ERROR: from element /GstPipeline:pipeline0/GstTCPServerSink:tcpserversink0: Could not open resource for reading.
          Additional debug info:
          gsttcpserversink.c(403): gst_tcp_server_sink_init_send (): /GstPipeline:pipeline0/GstTCPServerSink:tcpserversink0:
          Failed to bind on host '192.168.0.208:7000': Error binding to address: Cannot assign requested address
          ERROR: pipeline doesn't want to preroll.
          Freeing pipeline ...
          mmal: mmal_vc_port_enable: failed to enable port vc.ril.isp:in:0(UYVY): ENOMEM
          mmal: mmal_port_enable: failed to enable connected port (vc.ril.isp:in:0(UYVY))0x1bfef00 (ENOMEM)
          mmal: mmal_connection_enable: output port couldn't be enabled
          mmal: Failed to create rawcam->isp connection
          mmal: Out of memory
          mmal: Camera is not detected. Please check carefully the camera module is installed correctly
          
          veye_xumm 1 Reply Last reply Reply Quote 0
          • S
            sebaszz last edited by sebaszz

            I prefer to have a UDP working since it will be used after testing via 4G/LTE connection.

            All these test are currently done via Wifi. Standard Pi camera is working fine.

            1 Reply Last reply Reply Quote 0
            • veye_xumm
              veye_xumm @sebaszz last edited by

              @sebaszz said in VEYE-MIPI-327S gstreamer issue:

              ./veye_raspivid -b 4000000 -t 0 -o - | gst-launch-1.0 -v fdsrc ! h264parse ! rtph264pay
              config-interval=1 pt=96 ! gdppay ! tcpserversink host=192.168.0.208 port=7000

              Please use rpi ip addr in this cmd too.

              S 1 Reply Last reply Reply Quote 0
              • S
                sebaszz @veye_xumm last edited by

                @veye_xumm

                FIXED! thank you!

                1 Reply Last reply Reply Quote 0
                • First post
                  Last post