ffserver.conf
HTTPPort 8090
HTTPBindAddress 0.0.0.0
MaxHTTPConnections 2000
MaxClients 1000
MaxBandwidth 1000
CustomLog -
RTSPPort 2000
RTSPBindAddress 0.0.0.0
<Feed stream1.ffm>
File /tmp/stream1.ffm
FileMaxSize 300M
</Feed>
<Stream stream1>
Feed stream1.ffm
Format rtp
#VideoCodec libx264
#VideoFrameRate 24
#VideoBitRate 100
#VideoSize 720x480
NoVideo
Metadata title "Spoon Radio MP3"
#Strict -2
#AudioCodec libfdk_aac
AudioCodec libmp3lame
#AudioCodec vorbis
AudioBitRate 96
AudioChannels 2
AudioSampleRate 44100
#AudioSampleRate 48000
#AVOptionAudio flags +global_header
</Stream>
cmd
./ffserver -f ffserver.conf
Player config
./ffmpeg -f alsa -i pulse http://localhost:8090/stream1.ffm