UDP PACKET TOO BIG

Tim Müller tim at centricular.com
Wed Jun 8 21:28:45 UTC 2016


On Wed, 2016-06-08 at 13:39 -0600, Michael Gruner wrote:
Hi,
> I quickly tested a similar pipeline as yours (the H264+MPEGTS) in my
> PC, and got the same ~1s latency, plus somewhat jerky display. I
> don’t know if its the exact same scenario, but here’s how I managed
> to reduce it:
> 
> gst-launch-1.0 playbin uri=udp://@0.0.0.0:5000
> playsink::vbin::glimagesinkbin0::sink::sync=false
> 
> 
> Note that this hierarchy is specific to my PC, you’ll have to find
> the hierarchy in your specific environment, and that’s the tricky
> part.
> 
> 
sync=false on the sink will add jerkiness if there's network jitter.
What you probably want is to set the "latency" property on the source
(rtspsrc), it's quite high by default (2 seconds).
e.g.
gst-launch-1.0 playbin uri=rtsp://127.0.0.1:8554/test
uridecodebin0::source::latency=100
Cheers
 -Tim

-- 
Tim Müller, Centricular Ltd - http://www.centricular.com
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/gstreamer-devel/attachments/20160608/4d8b33cc/attachment.html>


More information about the gstreamer-devel mailing list