#==============================================================
#Globle Setting
Port 12134
BindAddress 0.0.0.0
MaxHTTPConnections 2000
MaxClients 1000
MaxBandwidth 100000
#CustomLog ffserver.log
CustomLog -
RTSPPort 12136
RTSPBindAddress 0.0.0.0
NoDaemon
#==============================================================
#Feed1
<Feed feed1.ffm>
File feed1.ffm
#K M G
FileMaxSize 200M
#Launch ffmpeg
#ACL allow localhost
</Feed>
<Stream shuo.mp3>
Feed feed1.ffm
#mpeg mpegvideo mp2 ogg rm ra asf swf avi jpeg
#File shu.mp3
Format mp3
AudioBitRate 64
AudioChannels 2
AudioSampleRate 44100
#AudioCodec MP2
NoVideo
</Stream>
<Stream dao.flv>
Feed feed1.ffm
Format flv
#Launch ffmpeg
#Author
#Comment
#Copyright
#Title
#NoAudio
#AudioBitRate 45(K)
#AudioChannels 2
#AudioSampleRate 44100
#VideoBitRate 64
#VideoBitRateRang 1000-2000 (K)
#VideoFrameRate 24
#VideoSize 1080x720 times of 16
#VideoGopSize 12 (I frame)
#Debug 1
</Stream>
#==============================================================
#File
#<Stream me.avi>
#File me.avi
#Format avi
#NoAudio
#Author "Me"
#Copyright "Super MegaCorp"
#Title "Test stream from disk"
#Comment "Test comment"
#</Stream>
#
#<Stream 2.mkv>
#Format rtp
#File 2.mkv
#Author "Me"
#Copyright "Super MegaCorp"
#Title "Test stream from disk"
#Comment "Test comment"
#</Stream>
#
#==============================================================
#html
<Stream stat.html>
Format status
# Only allow local people to get the status
#ACL allow localhost
#ACL allow 192.168.0.0 192.168.255.255
#FaviconURL http://pond1.gladstonefamily.net:8080/favicon.ico
</Stream>
<Redirect index.html>
#...
URL http://www.ffmpeg.org/
</Redirect>
ffserver.conf
最新推荐文章于 2020-04-27 16:35:43 发布