VEYE IMAGING Forum
    • Categories
    • Tags
    • Recent
    • Popular
    • Users
    • WIKI
    • veye.cc
    • Register
    • Login

    CS-MIPI-IMX307 camera Gstreamer UDP streaming error!

    Scheduled Pinned Locked Moved CS MIPI camera
    4 Posts 2 Posters 1.4k Views 1 Watching
    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.
    • M Offline
      maponarooo
      last edited by

      Hello~

      I want to use UDP streaming.
      This is my gstreamer command... but not working. error!!

      <Server Side>
      veye_raspivid -md 0 -p '0,0,1920,1080' -b 4000000 -t 0 -o -
      | gst-launch-1.0 fdsrc ! h264parse ! rtph264pay config-interval=1 pt=96 ! gdppay ! udpsink host=192.168.0.3 port=5321 sync=false

      <Client Side>
      C:\gstreamer\1.0\x86_64\bin\gst-launch-1.0 -v udpsrc port=5321 ! gdpdepay ! rtph264depay ! avdec_h264 ! autovideosink sync=false async=false

      ----- Error Msgs...
      Setting pipeline to PAUSED ...
      Pipeline is live and does not need PREROLL ...
      Got context from element 'autovideosink0': gst.d3d11.device.handle=context, device=(GstD3D11Device)"(GstD3D11Device)\ d3d11device3", adapter=(uint)0, device-id=(uint)8066, vendor-id=(uint)4318, hardware=(boolean)true, description=(string)"NVIDIA\ GeForce\ GTX\ 1650";
      Pipeline is PREROLLED ...
      Setting pipeline to PLAYING ...
      New clock: GstSystemClock
      ERROR: from element /GstPipeline:pipeline0/GstGDPDepay:gdpdepay0: Could not decode stream.
      Additional debug info:
      ../gst/gdp/gstgdpdepay.c(490): gst_gdp_depay_chain (): /GstPipeline:pipeline0/GstGDPDepay:gdpdepay0:
      Received a buffer without first receiving caps
      Execution ended after 0:00:00.023117200
      ERROR: from element /GstPipeline:pipeline0/GstUDPSrc:udpsrc0: Internal data stream error.
      Setting pipeline to NULL ...
      Additional debug info:
      ../libs/gst/base/gstbasesrc.c(3127): gst_base_src_loop (): /GstPipeline:pipeline0/GstUDPSrc:udpsrc0:
      streaming stopped, reason not-negotiated (-4)
      Freeing pipeline ...

      Pls. Help me....
      😅 😅 😅

      veye_xummV 1 Reply Last reply Reply Quote 0
      • veye_xummV Offline
        veye_xumm @maponarooo
        last edited by

        @maponarooo
        Hi,Please try the following cmd which works fine here on my stuffs.

        • veye_raspivid (stream over UDP using gstreamer)
          PC side,using gstreamer(Powershell recommended)
        gst-launch-1.0 -v udpsrc port=5321 ! gdpdepay ! rtph264depay ! avdec_h264 ! autovideosink sync=false
        

        RPI side

        ./veye_raspivid -b 4000000 -t 0 -o -  | gst-launch-1.0 -v fdsrc ! h264parse ! rtph264pay config-interval=1 pt=96 ! gdppay ! udpsink host=x.x.x.x port=5000 sync=false
        

        H.264 encoding on bitrate 4Mbps.

        x.x.x.x is HOST PC IP address.You need to run the pc-side program first and then run the Raspberry Pi-side program.

        Questions will be answered as soon as possible, please be patient.
        如果你使用中文,请直接用中文提问。
        May the force be with YOU. (This is the translation of the mysterious Chinese symbol above.)

        M 1 Reply Last reply Reply Quote 0
        • M Offline
          maponarooo @veye_xumm
          last edited by

          @veye_xumm Foolishly I got the server program running first.
          I run the client program first, then the server program, and it works fine.
          Anyway, thank you.
          It helped a lot.

          veye_xummV 1 Reply Last reply Reply Quote 0
          • veye_xummV Offline
            veye_xumm @maponarooo
            last edited by

            @maponarooo You are welcome.

            Questions will be answered as soon as possible, please be patient.
            如果你使用中文,请直接用中文提问。
            May the force be with YOU. (This is the translation of the mysterious Chinese symbol above.)

            1 Reply Last reply Reply Quote 0

            Hello! It looks like you're interested in this conversation, but you don't have an account yet.

            Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.

            With your input, this post could be even better 💗

            Register Login
            • First post
              Last post