小编Cha*_*Cui的帖子

具有双以太网接口的 ffmpeg 工作错误

具有双接口的服务器。

  1. 其中一个(eht0)用于WAN,为互联网用户提供http/ssh服务。

  2. 另一个(eth1)用于接收来自内网的组播数据。

218.108.132.177 为公网网关。

125.210.198.1 是私网网关。

233.49.3.*/24 是多播地址。

10.0.11.*/24为组播数据源。

当路由表如下所示时,ffmpeg 无法从 eth1 读取 udp 数据,ffmpeg 挂起:

rrca@rcasnap02:~$ route
Kernel IP routing table
Destination     Gateway         Genmask         Flags Metric Ref    Use Iface
218.108.132.176 *               255.255.255.252 U     0      0        0 eth0
125.210.198.0   *               255.255.255.240 U     0      0        0 eth1
default         218.108.132.177 0.0.0.0         UG    100    0        0 eth0
default         125.210.198.1   0.0.0.0         UG    100    0        0 eth1
Run Code Online (Sandbox Code Playgroud)

或者

rrca@rcasnap02:~$ route
Kernel IP routing table
Destination     Gateway         Genmask         Flags Metric Ref    Use Iface
218.108.132.176 * …
Run Code Online (Sandbox Code Playgroud)

linux ffmpeg multicast

2
推荐指数
1
解决办法
1万
查看次数

标签 统计

ffmpeg ×1

linux ×1

multicast ×1