尝试使用 gStreamer 模拟 4k st2110 流

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

我试图像他们在这里做的那样用 gStreamer 模拟 4k st2110 流,但我改变了分辨率和帧率。

https://github.com/olzzon/FFmpeg-2110

gst-launch-1.0 rtpbin 名称=rtpbin
videotestsrc 水平速度=2!
视频/x-raw,宽度=3840,高度=2160,帧率=50/1,格式=UYVP! rtpvrawpay pt=102 !队列 !
rtpbin.send_rtp_sink_0 rtpbin.send_rtp_src_0 !队列 !
udpsink host=10.0.0.2 port=5005 render-delay=0 rtpbin.send_rtcp_src_0 !
udpsink host=10.0.0.2 port=5005 sync=false async=false
音频测试!音频重采样!音频转换!
rtpL24pay ! application/x-rtp, pt=103, payload=103, clock-rate=48000, channels=2 !
rtpbin.send_rtp_sink_1 rtpbin.send_rtp_src_1 !
udpsink host=10.0.0.2 port=5007 render-delay=0 rtpbin.send_rtcp_src_1 !
udpsink host=10.0.0.2 port=5007 sync=false async=false

当我监控所用接口上的流量时,带宽很低(1,2 - 1,6 Gbs 而不是 8Gbs+) see Bandwidth here (interface: enp27s0d1

知道这里发生了什么吗?

我用 iperf3 检查了两台服务器之间的连接,以确认它支持高达 10 gbs 的流量。

iperf3 on sender and receiver here

旁注:当我切换到使用 iperf3 的 UDP 流量测试时,最大带宽约为 2,5gbs。

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