Skip to content

Instantly share code, notes, and snippets.

Created September 29, 2012 00:06
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 anonymous/3802687 to your computer and use it in GitHub Desktop.
Save anonymous/3802687 to your computer and use it in GitHub Desktop.
stdin
Port 50800
BindAddress 0.0.0.0
MaxHTTPConnections 1024
MaxClients 1024
MaxBandwidth 10000
CustomLog -
NoDaemon
<Stream status.html>
Format status
ACL allow localhost
ACL allow 192.168.0.0 192.168.0.254
</Stream>
<Feed ch1.ffm>
File /tmp/ch1.ffm
FileMaxSize 16M
# Launch ffmpeg
# ACL allow 127.0.0.1
</Feed>
#<Stream ch1-3fps.mjpeg>
# Feed ch1.ffm
# Format mpjpeg
# VideoFrameRate 3
# VideoIntraOnly
# NoAudio
# Strict -1
#</Stream>
#<Stream ch1-12fps.mjpeg>
# Feed ch1.ffm
# Format mpjpeg
# VideoFrameRate 12
# VideoIntraOnly
# NoAudio
# Strict -1
#</Stream>
<Stream ch1-16fps.mjpeg>
Feed ch1.ffm
Format mpjpeg
VideoFrameRate 16
VideoIntraOnly
NoAudio
Strict -1
</Stream>
<Stream ch1.mp3>
Feed ch1.ffm
Format mp2
AudioCodec libmp3lame
AudioBitRate 64
AudioChannels 1
AudioSampleRate 44100
</Stream>
<Stream ch1.mp4>
Feed ch1.ffm
Format mp4
AudioBitRate 64
AudioChannels 1
AudioSampleRate 44100
AudioCodec libmp3lame
#NoAudio
VideoBitRate 256
VideoBufferSize 400
VideoFrameRate 15
VideoSize 320x240
VideoGopSize 12
VideoHighQuality
Video4MotionVector
VideoCodec mpeg4
</Stream>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment