Advertisement
Guest User

Untitled

a guest
Feb 22nd, 2017
315
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.11 KB | None | 0 0
  1. ffmpeg -f vfwcap -I 0 -vcodedc libx264 -tune zerolatency-b 900k -f mpegts udp://persiaspalace.us:8090
  2.  
  3. # cat /usr/local/etc/ffserver.conf| egrep -v "(^#.*|^$)"
  4. HTTPPort 8090
  5. HTTPBindAddress 0.0.0.0
  6. MaxHTTPConnections 2000
  7. MaxClients 1000
  8. MaxBandwidth 1000
  9. CustomLog -
  10. <Feed feed1.ffm>
  11. File /tmp/feed1.ffm
  12. FileMaxSize 200K
  13. ACL allow 98.124.117.129
  14. </Feed>
  15. <Stream test1.mpg>
  16. Feed feed1.ffm
  17. Format mpeg
  18. AudioBitRate 32
  19. AudioChannels 1
  20. AudioSampleRate 44100
  21. VideoBitRate 64
  22. VideoBufferSize 40
  23. VideoFrameRate 3
  24. VideoSize 160x128
  25. VideoGopSize 12
  26. ACL ALLOW all
  27. </Stream>
  28. <Stream test.asf>
  29. Feed feed1.ffm
  30. Format asf
  31. VideoFrameRate 15
  32. VideoSize 352x240
  33. VideoBitRate 256
  34. VideoBufferSize 40
  35. VideoGopSize 30
  36. AudioBitRate 64
  37. StartSendOnKey
  38. </Stream>
  39. <Stream test1-rtsp.mpg>
  40. Format rtp
  41. File "/tmp/feed1.ffm"
  42. </Stream>
  43. <Stream stat.html>
  44. Format status
  45. ACL allow localhost
  46. ACL allow 192.168.0.0 192.168.255.255 98.124.117.129 0.0.0.0
  47. </Stream>
  48. <Redirect index.html>
  49. URL http://www.ffmpeg.org/
  50. </Redirect>
  51.  
  52. # netstat -an|grep 8090
  53. tcp4 0 0 *.8090 *.* LISTEN
  54.  
  55. rtsp://persiaspalace.us:8090/feed1.ffm
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement