rtph264pay udpsink

Sebastian Dröge sebastian at centricular.com
Sat Mar 1 07:28:15 PST 2014


On Do, 2014-02-27 at 22:24 -0800, troywang wrote:
> Hi all:
> I am using gstreamer to transmit h.264 video stream,My pipeline is:
> 
> filesrc(test.264) --> rh264parse --> rtph264pay --> udpsink
> 
> the Python code is as follow.I use an player to accept the video,But about
> 1-3S after PLAYING,it stopped.I catch the packet by wireshark, It show that
> after 1-3S,it stop send packets,What is the problem????? Please help me!!!
> [...]
>         self.udpsink.set_property('sync',False)
> [...]

You're setting sync=false on udpsink. This will cause udpsink to send
the packets as fast as possible and not in real-time.

Also because it's UDP there is no flow control at all and most likely
most of the packets will be dropped immediately.

-- 
Sebastian Dröge, Centricular Ltd - http://www.centricular.com
Expertise, Straight from the Source
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 949 bytes
Desc: This is a digitally signed message part
URL: <http://lists.freedesktop.org/archives/gstreamer-devel/attachments/20140301/71bdc9f1/attachment.pgp>


More information about the gstreamer-devel mailing list