<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<style type="text/css" style="display:none;"> P {margin-top:0;margin-bottom:0;} </style>
</head>
<body dir="ltr">
<div style="font-family: Calibri, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);">
Hi it is my mistake ... it should be width=640 instead of width=6400 in writing the post... the pipeline do not work with width=640</div>
<div>
<div id="appendonsend"></div>
<div style="font-family:Calibri,Helvetica,sans-serif; font-size:12pt; color:rgb(0,0,0)">
<br>
</div>
<hr tabindex="-1" style="display:inline-block; width:98%">
<div id="divRplyFwdMsg" dir="ltr"><font face="Calibri, sans-serif" color="#000000" style="font-size:11pt"><b>From:</b> gstreamer-devel <gstreamer-devel-bounces@lists.freedesktop.org> on behalf of gstreamer-devel-request@lists.freedesktop.org <gstreamer-devel-request@lists.freedesktop.org><br>
<b>Sent:</b> Friday, December 17, 2021 11:22 AM<br>
<b>To:</b> gstreamer-devel@lists.freedesktop.org <gstreamer-devel@lists.freedesktop.org><br>
<b>Subject:</b> gstreamer-devel Digest, Vol 131, Issue 21</font>
<div> </div>
</div>
<div class="BodyFragment"><font size="2"><span style="font-size:11pt">
<div class="PlainText">Send gstreamer-devel mailing list submissions to<br>
        gstreamer-devel@lists.freedesktop.org<br>
<br>
To subscribe or unsubscribe via the World Wide Web, visit<br>
        <a href="https://lists.freedesktop.org/mailman/listinfo/gstreamer-devel">
https://lists.freedesktop.org/mailman/listinfo/gstreamer-devel</a><br>
or, via email, send a message with subject or body 'help' to<br>
        gstreamer-devel-request@lists.freedesktop.org<br>
<br>
You can reach the person managing the list at<br>
        gstreamer-devel-owner@lists.freedesktop.org<br>
<br>
When replying, please edit your Subject line so it is more specific<br>
than "Re: Contents of gstreamer-devel digest..."<br>
<br>
<br>
Today's Topics:<br>
<br>
   1. Gstreamer: No RTP protocol present (Howling wong)<br>
   2. Re: Gstreamer: No RTP protocol present (Robert Hensel)<br>
<br>
<br>
----------------------------------------------------------------------<br>
<br>
Message: 1<br>
Date: Fri, 17 Dec 2021 02:55:33 +0000<br>
From: Howling wong <watertreader@hotmail.com><br>
To: "gstreamer-devel@lists.freedesktop.org"<br>
        <gstreamer-devel@lists.freedesktop.org><br>
Subject: Gstreamer: No RTP protocol present<br>
Message-ID:<br>
        <SI2PR04MB5182E8B2DF3B9669E94C5BC1CB789@SI2PR04MB5182.apcprd04.prod.outlook.com><br>
        <br>
Content-Type: text/plain; charset="iso-8859-1"<br>
<br>
I am having some issues with the following gstreamer command<br>
<br>
Sender (on embeeded system)<br>
<br>
gst-launch-1.0 videotestsrc ! video/x-raw, width=6400, height=480 ! queue ! vpuenc_h264 ! rtph264pay ! udpsink host=192.168.60.5 port=5555<br>
<br>
<br>
Receiver(on windows)<br>
<br>
gst-launch-1.0 udpsrc port=5555 ! queue ! rtph264depay  ! decodebin  ! autovideosink<br>
<br>
<br>
But I have got the following response<br>
<br>
<br>
   Setting pipeline to PAUSED ...<br>
<br>
    Pipeline is live and does not need PREROLL ...<br>
<br>
    Got context from element 'autovideosink0': gst.d3d11.device.handle=context, device=(GstD3D11Device)"\(GstD3D11Device\)\ d3d11device4", adapter=(uint)0, device-id=(uint)6429, vendor-id=(uint)32902, hardware=(boolean)true, description=(string)"Intel\(R\)\
 HD\ Graphics\ P530";<br>
<br>
    Pipeline is PREROLLED ...<br>
<br>
    Setting pipeline to PLAYING ...<br>
