AnsweredAssumed Answered

H.264 over UDP

Question asked by Masayuki Yamamoto on Nov 17, 2016

Hi,

This is a question to improve UDP streaming. 

I'm using i.MX6 quad and using gstreamer to play H.264 video & audio stream of about 4Mbps.

 

When I use a saved mpeg2 TS file like "gplay-1.0 aaa.ts" the video plays fine.

When I use a streaming data on UDP at localhost like "gst-launch-1.0 udpsrc do-timestamp=false uri=udp://127.0.0.1:12345 caps=”video/mpegts” ! aiurdemux streaming-latency=400 name=d d. ! queue ! vpudec ! queue ! overlaysink sync=true d. ! queue ! beepdec ! pulsesink sync=true", the video shows a lot of noise. 

 

I think it is caused by UDP streaming buffer.  (or somewhere in gst-launch-1.0 pipes)

Can you suggest any good setting to resolve the nose?

I saw some options like buffer-size, blocksize, but I don't know what would be the best value (maximum value) I can use on i.MX6 quad.  I'm using SABRE board. 

Outcomes