<div dir="ltr"><div>You can check the rtp caps on the broadcast pipeline if you are using gst-launch with the -v flag. That should give you the rtp info you are looking for. Also try to print out the fialing pipeline debug info by using --gst-debug. you can start with --gst-debug=*:3 to get some info if there is any available and then further explore the problematic element. <br></div><div><br></div><div>Also, what do you mean that the pipeline does't work? Is it producing broken results or none at all? If you are getting no results, does starting up the consumer pipe before the producer, does it work normally? An important detail with h264 streams is that you need a key frame to start streaming so make sure that the encoder is producing key-frames on reasonable intervals. <br></div></div><div class="gmail_extra"><br><div class="gmail_quote">On Fri, Mar 16, 2018 at 6:21 PM, rhythm87 <span dir="ltr"><<a href="mailto:rhythmchopra8@gmail.com" target="_blank">rhythmchopra8@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">In following gstreamer pipeline, I'm receiving h264 encoded rtp packtes at<br>
port 8000, and the using a tee displaying the stream and forwarding the same<br>
packets to another port 6000.<br>
<br>
gst-launch-1.0 udpsrc port=8000 caps="application/x-rtp,<br>
media=(string)video, encoding-name=(string)H264" ! tee name=t ! queue !<br>
rtph264depay ! decodebin ! videoconvert ! autovideosink t. ! queue ! udpsink<br>
host=0.0.0.0 port=6000<br>
<br>
The stream at port 8000 is continuous and works fine with this pipeline:<br>
gst-launch-1.0 udpsrc port=8000 caps="application/x-rtp,<br>
media=(string)video, encoding-name=(string)H264" ! rtph264depay ! decodebin<br>
! videoconvert ! autovideosink<br>
<br>
But, the first pipeline sometimes work and mostly not.<br>
I can't figure out what could be wrong. Is it something I'm missing at<br>
udpsrc , like clock configuration , which sometimes get synced or something,<br>
making the pipeline work. If that is the case, please suggest how to get<br>
around with this.<br>
<br>
Regards,<br>
Rhythm<br>
<br>
<br>
<br>
--<br>
Sent from: <a href="http://gstreamer-devel.966125.n4.nabble.com/" rel="noreferrer" target="_blank">http://gstreamer-devel.966125.<wbr>n4.nabble.com/</a><br>
______________________________<wbr>_________________<br>
gstreamer-devel mailing list<br>
<a href="mailto:gstreamer-devel@lists.freedesktop.org">gstreamer-devel@lists.<wbr>freedesktop.org</a><br>
<a href="https://lists.freedesktop.org/mailman/listinfo/gstreamer-devel" rel="noreferrer" target="_blank">https://lists.freedesktop.org/<wbr>mailman/listinfo/gstreamer-<wbr>devel</a><br>
</blockquote></div><br></div>