-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathffserver.conf
71 lines (59 loc) · 1.32 KB
/
ffserver.conf
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
Port 8080
RTSPPort 8090
BindAddress 0.0.0.0
RTSPBindAddress 0.0.0.0
<Feed feed1.ffm>
File /sdcard/Movies/feed1.ffm
FileMaxSize 100MB
ACL allow 127.0.0.1
</Feed>
<Stream test>
Feed feed1.ffm
#File /sdcard/Movies/test.mp4
Format mp4
AVOptionAudio flags +global_header
AudioBitRate 32
AudioChannels 1
AudioSampleRate 44100
AVOptionVideo flags +global_header
AVOptionVideo crf 23
AVOptionVideo preset medium
AVOptionVideo me_range 16
AVOptionVideo qdiff 4
AVOptionVideo qmin 1
AVOptionVideo qmax 30
Preroll 15
VideoBitRate 512
VideoBufferSize 40
VideoFrameRate 25
VideoBitRateTolerance 100
VideoGopSize 12
VideoCodec libx264
AVOptionVideo coder 0
AVOptionVideo bf 0
AVOptionVideo flags +loop
AVOptionVideo me_method hex
AVOptionVideo subq 7
AVOptionVideo me_range 16
AVOptionVideo g 250
AVOptionVideo keyint_min 10
AVOptionVideo sc_threshold 40
AVOptionVideo i_qfactor 0.71
AVOptionVideo b_strategy 1
AVOptionVideo qcomp 0.6
AVOptionVideo qmin 10
AVOptionVideo qmax 51
AVOptionVideo qdiff 4
AVOptionVideo refs 3
AVOptionVideo directpred 1
AVOptionVideo trellis 1
AVOptionVideo wpredp 0
AVOptionVideo flags +global_header
StartSendOnKey
</Stream>
<Stream status.html> # Server status URL
Format status
# Only allow local people to get the status
ACL allow localhost
ACL allow 192.168.0.0 192.168.255.255
</Stream>