UDP Stream starting order of sender and receiver

Kaj-Michael Lang milang at tal.org
Tue May 21 09:44:07 UTC 2019


On Tue, 2019-05-21 at 03:46 -0500, Chr0n0s wrote:
> config-interval=-1 ! mpegtsmux ! udpsink host=127.0.0.1 port=5200

Try this (adjusting for your source):

gst-launch-1.0 v4l2src ! queue ! x264enc tune=zerolatency key-int-
max=28 ! h264parse ! mpegtsmux ! rtpmp2tpay ! udpsink port=5002

Then you can view with vlc using:
vlc rtp://@:5002

Or gst with

gst-launch-1.0 udpsrc port=5002 ! application/x-
rtp,payload=33,media=video,clock-rate=90000 ! rtpmp2tdepay ! queue !
decodebin ! autovideosink


-- 
Kaj-Michael Lang <milang at tal.org>



More information about the gstreamer-devel mailing list