Advertisement
Guest User

RTSP config for ffmpeg/ffserver

a guest
Sep 20th, 2012
341
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.02 KB | None | 0 0
  1. RTSPPort 5454
  2. Port 8090
  3. BindAddress 0.0.0.0
  4. MaxHTTPConnections 2000
  5. MaxClients 1000
  6. MaxBandwidth 1000
  7. CustomLog -
  8. NoDaemon
  9.  
  10. <Feed feed1.ffm>
  11. File /tmp/feed1.ffm
  12. FileMaxSize 200K
  13. ACL allow 127.0.0.1
  14. </Feed>
  15.  
  16.  
  17. ##################################################################
  18. # RTSP examples
  19. #
  20. # You can access this stream with the RTSP URL:
  21. # rtsp://localhost:5454/test1-rtsp.mpg
  22. #
  23. # A non-standard RTSP redirector is also created. Its URL is:
  24. # http://localhost:8090/test1-rtsp.rtsp
  25.  
  26. <Stream live.h264>
  27. Format rtp
  28. Feed feed1.ffm
  29. VideoCodec libx264
  30. VideoFrameRate 24
  31. VideoBitRate 100
  32. VideoSize 480x272
  33. AVPresetVideo default
  34. AVPresetVideo baseline
  35. AVOptionVideo flags +global_header
  36. AudioCodec libfaac
  37. AudioBitRate 32
  38. AudioChannels 2
  39. AudioSampleRate 22050
  40. AVOptionAudio flags +global_header
  41. </Stream>
  42.  
  43. <Stream stat.html>
  44. Format status
  45. ACL allow localhost
  46. ACL allow 192.168.0.0 192.168.255.255
  47. </Stream>
  48.  
  49. <Redirect index.html>
  50. URL http://www.ffmpeg.org/
  51. </Redirect>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement