SHARE
TWEET

Untitled

a guest Oct 26th, 2015 99 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. HTTPPort 8080                      # Port to bind the server to
  2. HTTPBindAddress 0.0.0.0
  3. MaxHTTPConnections 100
  4. MaxClients 100
  5. MaxBandwidth 5000             # Maximum bandwidth per client
  6.                                # set this high enough to exceed stream bitrate
  7.  
  8. <Feed feed1.ffm>               # This is the input feed where FFmpeg will send
  9.    File /var/www/html/ffmpeg/feed1.ffm            # video stream.
  10.    FileMaxSize 50M              # Maximum file size for buffering video
  11. </Feed>
  12.  
  13. <Stream test.webm>                      # Output stream URL definition
  14.    Feed feed1.ffm              # Feed from which to receive video
  15.    Format webm
  16.  
  17.  
  18.    # Video settings
  19.    VideoCodec libvpx  
  20.    VideoSize 960x540          # Video resolution
  21.    VideoFrameRate 25           # Video FPS
  22.    AVOptionVideo flags +global_header # Parameters passed to encoder
  23.                                        # (same as ffmpeg command-line parameters)
  24.    AVOptionVideo cpu-used 4
  25.    AVOptionVideo threads 8
  26.    AVOptionVideo qmin 10
  27.    AVOptionVideo qmax 42
  28.  
  29.  
  30.  
  31.  
  32.  # Audio settings
  33.  AudioCodec libopus
  34.  # AudioCodec libvorbis
  35.  
  36.  AudioBitRate 64             # Audio bitrate
  37.  AudioSampleRate 48000
  38.  AudioChannels 2
  39.  AVOptionAudio flags +global_header
  40.  
  41.   PreRoll 15
  42.   StartSendOnKey
  43.   VideoBitRate 1000            # Video bitrate
  44. </Stream>
  45.  
  46.  
  47.  
  48.  
  49. <Stream status.html>                    # Server status URL
  50.   Format status
  51. </Stream>
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
 
Top