Ticket #228: ffserver1.conf

File ffserver1.conf, 1.1 KB (added by burek, 6 years ago)
Line 
1Port 8090
2BindAddress 0.0.0.0
3MaxHTTPConnections 200
4MaxClients 100
5MaxBandwidth 100000
6CustomLog -
7NoDaemon
8
9<Feed feed1.ffm>
10        File /tmp/feed1.ffm
11        FileMaxSize 50M
12        ACL allow 127.0.0.1
13</Feed>
14
15<Stream status.html>
16        Format status
17        # Only allow local people to get the status
18        ACL allow localhost
19        ACL allow 192.168.0.0 192.168.255.255
20</Stream>
21
22<Stream live.flv>
23        Format flv
24        Feed feed1.ffm
25
26        VideoCodec libx264
27        VideoFrameRate 30
28        VideoBitRate 200k
29        VideoSize qvga
30        AVOptionVideo flags +global_header
31        AVOptionVideo threads 0
32
33        #NoAudio
34        AudioCodec libfaac
35        AudioBitRate 32k
36        AudioChannels 2
37        AudioSampleRate 44100
38        #AVPresetVideo default
39        AVPresetVideo baseline
40        AVOptionAudio flags +global_header
41</Stream>
42
43<Stream live.rtp>
44        Format rtp
45        Feed feed1.ffm
46
47        RTSPPort 5004
48        RTSPBindAddress 0.0.0.0
49
50        VideoCodec libx264
51        VideoFrameRate 30
52        VideoBitRate 200k
53        VideoSize qvga
54        AVOptionVideo flags +global_header
55        AVOptionVideo threads 0
56
57        #NoAudio
58        AudioCodec libfaac
59        AudioBitRate 32k
60        AudioChannels 2
61        AudioSampleRate 44100
62        AVOptionAudio flags +global_header
63</Stream>