Advertisement
Guest User

Untitled

a guest
Oct 18th, 2017
106
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 2.23 KB | None | 0 0
  1. # Port on which the server is listening. You must select a different
  2. # port from your standard HTTP web server if it is running on the same
  3. # computer.
  4. HTTPPort 8090
  5.  
  6. # Address on which the server is bound. Only useful if you have
  7. # several network interfaces.
  8. HTTPBindAddress 0.0.0.0
  9.  
  10. # Number of simultaneous HTTP connections that can be handled. It has
  11. # to be defined *before* the MaxClients parameter, since it defines the
  12. # MaxClients maximum limit.
  13. MaxHTTPConnections 2000
  14.  
  15. # Number of simultaneous requests that can be handled. Since FFServer
  16. # is very fast, it is more likely that you will want to leave this high
  17. # and use MaxBandwidth, below.
  18. MaxClients 10
  19.  
  20. # This the maximum amount of kbit/sec that you are prepared to
  21. # consume when streaming to clients.
  22. MaxBandwidth 10000
  23.  
  24. # Access log file (uses standard Apache log file format)
  25. # '-' is the standard output.
  26. CustomLog -
  27.  
  28. ##################################################################
  29. # Definition of the live feeds. Each live feed contains one video
  30. # and/or audio sequence coming from an ffmpeg encoder or another
  31. # ffserver. This sequence may be encoded simultaneously with several
  32. # codecs at several resolutions.
  33.  
  34. <Feed feed1.ffm>
  35.  
  36. # You must use 'ffmpeg' to send a live feed to ffserver. In this
  37. # example, you can type:
  38. #
  39. # ffmpeg http://localhost:8090/feed1.ffm
  40.  
  41. # ffserver can also do time shifting. It means that it can stream any
  42. # previously recorded live stream. The request should contain:
  43. # "http://xxxx?date=[YYYY-MM-DDT][[HH:]MM:]SS[.m...]".You must specify
  44. # a path where the feed is stored on disk. You also specify the
  45. # maximum size of the feed, where zero means unlimited. Default:
  46. # File=/tmp/feed_name.ffm FileMaxSize=5M
  47. File /tmp/feed1.ffm
  48. FileMaxSize 500M
  49.  
  50. # You could specify
  51. # ReadOnlyFile /saved/specialvideo.ffm
  52. # This marks the file as readonly and it will not be deleted or updated.
  53.  
  54. # Specify launch in order to start ffmpeg automatically.
  55. # First ffmpeg must be defined with an appropriate path if needed,
  56. # after that options can follow, but avoid adding the http:// field
  57. #Launch ffmpeg
  58.  
  59. # Only allow connections from localhost to the feed.
  60. ACL allow 127.0.0.1
  61. ACL allow 192.168.1.0 192.168.255.255
  62.  
  63. </Feed>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement