gstreamer - 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
解决方案
推荐阅读
- python - 循环并更新数组值直到满足条件,或者直到完成 100 次循环?
- wordpress - $wpdb 更新多个复选框
- ios - 如何为uitableviewcell的内表调用didselectrow方法
- c# - 实体框架 6.1.3 当 dbContext 处理的分离对象为空时
- c# - 为什么只能从第二道门关上?第一个保持打开
- titanium - Titanium App 无法启动并出现 ti.main.js 文件未找到错误
- mysql - 如何在mysql中选择两个不同的日期?
- javascript - 成功登录keycloak后如何与jaspersoft握手
- ruby - Ruby遍历二维数组并填充随机数据
- java - libopencv_java342.dll:找不到依赖库?