Project

General

Profile

Feature #239 » ffserver.conf

ffserver configuration, with multiple output streams - Hammel, 02 Nov 2013 14:24

 
1
Port 8090
2
BindAddress 0.0.0.0
3
MaxHTTPConnections 2000
4
MaxClients 10
5
MaxBandwidth 100000
6
CustomLog -
7

    
8
<Feed webcam.ffm>
9
    File /tmp/webcam.ffm
10
    FileMaxSize 200K
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
    AVOptionVideo flags +global_header
19
    NoAudio
20
    PreRoll 0
21
</Stream>
22

    
23
<Stream webcam.flv>
24
    Feed webcam.ffm
25
    Format flv   
26
    VideoSize 320x240
27
    AVOptionVideo flags +global_header
28
    NoAudio
29
    PreRoll 0
30
</Stream>
31

    
32
<Stream webcam.avi>
33
    Feed webcam.ffm
34
    Format avi
35
    VideoSize 320x240
36
    AVOptionVideo flags +global_header
37
    NoAudio
38
    PreRoll 0
39
</Stream>
40

    
41
<Stream webcam.rtp>
42
    Feed webcam.ffm
43
    Format rtp
44
    VideoSize 320x240
45
    AVOptionVideo flags +global_header
46
    NoAudio
47
    PreRoll 0
48
</Stream>
49
            
50
<Stream stat.html>
51
    Format status
52
    # Only allow local people to get the status
53
    ACL allow localhost
54
</Stream>
55
                                                        
(9-9/12)