Packet drops while sending data over internet using udpsink/udpsrc

ankitjain ankit_jain at ureach.com
Tue Nov 29 13:02:32 PST 2011


Hi,

I am trying to transfer live webcam feed over internet. 
My setup:
I am using two Reliance 3G datacards (upload: ~350 kbps down: 1.2 Mbps)
connected to two different laptops. 

I am running the following pipeline on one of the laptops:

gst-launch-0.10 v4l2src ! ffmpegcolorspace !
video/x-raw-yuv,format=\(fourcc\)I420 ! videoscale !
video/x-raw-yuv,width=320,height=240 ! videorate !
video/x-raw-yuv,framerate=\(fraction\)15/1 ! x264enc bitrate=200
tune=zerolatency ! rtph264pay config-interval=5 ! udpsink port=12000
host=120.41.21.114 -v

and the below one on other laptop:

gst-launch-0.10 udpsrc port=12000 ! "application/x-rtp, media=(string)video,
clock-rate=(int)90000, encoding-name=(string)H264,
sprop-parameter-sets=(string)\"Z01ACtkChH5cBEAAAAMAQAAAB6PEiZI\\=\\,aOvMsg\\=\\=\",
payload=(int)96, ssrc=(uint)1152645577, clock-base=(uint)1615839529,
seqnum-base=(uint)7545" ! rtph264depay ! ffdec_h264 ! xvimagesink sync=false
-v


I am able to get the video at the other end (I handle NATing and port
opening issues separately). However there are too many packet drops in the
same. 

To test the network, I started skype clients on both the laptops and started
video call between the two laptops. The video quality was excellent with
almost no packet loss. 

I want to know if I am doing anything wrong? Have I missed out on any buffer
settings, etc? please give me some pointers on what settings of rtp, udp
plugins can I tweak.

Thanks in advance

Regards
Ankit


--
View this message in context: http://gstreamer-devel.966125.n4.nabble.com/Packet-drops-while-sending-data-over-internet-using-udpsink-udpsrc-tp4120770p4120770.html
Sent from the GStreamer-devel mailing list archive at Nabble.com.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freedesktop.org/archives/gstreamer-devel/attachments/20111129/d86ce875/attachment.html>


More information about the gstreamer-devel mailing list