有人用gstreamer得到这个输出吗?
我正在试用gstreamer和rtp,从我的latptop到nvidia xavier
我的发送者管道就是这样的
gst-launch-1.0 v4l2src ! videoconvert ! 'video/x-raw,format=(string)I420' ! x264enc ! rtph264pay ! udpsink host=127.0.0.1 port=1234我的客户端管道就是这样的
gst-launch-1.0 -vvv udpsrc port=1234 ! application/x-rtp,payload=96 ! rtph264depay ! avdec_h264 ! xvimagesink我得到了以下输出,我的流也很慢和滞后。
WARNING: from element /GstPipeline:pipeline0/GstXvImageSink:xvimagesink0: A lot of buffers are being dropped.
Additional debug info:
gstbasesink.c(2902): gst_base_sink_is_too_late (): /GstPipeline:pipeline0/GstXvImageSink:xvimagesink0:
There may be a timestamping problem, or this computer is too slow.
WARNING: from element /GstPipeline:pipeline0/GstXvImageSink:xvimagesink0: A lot of buffers are being dropped.
Additional debug info:
gstbasesink.c(2902): gst_base_sink_is_too_late (): /GstPipeline:pipeline0/GstXvImageSink:xvimagesink0:
There may be a timestamping problem, or this computer is too slow.
WARNING: from element /GstPipeline:pipeline0/GstXvImageSink:xvimagesink0: A lot of buffers are being dropped.
Additional debug info:
gstbasesink.c(2902): gst_base_sink_is_too_late (): /GstPipeline:pipeline0/GstXvImageSink:xvimagesink0:
There may be a timestamping problem, or this computer is too slow.任何帮助都将不胜感激。谢谢!
发布于 2019-12-21 18:19:59
这些情况下的CPU使用情况如何?我没有使用这个平台的经验--它的意图可能是在GPU上运行大多数东西(比如视频解码和显示)。
尝试使用sync=false作为视频接收器。它可能仍然是滞后的,但不会丢弃任何帧。因此,也许可以通过观察这条管道获得更多信息。
用autovideoconvert ! autovideosink代替xvimagesink做接收器怎么样?
考虑使用rtpbin元素,而不是手动执行RTP部分。bin做了很多智能缓冲等等,这在这里可能会有帮助。
当然,还要仔细检查笔记本电脑的编码器没有出现这个问题。
https://stackoverflow.com/questions/59428557
复制相似问题