<br>
    New clock: GstSystemClock<br>
<br>
     ERROR: from element /GstPipeline:pipeline0/GstRtpH264Depay:rtph264depay0: No RTP format was negotiated.<br>
<br>
    Additional debug info:<br>
<br>
      ../gst-libs/gst/rtp/gstrtpbasedepayload.c(538): gst_rtp_base_depayload_handle_buffer (): /GstPipeline:pipeline0/GstRtpH264Depay:rtph264depay0:<br>
<br>
     Input buffers need to have RTP caps set on them. This is usually achieved by setting the 'caps' property of the upstream source element (often udpsrc or appsrc), or by putting a capsfilter element before the depayloader and setting the 'caps' property
 on that. Also see <a href="http://cgit.freedesktop.org/gstreamer/gst-plugins-good/tree/gst/rtp/README">
http://cgit.freedesktop.org/gstreamer/gst-plugins-good/tree/gst/rtp/README</a><br>
<br>
     Execution ended after 0:00:00.019641000<br>
    Setting pipeline to NULL ...<br>
    ERROR: from element /GstPipeline:pipeline0/GstUDPSrc:udpsrc0: Internal data stream error.<br>
    Additional debug info:<br>
    ../libs/gst/base/gstbasesrc.c(3127): gst_base_src_loop (): /GstPipeline:pipeline0/GstUDPSrc:udpsrc0<br>
    streaming stopped, reason not-negotiated (-4)<br>
    Freeing pipeline ..<br>
<br>
<br>
The complaint seem to be about the incoming stream is not in rtp format and the rtpdepayh264 should not be placed in the pipeline. This assumption is proven to be correct when i replaced the whole pipeline with a fakesink<br>
<br>
<br>
Receiver<br>
<br>
gst-launch-1.0 udpsrc port=5555 ! queue ! fakesink<br>
<br>
<br>
The pipeline work. However when i observed the packets exchange in wireshark, it show the communication exchange but the protocol is in udp. Though I know that RTP could be based upon UDP protocol but have thought that Wireshark is entirely capable of showing
 protocol in RTP format<br>
<br>
<br>
I have thought that the sender has already wrapped the video in rtp format before sending the package out. Like to have some ideas on what is wrong here and how to proceed<br>
<br>
Regards<br>
<br>
-------------- next part --------------<br>
An HTML attachment was scrubbed...<br>
URL: <<a href="https://lists.freedesktop.org/archives/gstreamer-devel/attachments/20211217/4681e121/attachment-0001.htm">https://lists.freedesktop.org/archives/gstreamer-devel/attachments/20211217/4681e121/attachment-0001.htm</a>><br>
<br>
------------------------------<br>
<br>
Message: 2<br>
Date: Fri, 17 Dec 2021 14:21:49 +1100<br>
From: Robert Hensel <vk3eht@gmail.com><br>
To: Discussion of the development of and with GStreamer<br>
        <gstreamer-devel@lists.freedesktop.org><br>
Subject: Re: Gstreamer: No RTP protocol present<br>
Message-ID:<br>
        <CAGRXgDxxb4BrjW+yT9fdudoYdiQjs0JCxpLAJQx6_sMjXHoOMQ@mail.gmail.com><br>
