How to fix the Green artefacts when use 265 through UDP.

Arjen Veenhuizen arjen at moonlightmedia.nl
Fri Aug 2 09:30:06 UTC 2019


You are using UDP which does not guarantee delivery of packets. This means
that packets will get lost and packets will not always be delivered in the
order that thy were sent. The chance of a packet getting lost when streaming
over localhost (127.0.0.1) are just a lot lower than when streaming between
two devices.

To improve performance, you should start by tuning your encoder: reduce the
gop (i-frame) interval to e.g. a second, tune for zero latency and cap the
bitrate. Also, make sure that h265parse inserts headers at every GOP. 

Secondly, use an rtpjitterbuffer to re-order out-of-order received UDP (RTP)
packets.

Thirdly, you could add RTCP to the mix to retransmit packets that got lost.



--
Sent from: http://gstreamer-devel.966125.n4.nabble.com/


More information about the gstreamer-devel mailing list