首页 > 解决方案 > Gstreamer multiudpsink 在所有子网上广播

问题描述

下面是我的发送方和接收方的实际管道。我想流式传输所有子网(从 192.168.1.1 到 192.168.1.255。我希望接收器可以解码流,无论 ip 是什么:192.168.1.10 或 192.168.1.235 或...我必须如何使用multiudpsink 这样做?

发件人

appsrc ! video/x-raw, format=BGR ! queue ! videoconvert ! video/x-raw, format=BGRx ! nvvidconv ! omxh264enc ! video/x-h264, stream-format=byte-stream ! h264parse ! rtph264pay pt=96 config-interval=1 ! udpsink host=192.168.1.2 port=5200 sync=false

接收器

udpsrc ! rtpjitterbuffer mode=0 ! rtph264depay ! h264parse ! avdec_h264 ! videoconvert !d3dvideosink sync=false

标签: gstreamer

解决方案


推荐阅读