udp and rtp multicast streaming behavoir

Tim Müller tim at centricular.com
Sat Sep 9 09:46:27 UTC 2017


On Sun, 2017-08-27 at 11:10 -0600, Yile Ku wrote:

Hi,

> We use udp to stream an h.265 encoded stream.  When we use a live
> video camera the streaming is flawless.  When we send a udp stream
> with a file as the src to 127.0.0.1 it is flawless.  When we take a
> file, encode it and send it to another board (either multicast or
> unicast) we see the video get pixelated and fuzzy.  We also see the
> frame rate jump around from 90 to 150+, down to 1, etc. even though
> the source file is 60 FPS.  We tried putting 'videorate' in the
> pipeline, but that did not fix anything.  It looks like the UDP
> packets are not being 'metered' out from the source or at the
> destination.  The encoder source reads the source video file (raw
> video), encodes it, then sends it out at a much faster rate than the
> video framerate.  We did put in 'rtpjitterbuffer' and it made the
> video better, but we are still getting framerates that are 90 to 150+
> etc. 
> 
> When encoding and sending a file using UDP, what is the mechanism
> that should control the framerate?

Please share with us the exact pipeline you used to stream out video
from file, thanks!

Cheers
 -Tim

-- 
Tim Müller, Centricular Ltd - http://www.centricular.com

Join us at the GStreamer Conference!
21-22 October 2017 in Prague, Czech Republic
http://gstreamer.freedesktop.org/conference/


More information about the gstreamer-devel mailing list