Visual Encoder0 Configuration
Child elements of VisualEncoder0 root element
XML elements |
Attributes |
Content |
Number of occurrences |
Description |
Verbose/VB |
Immediate |
EMPTY |
0/1 |
Syntax that the driver uses to generate this XML file. By default, the driver uses the verbose syntax. |
Active/ACT |
Immediate |
EMPTY |
0/1 |
Controls the visual encoder operation. |
Decimation/D |
Immediate |
PCDATA |
0/1 |
Frame rate decimation control. 1 frame is captured every N frames. N is ranging from 1 to 150. Default value: 1. |
ConstantPictureQuality/CPQ |
Immediate |
Elements |
0/1 |
Bit rate control method of the H.264 encoder. The default method is: constant picture quality. |
GOPSize/GS |
|
PCDATA |
0/1 |
Number of encoded frames per group of pictures. |
Scaling4CIF/S4CIF |
|
EMPTY |
0/1 |
Selects the resolution of the encoded image. The default resolution is 4CIF. |
SizeX/SX |
ReadOnly |
PCDATA |
0/1 |
Width of the encoded image, expressed in pixels. |
SizeY/SY |
ReadOnly |
PCDATA |
0/1 |
Height of the encoded image, expressed in pixels. |
BufferSize/BS |
|
PCDATA |
0/1 |
Size, expressed in bytes, of one encoded video buffer. Default value: 204,800 (200 kB). |
BufferCount/BC |
|
PCDATA |
0/1 |
Number of encoded video buffers. Default value: 3. |
BufferOffset/BO |
|
PCDATA |
0/1 |
Address offset of the first data. Default value: 0. |
Child elements of ConstantPictureQuality element
XML elements |
Attributes |
Content |
Number of occurrences |
Description |
Quality/Q |
Immediate |
PCDATA |
1 |
Quality level of the encoded picture. Value range: 1 to 100. Default value: 30. |
MaximumKBitRate/MBR |
Immediate |
PCDATA |
1 |
Maximum bit rate setting of the H.264 encoder Default value: 4000. |
Child elements of VariableBitRate element
XML elements |
Attributes |
Content |
Number of occurrences |
Description |
MaximumKBitRate/MBR |
Immediate |
PCDATA |
1 |
Maximum bit rate setting of the H.264 encoder. Default value: 4000. |
AverageKBitRate/ABR |
Immediate |
PCDATA |
1 |
Average bit rate setting of the H.264 encoder. Default value: 2000. |
Child elements of ConstantBitRate element
XML elements |
Attributes |
Content |
Number of occurrences |
Description |
MaximumKBitRate/MBR |
Immediate |
PCDATA |
1 |
Maximum bit rate setting of the H.264 encoder. Default value: 4000. |
XML File Example
<root> /visual/source*/encoder0/config.xml Read operation Verbose mode
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE VisualEncoder0 SYSTEM "config.dtd">
<VisualEncoder0 version="1.0">
<Verbose Immediate="true"/>
<Idle Immediate="true"/>
<Decimation Immediate="true">1</Decimation>
<ConstantPictureQuality Immediate="true">
<Quality Immediate="true">30</Quality>
<MaximumKBitRate Immediate="true">2000</MaximumKBitRate>
</ConstantPictureQuality>
<GOPSize>30</GOPSize>
<Scaling4CIF/>
<SizeX ReadOnly="true">704</SizeX>
<SizeY ReadOnly="true">576</SizeY>
<BufferSize>204800</BufferSize>
<BufferCount>10</BufferCount>
<BufferOffset>0</BufferOffset>
</VisualEncoder0>