udpsink wait for reference frame

Spruyt, Randy Randy.Spruyt at christiedigital.com
Wed Apr 29 12:07:54 PDT 2015


Anyone know how to get the client side of a stream to wait for a reference frame before displaying content?

Server:
gst-launch-1.0 -v videotestsrc ! x264enc ! rtph264pay ! udpsink port=6000 host=192.168.232.189

client:
gst-launch-1.0 udpsrc caps = "application/x-rtp, media=video, clock-rate=90000, encoding-name=H264, packetization-mode=1, profile-level-id\=640014,sprop-parameter-sets=\"Z2QAFKzZQUH7ARAAAAMAEAAAAwPI8UKZYA\\\=\\\=\\\,aOvssiw\\\=\", payload=96, ssrc=774396182,timestamp-offset=4446270, seqnum-offset=27753" port=6000 ! rtpjitterbuffer ! rtph264depay ! vaapiparse_h264 ! vaapidecode ! vaapisink

works fine. However, the client does not start from reference/key frame. After a second or two, things look normal


starts with:
[unnamed.png]

After a second or two:
[cid:image002.jpg at 01D0826A.2192D6C0]

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freedesktop.org/archives/gstreamer-devel/attachments/20150429/12a211a6/attachment-0001.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: image001.png
Type: image/png
Size: 41182 bytes
Desc: image001.png
URL: <http://lists.freedesktop.org/archives/gstreamer-devel/attachments/20150429/12a211a6/attachment-0001.png>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: image002.jpg
Type: image/jpeg
Size: 5894 bytes
Desc: image002.jpg
URL: <http://lists.freedesktop.org/archives/gstreamer-devel/attachments/20150429/12a211a6/attachment-0001.jpg>


More information about the gstreamer-devel mailing list