How to play udpsrc using VLC

Arjen Veenhuizen arjen at moonlightmedia.nl
Thu Jul 6 15:38:23 UTC 2017


You have to tell the receiving end what it is actually receiving. Normally,
one would use an SDP file for that. As a quick hack you can try to stream in
an mp2ts container. VLC has better luck figuring that out (without SDP) than
h264 but the rate of success greatly depends on the exact version of VLC.

 gst-launch-1.0 -v  v4l2src device=/dev/video1 ! videoconvert !
video/x-raw,format=NV12,width=640,height=480,framerate=30/1 ! x264enc !
h264parse ! mpegtsmux ! rtpmp2tpay ! udpsink host=CLIENT_IP port=5000 


Note that when you would have used GStreamer at the client side, you also
would have needed to communicate the output caps  of the sender
(application/x-rtp,...) to the receiving end.



--
View this message in context: http://gstreamer-devel.966125.n4.nabble.com/How-to-play-udpsrc-using-VLC-tp4683713p4683715.html
Sent from the GStreamer-devel mailing list archive at Nabble.com.


More information about the gstreamer-devel mailing list