Content-Type: text/plain; charset="utf-8"<br>
<br>
width=6400?<br>
Suggest try with width=640<br>
<br>
Rob<br>
<br>
On Fri, 17 Dec 2021 at 13:55, Howling wong via gstreamer-devel <<br>
gstreamer-devel@lists.freedesktop.org> wrote:<br>
<br>
> I am having some issues with the following gstreamer command<br>
><br>
> Sender (on embeeded system)<br>
><br>
> gst-launch-1.0 videotestsrc ! video/x-raw, width=6400, height=480 ! queue ! vpuenc_h264 ! rtph264pay ! udpsink host=192.168.60.5 port=5555<br>
><br>
> Receiver(on windows)<br>
><br>
> gst-launch-1.0 udpsrc port=5555 ! queue ! rtph264depay  ! decodebin  ! autovideosink<br>
><br>
> But I have got the following response<br>
><br>
><br>
>    Setting pipeline to PAUSED ...<br>
><br>
>     Pipeline is live and does not need PREROLL ...<br>
><br>
>     Got context from element 'autovideosink0':<br>
> gst.d3d11.device.handle=context,<br>
> device=(GstD3D11Device)"\(GstD3D11Device\)\ d3d11device4", adapter=(uint)0,<br>
> device-id=(uint)6429, vendor-id=(uint)32902, hardware=(boolean)true,<br>
> description=(string)"Intel\(R\)\ HD\ Graphics\ P530";<br>
><br>
>     Pipeline is PREROLLED ...<br>
><br>
>     Setting pipeline to PLAYING ...<br>
><br>
>     New clock: GstSystemClock<br>
><br>
>      ERROR: from element<br>
> /GstPipeline:pipeline0/GstRtpH264Depay:rtph264depay0: No RTP format was<br>
> negotiated.<br>
><br>
>     Additional debug info:<br>
><br>
>       ../gst-libs/gst/rtp/gstrtpbasedepayload.c(538):<br>
> gst_rtp_base_depayload_handle_buffer ():<br>
> /GstPipeline:pipeline0/GstRtpH264Depay:rtph264depay0:<br>
><br>
>      Input buffers need to have RTP caps set on them. This is usually<br>
> achieved by setting the 'caps' property of the upstream source element<br>
> (often udpsrc or appsrc), or by putting a capsfilter element before the<br>
> depayloader and setting the 'caps' property on that. Also see<br>
> <a href="http://cgit.freedesktop.org/gstreamer/gst-plugins-good/tree/gst/rtp/README">
http://cgit.freedesktop.org/gstreamer/gst-plugins-good/tree/gst/rtp/README</a><br>
>      Execution ended after 0:00:00.019641000<br>
>     Setting pipeline to NULL ...<br>
>     ERROR: from element /GstPipeline:pipeline0/GstUDPSrc:udpsrc0: Internal<br>
> data stream error.<br>
>     Additional debug info:<br>
>     ../libs/gst/base/gstbasesrc.c(3127): gst_base_src_loop ():<br>
> /GstPipeline:pipeline0/GstUDPSrc:udpsrc0<br>
>     streaming stopped, reason not-negotiated (-4)<br>
>     Freeing pipeline ..<br>
><br>
><br>
> The complaint seem to be about the incoming stream is not in rtp format<br>
> and the rtpdepayh264 should not be placed in the pipeline. This assumption<br>
> is proven to be correct when i replaced the whole pipeline with a fakesink<br>
><br>
><br>
> Receiver<br>
><br>
> gst-launch-1.0 udpsrc port=5555 ! queue ! fakesink<br>
><br>
> The pipeline work. However when i observed the packets exchange in<br>
> wireshark, it show the communication exchange but the protocol is in udp.<br>
> Though I know that RTP could be based upon UDP protocol but have thought<br>
> that Wireshark is entirely capable of showing protocol in RTP format<br>
><br>
><br>
> I have thought that the sender has already wrapped the video in rtp format<br>
> before sending the package out. Like to have some ideas on what is wrong<br>
> here and how to proceed<br>
><br>
> Regards<br>
><br>
><br>
-------------- next part --------------<br>
An HTML attachment was scrubbed...<br>
URL: <<a href="https://lists.freedesktop.org/archives/gstreamer-devel/attachments/20211217/fa1c5430/attachment.htm">https://lists.freedesktop.org/archives/gstreamer-devel/attachments/20211217/fa1c5430/attachment.htm</a>><br>
<br>
------------------------------<br>
<br>
Subject: Digest Footer<br>
<br>
_______________________________________________<br>
gstreamer-devel mailing list<br>
gstreamer-devel@lists.freedesktop.org<br>
<a href="https://lists.freedesktop.org/mailman/listinfo/gstreamer-devel">https://lists.freedesktop.org/mailman/listinfo/gstreamer-devel</a><br>
<br>
<br>
------------------------------<br>
<br>
End of gstreamer-devel Digest, Vol 131, Issue 21<br>
************************************************<br>
</div>
</span></font></div>
</div>
</body>
</html>