可能存在时间戳问题或这台计算机太慢
There maybe a timestamping problem or this computer is too slow
有人用 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.
如有任何帮助,我们将不胜感激。谢谢!
CPU在这些场合的使用情况如何?我没有使用这个平台的经验 - 可能它的目的是 运行 GPU 上的大多数东西(比如视频解码和显示)。
尝试 sync=false
视频接收器。它可能仍然有延迟,但不会丢掉任何帧。因此,也许可以通过观察此管道获得更多信息。
使用 autovideoconvert ! autovideosink
作为接收器而不是使用 xvimagesink
怎么样?
考虑使用 rtpbin
元素而不是手动执行 RTP 部分。 bin 做了很多智能缓冲等,可能在这里有所帮助。
当然还要仔细检查笔记本电脑编码器端是否没有出现问题..
有人用 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.
如有任何帮助,我们将不胜感激。谢谢!
CPU在这些场合的使用情况如何?我没有使用这个平台的经验 - 可能它的目的是 运行 GPU 上的大多数东西(比如视频解码和显示)。
尝试 sync=false
视频接收器。它可能仍然有延迟,但不会丢掉任何帧。因此,也许可以通过观察此管道获得更多信息。
使用 autovideoconvert ! autovideosink
作为接收器而不是使用 xvimagesink
怎么样?
考虑使用 rtpbin
元素而不是手动执行 RTP 部分。 bin 做了很多智能缓冲等,可能在这里有所帮助。
当然还要仔细检查笔记本电脑编码器端是否没有出现问题..