如何从gstreamer中的流视频中删除随机灰色帧

问题描述

我使用 RPi4B 和 Auvidea B101 HDMI 通过零层 VPN 通过 5G 蜂窝链接成功地将我的 gopro (1080P/30fps) 视频流式传输到我的 Windows 10 Mission Planner Groundstation。在我的Windows管道10机下面。这有效(非常低的延迟),但我收到了烦人的随机灰色帧,这些帧通常在流中的不同时间最多持续 0.25 秒左右。我可以在管道中修改什么来解决这个问题?

gst-launch-1.0 -v udpsrc port=5600 caps="application/x-rtp,media=(string)video,clock-rate=(int)90000,encoding-name=(string)H264" ! rtpjitterbuffer ! rtph264depay ! avdec_h264 !视频转换! autovideosink sync=false

我的 RPi4 上的工作管道如下(RPi4 在 KERNEL 5.10,gstreamer 1.18.4) gst-launch-1.0 v4l2src device=/dev/video0 ! 'video/x-raw,framerate=30/1,format=UYVY'! v4l2h264enc! 'video/x-h264,level=(string)4' ! rtph264支付! udpsink 主机=172.30.xxx.xxx 端口=5600

注意:当我将流直接显示到本地 RPi HDMI 显示器时,不会出现灰色帧,只有在流到我的远程 Windows 笔记本电脑时才会出现)请注意,如果我在同一台设备上使用 Pi 相机,则不会发生这种情况-向上。 To further describe the issue,the greyed-out Image attached shows that when the stream reverts momentarily to an all greyed-out image,it typically will only partially display colored objects that are in motion,while the static objects in the surrounding background all display as greyed out (perhaps related to the I-frames?)

我可以在两条管道修改什么解决这一问题?

解决方法

暂无找到可以解决该程序问题的有效方法,小编努力寻找整理中!

如果你已经找到好的解决方法,欢迎将解决方案带上本链接一起发送给小编。

小编邮箱:dio#foxmail.com (将#修改为@)