Detect automatically caps for UDP streaming

pfarmer flacone at gmx.de
Wed Feb 5 06:35:47 PST 2014


If you only consider RTP packing it is sufficient to tell that the udpsrc:

either using a capsfilter 

gst-launch udpsrc port=3000 ! application/x-rtp ! rtph264depay ! ffdec_h264
! ffmpegcolorspace ! mfw_v4lsink disp-width=200 disp-height=200 

or set the caps as a property directly at the udpsrc:

gst-launch udpsrc port=3000 caps="application/x-rtp" ! application/x-rtp !
rtph264depay ! ffdec_h264 ! ffmpegcolorspace ! mfw_v4lsink disp-width=200
disp-height=200 

The capabilities media, clock-rate and encoding-name are negotiated
automatically between udpsrc and rtph264pay to probably:
media=(string)video, clock-rate=(int)90000, encoding-name=(string)H264



--
View this message in context: http://gstreamer-devel.966125.n4.nabble.com/Detect-automatically-caps-for-UDP-streaming-tp4664899p4665112.html
Sent from the GStreamer-devel mailing list archive at Nabble.com.


More information about the gstreamer-devel mailing list