Help : Streaming with RTP MPEG2 TS Payloader

classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

Help : Streaming with RTP MPEG2 TS Payloader

Jyoti-2
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

------------------------------------------------------------------------------
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day
trial. Simplify your report design, integration and deployment - and focus on
what you do best, core application coding. Discover what's new with
Crystal Reports now.  http://p.sf.net/sfu/bobj-july
_______________________________________________
gstreamer-devel mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/gstreamer-devel