Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- HTTPPort 8080 # Port to bind the server to
- HTTPBindAddress 0.0.0.0
- MaxHTTPConnections 100
- MaxClients 100
- MaxBandwidth 5000 # Maximum bandwidth per client
- # set this high enough to exceed stream bitrate
- <Feed feed1.ffm> # This is the input feed where FFmpeg will send
- File /var/www/html/ffmpeg/feed1.ffm # video stream.
- FileMaxSize 50M # Maximum file size for buffering video
- </Feed>
- <Stream test.webm> # Output stream URL definition
- Feed feed1.ffm # Feed from which to receive video
- Format webm
- # Video settings
- VideoCodec libvpx
- VideoSize 960x540 # Video resolution
- VideoFrameRate 25 # Video FPS
- AVOptionVideo flags +global_header # Parameters passed to encoder
- # (same as ffmpeg command-line parameters)
- AVOptionVideo cpu-used 4
- AVOptionVideo threads 8
- AVOptionVideo qmin 10
- AVOptionVideo qmax 42
- # Audio settings
- AudioCodec libopus
- # AudioCodec libvorbis
- AudioBitRate 64 # Audio bitrate
- AudioSampleRate 48000
- AudioChannels 2
- AVOptionAudio flags +global_header
- PreRoll 15
- StartSendOnKey
- VideoBitRate 1000 # Video bitrate
- </Stream>
- <Stream status.html> # Server status URL
- Format status
- </Stream>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement