我无法将桌面捕获发送到本地主机ffserver:拒绝与本地服务器的连接。
# ffserver >/dev/null 2>&1 &
# ffmpeg -video_size 1600x900 -framerate 20 -f x11grab -i :0.0 \
-f alsa -ac 2 -i hw:0 http://localhost:8090/feed1.ffm
....
[tcp @ 0x56514ba629e0] Connection to tcp://localhost:8090 failed (Connection refused
), trying next address我尝试将选项ACL allow 192.168.0.0 192.168.255.255添加到/etc/ffserver.conf中,但没有成功。
发布于 2018-11-19 06:07:02
尝试使用这些ACL设置:
ACL allow 127.0.0.1
ACL allow 192.168.0.0 192.168.255.255有了这个指挥部:
ffserver >/dev/null 2>&1 &
ffmpeg -video_size 1600x900 -framerate 20 -f x11grab -i :0.0 \
-f alsa -ac 2 -i hw:0 http://127.0.0.1:8090/feed1.ffm似乎连接可能因为单词localhost而被拒绝。
https://unix.stackexchange.com/questions/482670
复制相似问题