Project

General

Profile

Feature #239 » ffserver.conf

ffserver configuration that provides three types of streams - Hammel, 25 Oct 2013 16:44

 
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 mpeg1video
17
    VideoBitRate 128
18
	VideoSize 320x240
19
    VideoFrameRate 10
20
	Preroll 0
21
	NoAudio
22
</Stream>
23

    
24
<Stream webcam.webm>
25
	Feed webcam.ffm
26
	Format webm
27
    VideoBitRate 128
28
	VideoSize 320x240
29
    VideoFrameRate 10
30
	Preroll 0
31
	NoAudio
32
</Stream>
33

    
34
<Stream webcam.flv>
35
	Feed webcam.ffm
36
	Format flv
37
    VideoBitRate 128
38
	VideoSize 320x240
39
    VideoFrameRate 10
40
	Preroll 0
41
	NoAudio
42
</Stream>
43

    
44
<Stream stat.html>
45
	Format status
46
	# Only allow local people to get the status
47
	ACL allow localhost
48
</Stream>
(1-1/12)