Skip to content

Instantly share code, notes, and snippets.

@davidoram
Created July 26, 2015 04:57
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save davidoram/1b8029bae6c3041d83c2 to your computer and use it in GitHub Desktop.
Save davidoram/1b8029bae6c3041d83c2 to your computer and use it in GitHub Desktop.
ffmpeg: Run ffserver available via http://localhost:8090/stat.html
# Run via:
# ffserver -d -f ffserver.conf
Port 8090
BindAddress 0.0.0.0
MaxHTTPConnections 2000
MaxClients 1000
MaxBandwidth 1000
CustomLog -
NoDaemon
<Feed feed1.ffm>
File /tmp/feed1.ffm
ACL allow 127.0.0.1
ACL allow localhost
</Feed>
# Flash
<Stream test.swf>
Feed feed1.ffm
Format swf
VideoFrameRate 2
VideoBitRate 256
VideoIntraOnly
VideoSize 320x160
NoAudio
ACL ALLOW localhost
ACL ALLOW 127.0.0.1
</Stream>
<Stream stat.html>
Format status
ACL allow localhost
ACL allow 192.168.0.0 192.168.255.255
</Stream>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment