[FFmpeg-user] Problem configuring ffserver for RTSP with Audio

Mohammad Shakir shakirz1 at gmail.com
Sat Feb 25 08:48:30 EET 2017


Attached herewith my ffserver.conf it is working fine with FLV and RTSP
(without audio) but when I enable audio codecs in RTSP its stop working.

My version is ffmpeg-3.2.4-32bit-static

is there issue in my configuration ?

HTTPPort 8090
RTSPPort 554
HTTPBindAddress 0.0.0.0
MaxHTTPConnections 2000
MaxClients 1000
MaxBandwidth 1000
CustomLog -


<Stream stat.html>
Format status
ACL allow localhost
ACL allow 192.168.0.0 192.168.255.255
</Stream>



<Feed feed1.ffm>
File /tmp/feed1.ffm
FileMaxSize 1G
ACL allow 127.0.0.1
</Feed>


<Stream live.flv>
Format flv
Feed feed1.ffm

VideoCodec libx264
VideoFrameRate 25
VideoBitRate 100
VideoSize 768x576
AVOptionVideo crf 23
AVOptionVideo preset medium
AVOptionVideo me_range 16


AudioCodec aac
Strict -2
AudioBitRate 128
AudioChannels 2
AudioSampleRate 44100
AVOptionAudio flags +global_header
</Stream>

<Stream live.sdp>
Format rtp
Feed feed1.ffm

VideoFrameRate 30
VideoSize 640x480
VideoBitRate 256
VideoBufferSize 40
VideoGopSize 30
VideoCodec libx264
AVOptionVideo crf 23
AVOptionVideo me_range 16
AVOptionVideo qdiff 4
AVOptionVideo qmin 10
AVOptionVideo qmax 51
AVOptionVideo flags +global_header

NoAudio
#AudioCodec aac
#Strict -2
#AudioBitRate 128
#AudioChannels 2
#AudioSampleRate 44100
#AVOptionAudio flags +global_header

</Stream>


More information about the ffmpeg-user mailing list