Skip to content

Instantly share code, notes, and snippets.

@antonva
Created August 3, 2014 16:20
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 antonva/027ff6d022664eff0657 to your computer and use it in GitHub Desktop.
Save antonva/027ff6d022664eff0657 to your computer and use it in GitHub Desktop.
ffserver map problem
ffmpeg -i bbb_sunflower_1080p_60fps_normal.mp4 -c:v libvpx -c:a libvorbis http://server/feed.ffm
Port 8090
BindAddress 0.0.0.0
MaxHTTPConnections 2000
MaxClients 1000
MaxBandwidth 10000
CustomLog -
<Feed feed.ffm>
File /tmp/feed.ffm
FileMaxSize 100M
ACL allow 127.0.0.1
</Feed>
<Stream feed.webm>
Feed feed.ffm
Format webm
VideoSize hd720
AVOptionVideo flags +global_header
AVOptionAudio flags +global_header
Preroll 15
StartSendOnKey
</Stream>
<Stream stat.html>
Format status
ACL allow localhost
</Stream>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment