<div dir="ltr">Hi gotsring,<div><br></div><div>Thanks for reply.</div><div><br></div><div>First, I was porting my code to x86 PC and run with</div><div><i><b>SERVER</b>: gst-launch-1.0 udpsrc port=5000 !</i></div><i>application/x-rtp,encoding-name=H264,payload=96 ! rtph264depay ! h264parse !<br>avdec_h264 ! autovideosink</i><div><div><i><b>CLIENT</b>: gst-launch-1.0 appsrc name=ringbuf ! 'video/x-h264,</i></div><i>stream-format=byte-stream' ! h264parse ! rtph264pay mtu=1400 !<br>udpsink host=10.0.0.10 port=5000</i></div><div><i><br></i></div><div>Above combination is working. Thanks.</div><div><br></div><div>I still have a question.</div><div>Once I remove h264parse from client, it would <b>NOT</b> work anymore, why?</div><div>In the future, more complicate case, how do I know I should add h264parse or not?</div><div>Please advise. Thank you.</div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">gotsring <<a href="mailto:gotsring@live.com">gotsring@live.com</a>> 於 2020年7月28日 週二 上午3:29寫道:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">When I was streaming H.264 over UDP, I used the following pipelines. You<br>
might need to specify the caps in the receiver so that the rth264depay knows<br>
what it's decoding. I also had the MTU specified in rtph264pay, not sure<br>
why, but it worked (Gstreamer 1.14, I think? I no longer have the hardware).<br>
<br>
Server:<br>
gst-launch-1.0 nvcamerasrc ! omxh264enc ! 'video/x-h264,<br>
stream-format=byte-stream' ! queue ! h264parse ! rtph264pay mtu=1400 !<br>
udpsink host=10.0.0.10 port=5000 sync=false async=false<br>
<br>
Client:<br>
gst-launch-1.0 udpsrc port=5000 !<br>
application/x-rtp,encoding-name=H264,payload=96 ! rtph264depay ! h264parse !<br>
avdec_h264 ! autovideosink<br>
<br>
<br>
<br>
--<br>
Sent from: <a href="http://gstreamer-devel.966125.n4.nabble.com/" rel="noreferrer" target="_blank">http://gstreamer-devel.966125.n4.nabble.com/</a><br>
_______________________________________________<br>
gstreamer-devel mailing list<br>
<a href="mailto:gstreamer-devel@lists.freedesktop.org" target="_blank">gstreamer-devel@lists.freedesktop.org</a><br>
<a href="https://lists.freedesktop.org/mailman/listinfo/gstreamer-devel" rel="noreferrer" target="_blank">https://lists.freedesktop.org/mailman/listinfo/gstreamer-devel</a><br>
</blockquote></div>