正在丢弃大量缓冲区

问题描述 投票:1回答:1

我正在尝试使用RTSP进行流式处理,客户端说有很多数据包丢失。

服务器管道:

 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 

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

gstreamer rtp
1个回答
0
投票

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

© www.soinside.com 2019 - 2024. All rights reserved.