[gst-devel] Help : Streaming with RTP MPEG2 TS Payloader

Jyoti jyoti.d at allaboutif.com
Thu Nov 5 13:43:28 CET 2009


Hi All,

I am writing an application to send MPEG2TS data over UDP using RTP
payloading.
I was using the below pipeline as server:

Server:
---------
gst-launch -v gstrtpbin name=rtpbin filesrc location=collateral.ts !
mpegtsparse ! queue ! rtpmp2tpay\
 ! rtpbin.send_rtp_sink_0 rtpbin.send_rtp_src_0 ! udpsink port=5000
host=224.2.8.13 \
 rtpbin.send_rtcp_src_0 ! udpsink port=5001 host=224.2.8.13 sync=false
async=false \
udpsrc port=5003 ! rtpbin.recv_rtcp_sink_0

Client:
--------
gst-launch -v gstrtpbin name=rtpbin udpsrc caps="application/x-rtp,
media=(string)video, clock-rate=(int)90000, encoding-name=(string)MP2T-ES,
ssrc=(guint)1253787951, payload=(int)33, clock-base=(guint)3847989125,
seqnum-base=(guint)25200" multicast-group=224.2.8.13 port=5000  !
rtpbin.recv_rtp_sink_0   rtpbin. ! rtpmp2tdepay ! mpegtsdemux name=d ! queue
! ffdec_h264 ! ffmpegcolorspace ! videoscale ! queue ! xvimagesink d. !
queue ! mad ! audioconvert ! audioresample ! queue ! alsasink udpsrc
port=5003 ! rtpbin.recv_rtcp_sink_0 rtpbin.send_rtcp_src_0 ! udpsink
port=5001 host=224.2.8.13 sync=false async=false

Issues:
--------
1. But lot of packets are been dropped since no rate control on server side.
2. Can someone please tell me what is *correct way*(gst-launch)* to stream
RTP packets over UDP.*

Thanks for any suggestions.

Regards,
Jyoti
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freedesktop.org/archives/gstreamer-devel/attachments/20091105/1aa167bf/attachment.htm>


More information about the gstreamer-devel mailing list