Feature #239 » ffserver.conf
| 1 |
Port 8090 |
|---|---|
| 2 |
BindAddress 0.0.0.0 |
| 3 |
MaxHTTPConnections 2000 |
| 4 |
MaxClients 10 |
| 5 |
MaxBandwidth 200000 |
| 6 |
CustomLog -
|
| 7 |
|
| 8 |
<Feed webcam.ffm> |
| 9 |
File /tmp/webcam.ffm |
| 10 |
FileMaxSize 1000K |
| 11 |
ACL allow 127.0.0.1 |
| 12 |
</Feed>
|
| 13 |
|
| 14 |
<Stream webcam.mp4> |
| 15 |
Feed webcam.ffm |
| 16 |
Format mp4 |
| 17 |
VideoSize 320x240 |
| 18 |
|
| 19 |
StartSendOnKey
|
| 20 |
# video
|
| 21 |
PreRoll 0 |
| 22 |
VideoCodec libx264 |
| 23 |
VideoFrameRate 25 |
| 24 |
VideoBitRate 512K |
| 25 |
AVOptionVideo me_range 16 |
| 26 |
AVOptionVideo qdiff 4 |
| 27 |
AVOptionVideo qmin 2 |
| 28 |
AVOptionVideo qmax 51 |
| 29 |
AVOptionVideo b_pyramid normal |
| 30 |
AVOptionVideo flags +global_header |
| 31 |
|
| 32 |
NoAudio
|
| 33 |
</Stream>
|
| 34 |
|
| 35 |
<Stream webcam.flv> |
| 36 |
Feed webcam.ffm |
| 37 |
Format flv |
| 38 |
VideoSize 320x240 |
| 39 |
StartSendOnKey
|
| 40 |
# video
|
| 41 |
PreRoll 0 |
| 42 |
VideoFrameRate 25 |
| 43 |
VideoBitRate 512K |
| 44 |
AVOptionVideo me_range 16 |
| 45 |
AVOptionVideo qdiff 4 |
| 46 |
AVOptionVideo qmin 2 |
| 47 |
AVOptionVideo qmax 51 |
| 48 |
AVOptionVideo b_pyramid normal |
| 49 |
AVOptionVideo flags +global_header |
| 50 |
NoAudio
|
| 51 |
PreRoll 0 |
| 52 |
</Stream>
|
| 53 |
|
| 54 |
<Stream webcam.avi> |
| 55 |
Feed webcam.ffm |
| 56 |
Format avi |
| 57 |
VideoSize 320x240 |
| 58 |
StartSendOnKey
|
| 59 |
# video
|
| 60 |
PreRoll 0 |
| 61 |
VideoFrameRate 25 |
| 62 |
VideoBitRate 512K |
| 63 |
AVOptionVideo me_range 16 |
| 64 |
AVOptionVideo qdiff 4 |
| 65 |
AVOptionVideo qmin 2 |
| 66 |
AVOptionVideo qmax 51 |
| 67 |
AVOptionVideo b_pyramid normal |
| 68 |
AVOptionVideo flags +global_header |
| 69 |
NoAudio
|
| 70 |
PreRoll 0 |
| 71 |
</Stream>
|
| 72 |
|
| 73 |
<Stream stat.html> |
| 74 |
Format status |
| 75 |
# Only allow local people to get the status
|
| 76 |
ACL allow localhost |
| 77 |
</Stream>
|
| 78 |
|
- « Previous
- 1
- …
- 10
- 11
- 12
- Next »