正在丢弃大量缓冲区

时间:2014-01-30 08:53:33

标签: gstreamer rtp

我正在尝试使用RTP进行流式处理,并且客户端表示存在大量数据包丢弃。

服务器管道:

 gst-launch videotestsrc ! x264enc ! rtph264pay ! udpsink host=192.168.1.16 port=5000

客户端管道:

gst-launch udpsrc uri=udp://192.168.1.16:5000 caps="application/x-rtp, media=(string)video, clock-rate=(int)90000, encoding-name=(string)H264, sprop-parameter-sets=(string)\"Z01AFeygoP2AiAAAAwALuaygAHixbLA\\=\\,aOvssg\\=\\=\", payload=(int)96, ssrc=(uint)1645090291, clock-base=(uint)1778021115, seqnum-base=(uint)28353" ! rtph264depay ! queue ! ffdec_h264 ! autovideosink 

我可以在客户端看到视频,但是很慢的丢包。客户端的错误:

from element /GstPipeline:pipeline0/GstAutoVideoSink:autovideosink0/GstXvImageSink:autovideosink0-actual-sink-xvimage: 
A lot of buffers are being dropped.
Additional debug info:
gstbasesink.c(2875): gst_base_sink_is_too_late (): /GstPipeline:pipeline0/GstAutoVideoSink:autovideosink0/GstXvImageSink:autovideosink0-actual-sink-xvimage:
There may be a timestamping problem, or this computer is too slow 

如果有人能告诉我这里做错了什么,那就太棒了!

1 个答案:

答案 0 :(得分:0)

而不是使用" autovideosink"尝试" xvimagesink sync = false"。