-
Notifications
You must be signed in to change notification settings - Fork 6
Expand file tree
/
Copy pathminimum.xml
More file actions
144 lines (130 loc) · 9.21 KB
/
minimum.xml
File metadata and controls
144 lines (130 loc) · 9.21 KB
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
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
<?xml version="1.0" encoding="utf-8" ?>
<pipeline>
<src>1</src> <!-- 0: use videotestsrc, 1: use v4l2src, 2: use filesrc -->
<!-- filesrc property settings, valid ONLY if filesrc enabled -->
<location>fhd.264</location>
<!-- v4l2src property settings, valid ONLY if v4l2src enabled -->
<!-- sensor id num -->
<v4l2src-sensor-id>3</v4l2src-sensor-id>
<<<<<<< HEAD
=======
<v4l2src-color-effect>0</v4l2src-color-effect>
>>>>>>> m1
<!-- device num -->
<v4l2src-device>/dev/video3</v4l2src-device>
<!-- v4l2src io-mode
2: mmap - GST_V4L2_IO_MMAP
4: dmabuf - GST_V4L2_IO_DMABUF
others: unsupported
-->
<v4l2src-io-mode>4</v4l2src-io-mode>
<enable-3a>1</enable-3a> <!-- 0:disable 3A for v4l2src, 1: enable -->
<capture-mode>1</capture-mode> <!-- 0:still, 1:video, 2:preview -->
<frame-rate>25</frame-rate> <!-- video framerate in fps -->
<run-time>0</run-time> <!-- video running time in second, 0: endless running -->
<jpeg-crop>0</jpeg-crop> <!-- 0: disable test of jpep crop, 1: enable test of jpeg crop -->
<jpeg-crop-offset-x>10</jpeg-crop-offset-x> <!-- 0: x offset of crop region -->
<jpeg-crop-offset-y>10</jpeg-crop-offset-y> <!-- 0: y offset of crop retion -->
<jpeg-crop-width>352</jpeg-crop-width> <!-- widht of crop region -->
<jpeg-crop-height>288</jpeg-crop-height> <!-- height of crop region -->
<smart-factor>0.25</smart-factor> <!-- scaledown factor for smart channel. valid range: [0.1, 1.0], < 0 to use smart-resolution -->
<!-- resolution of smart channel:
0: 176_100 - 176 x 100
1: 352_198 - 352 x 198
2: 480_270 - 480 x 270
3: 352_200 - 352 x 200
4: 480_272 - 480 x 272
5: cif - 352 x 288
6: d1 - 704 x 576
-->
<smart-resolution>0</smart-resolution>
<enable-facedetect>0</enable-facedetect> <!-- 0:disable facedetect, 1:enable facedetect -->
<facedetect-mode>0</facedetect-mode> <!-- 0:opencv mode, 1:skin detect mode -->
<enable-getfacepic>0</enable-getfacepic> <!-- 0:disable getfacepic, 1:enable getfacepic -->
<enable-facerecognise>0</enable-facerecognise> <!-- 0:disable facerecognise, 1:enable facerecognise -->
<enable-lumagain-threshold>0</enable-lumagain-threshold> <!-- 0:disable lumagain_threshold, 1:enable lumagain_threshold -->
<lumagain-threshold-value>100</lumagain-threshold-value> <!-- lumagain-threshold-value -->
<enable-autohdr>0</enable-autohdr> <!-- 0:disable autohdr. 1:enable-autohdr -->
<autohdr-mode>0</autohdr-mode> <!-- 0:disable. 1:drak mode. 2:mid mode. 3.white mode -->
<enable-hdr-custom>0</enable-hdr-custom> <!-- 0:disable hdr-custom. 1:enable hdr-custom -->
<enable-hdr-custom-rgb>0</enable-hdr-custom-rgb> <!-- 0:disable hdr-custom-rgb. 1:enable hdr-custom-rgb -->
<rotation>0</rotation> <!-- 1: don't rotate 2: 90-degree 3: 180-degree 4:270-degree -->
<flip>0</flip> <!-- 0: don't flip 1: flip horizontal 2: flip vertically -->
<enable-mask>0</enable-mask> <!-- 0: disable masking sample code, 1: enable masking sample code -->
<enable-wireframe>0</enable-wireframe> <!-- 0: disable wireframe sample code, 1: enable wireframe sample code-->
<test-osd>1</test-osd> <!-- 0: disable osd sample code, 1: enable osd sample code-->
<test-toggle-channel>0</test-toggle-channel> <!-- 0: disable testing toggle channel, 1: enable testing toggle channel-->
<luma-gain>100</luma-gain> <!-- percent unit. 50:half luminance, 200: double luminance -->
<jpeg-out-mode>0</jpeg-out-mode> <!-- 0: save jpeg into output buffer, 1: save jpeg into files -->
<jpeg-interval>1</jpeg-interval> <!-- 1: do jpeg encode every frame, 2: do jpeg encode every 2 frames -->
<enable-qos>1</enable-qos> <!-- 0: don't throttle jpeg encoding 1: throttle jpeg encoding when pipeline queue is full, -->
<warning-level>3</warning-level> <!-- once the load-watcher queue or encode queue have warning-level buffers queued, qos starts to work -->
<smart-control>0</smart-control> <!-- 0: always push 1080p buffer regardless the result of smart analysis
1: the result of smart analysis determine whether to push a 1080p buffer -->
<dvs-offset-x>0</dvs-offset-x> <!-- set video global offset for x axis, >0: move right, ==0: no offset, <0: move left -->
<dvs-offset-y>0</dvs-offset-y> <!-- set video global offset for y axis >0: move down, ==0: no offset, <0: move up -->
<channel id="0" enable="1"> <!-- channel_0 1080p-->
<!-- encoder properties
rate-control - rate control mode (1: cqp, 2: cbr, 4:vbr, 5:vbr_constrained)
bitrate - desired bitrate in kbps, 0: auto
enable-cabac - 0: disable CABAC mode, 1: enable CABAC mode
mv - 0: none 1: 16x16 MV 2: 4x4 MV
gop-m - frames between two I-frames
gop-n - B frames between two P-frames (0 - 10), 0: no B frames
profile - max accepted profile 0:baseline 1:main 2:high
-->
<encoder enable="1" rate-control="2" bitrate="0" enable-cabac="1" enable-dct8x8="0" mv="1" gop-m="30" gop-n="0" profile="2" />
<sink-type>0</sink-type> <!-- 0: use FAKE_SINK 1: use FILE_SINK 2: use tcpclientsink, 3: use vaapisink for localpreview, 4: use rtsp, others: TODO (V4L2, UDP...) -->
<host-ip>10.239.37.8</host-ip> <!-- host ip for tcpclientsink -->
<port>3000</port> <!-- port for tcpclientsink -->
</channel>
<channel id="1" enable="0"> <!-- channel_1 jpeg-->
</channel>
<channel id="2" enable="0"> <!-- channel_2 720p-->
<encoder enable="1" rate-control="2" bitrate="0" enable-cabac="1" enable-dct8x8="0" mv="1" gop-m="30" gop-n="0" profile="2" />
<sink-type>1</sink-type>
<host-ip>10.239.37.8</host-ip> <!-- host ip for tcpclientsink -->
<port>3000</port> <!-- port for tcpclientsink -->
</channel>
<channel id="3" enable="0"> <!-- channel_3 D1-->
<encoder enable="1" rate-control="2" bitrate="0" enable-cabac="1" enable-dct8x8="0" mv="1" gop-m="30" gop-n="0" profile="2" />
<sink-type>0</sink-type>
<host-ip>10.239.37.8</host-ip> <!-- host ip for tcpclientsink -->
<port>3001</port> <!-- port for tcpclientsink -->
</channel>
<channel id="4" enable="0"> <!-- channel_4 CIF-->
<encoder enable="1" rate-control="2" bitrate="0" enable-cabac="1" enable-dct8x8="0" mv="1" gop-m="30" gop-n="0" profile="2" />
<sink-type>0</sink-type>
<host-ip>10.239.37.8</host-ip> <!-- host ip for tcpclientsink -->
<port>3002</port> <!-- port for tcpclientsink -->
</channel>
<channel id="5" enable="0"> <!-- channel_5 480x270-->
<encoder enable="1" rate-control="2" bitrate="0" enable-cabac="1" enable-dct8x8="0" mv="1" gop-m="30" gop-n="0" profile="2" />
<sink-type>1</sink-type>
<host-ip>10.239.37.8</host-ip> <!-- host ip for tcpclientsink -->
<port>3000</port> <!-- port for tcpclientsink -->
</channel>
<channel id="6" enable="0"> <!-- channel_6 352x198-->
<encoder enable="1" rate-control="2" bitrate="0" enable-cabac="1" enable-dct8x8="0" mv="1" gop-m="30" gop-n="0" profile="2" />
<sink-type>1</sink-type>
<host-ip>10.239.37.8</host-ip> <!-- host ip for tcpclientsink -->
<port>3000</port> <!-- port for tcpclientsink -->
</channel>
<channel id="7" enable="0"> <!-- channel_7 480x272-->
<encoder enable="1" rate-control="2" bitrate="0" enable-cabac="1" enable-dct8x8="0" mv="1" gop-m="30" gop-n="0" profile="2" />
<sink-type>1</sink-type>
<host-ip>10.239.37.8</host-ip> <!-- host ip for tcpclientsink -->
<port>3000</port> <!-- port for tcpclientsink -->
</channel>
<channel id="8" enable="0"> <!-- channel_8 352x200-->
<encoder enable="1" rate-control="2" bitrate="0" enable-cabac="1" enable-dct8x8="0" mv="1" gop-m="30" gop-n="0" profile="2" />
<sink-type>1</sink-type>
<host-ip>10.239.37.8</host-ip> <!-- host ip for tcpclientsink -->
<port>3000</port> <!-- port for tcpclientsink -->
</channel>
<!-- smart channel, set node smart-resolution to specify resolution-->
<channel id="9" enable="0">
<encoder enable="0" rate-control="2" bitrate="0" enable-cabac="1" enable-dct8x8="0" mv="0" gop-m="30" gop-n="0" profile="2" />
<sink-type>0</sink-type>
</channel>
</pipeline>