[gst-devel] video playing with jerks when data is RTP H264 payloaded

Jyoti jyoti.d at allaboutif.com
Thu Oct 22 13:38:50 CEST 2009


Hi All,

I am trying implement a multicast UDP Server Client module using gstreamer.
The video plays very bad. Could someone please give some suggestions on the
same?

The server and client are built using pipelines shown below:

Server:

gst-launch -v gstrtpbin name=rtpbin filesrc
location=~/workdir/filesys/opt/data/collateral.ts ! mpegtsdemux name=d d. !
queue ! rtph264pay ! rtpbin.send_rtp_sink_0 rtpbin.send_rtp_src_0 ! udpsink
port=5000 host=127.0.0.1 ts-offset=0 rtpbin.send_rtcp_src_0 ! udpsink
port=5001 host=127.0.0.1 sync=false async=false udpsrc port=5005 !
rtpbin.recv_rtcp_sink_0  d. ! queue ! rtpmpapay ! rtpbin.send_rtp_sink_1
rtpbin.send_rtp_src_1 ! udpsink port=5002 host=127.0.0.1 ts-offset=0
rtpbin.send_rtcp_src_1 ! udpsink port=5003 sync=false async=false udpsrc
port=5007 ! rtpbin.recv_rtcp_sink_1

Client:

gst-launch gstrtpbin name=rtpbin latency=200 udpsrc caps="application/x-rtp,
media=(string)video, clock-rate=(int)90000, encoding-name=(string)H264,
profile-level-id=(string)4d400d, payload=(int)96,
clock-base=(guint)3013157687, seqnum-base=(guint)28981" port=5000
name=vrtpsrc ! rtpbin.recv_rtp_sink_0 rtpbin. ! rtph264depay ! ffdec_h264 !
ffmpegcolorspace ! videoscale ! queue ! xvimagesink udpsrc port=5001 !
rtpbin.recv_rtcp_sink_0 rtpbin.send_rtcp_src_0 ! udpsink port=5005
host=127.0.0.1 sync=false async=false  udpsrc caps="application/x-rtp,
media=(string)audio, clock-rate=(int)90000, encoding-name=(string)MPA,
ssrc=(guint)316404369, payload=(int)96, clock-base=(guint)810575426,
seqnum-base=(guint)9183" port=5002 name=artpsrc ! rtpbin.recv_rtp_sink_1
rtpbin. ! rtpmpadepay ! mad ! audioconvert ! audioresample ! queue !
alsasink udpsrc port=5003 ! rtpbin.recv_rtcp_sink_1 rtpbin.send_rtcp_src_1 !
udpsink port=5007 host=127.0.0.1 sync=false async=false


Thanks,
Jyoti
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freedesktop.org/archives/gstreamer-devel/attachments/20091022/a8a9d315/attachment.htm>


More information about the gstreamer-devel mailing list