我想以我对 ffmpeg 非常新,甚至对 ffserver 更新这一事实作为这个问题的序言。
为了我的一生,我不能让这件事继续下去。我得到:
"Too large number of skipped frames 882933314374 > 60000"
另外,ffplay给了我first frame is no keyframe
这是我的 ffserver.conf 文件
HTTPPort 8090
HTTPBindAddress 0.0.0.0
MaxHTTPConnections 1000
MaxClients 10
MaxBandwidth 2000000
NoDefaults
###############################################################################################
<Feed test.ffm>
File /tmp/test.ffm
FileMaxSize 10000M
ACL ALLOW localhost
</Feed>
<Stream status.html>
Format status
# Only allow local people to get the status
ACL allow localhost
</Stream>
<Stream test.avi>
Feed test.ffm
Format avi
ACL ALLOW localhost
ACL ALLOW 192.168.1.0
NoAudio
VideoSize 3840x2160
VideoFrameRate 30
Preroll 10
</Stream>
###############################################################################################
这是我的 ffmpeg 命令
ffmpeg -i smaller.avi http://localhost:8090/test.ffm
我整天都在和这个东西作斗争,一直像疯子一样在谷歌上搜索。我究竟做错了什么?任何帮助都将受到热烈欢迎。