连接到 tcp://localhost:8090 失败:连接被拒绝

问题描述

我在运行此命令以读取 HTTP 输出的 RTSP 输入时遇到以下错误

ffmpeg -i /root/videos/walker.mkv http://localhost:8090/Feed.ffm

出现以下错误

Connection to tcp://localhost:8090 Failed: Connection refused
http://localhost:8090/Feed.ffm: Connection refused

/etc/ffsever.conf

Port 8090
BindAddress 0.0.0.0
MaxClients 100
MaxBandwidth 20000
NoDaemon

<Feed Feed.ffm>
ACL allow 127.0.0.1
ACL allow localhost
File /tmp/Feed.ffm
FileMaxSize 3M
</Feed>
<Stream test.flv>

Feed Feed.ffm
Format flv
VideoCodec flv
VideoFrameRate 30
VideoBufferSize 80000
VideoBitRate 200

VideoQMin 1
VideoQMax 5

VideoSize 352x288
preroll 1

Noaudio
</Stream>

<Stream test.swf>
Feed Feed.ffm

解决方法

暂无找到可以解决该程序问题的有效方法,小编努力寻找整理中!

如果你已经找到好的解决方法,欢迎将解决方案带上本链接一起发送给小编。

小编邮箱:dio#foxmail.com (将#修改为@)