设备网络SDK开发使用手册 |
<?xml version="1.0" encoding="utf-8"?>
<!--req, 设备编码能力集描述 --> <AudioVideoCompressInfo> <AudioCompressInfo> <AudioEncodeType> <!-- req, 音频编码类型 --> <!-- req, 0:G722_1; 1:G711_MU; 2:G711_A; 3: G723; 4: MP1L2; 5 MP2L2; 99: RAW--> <Range>0,1,2,3,4,5,99</Range> </AudioEncodeType> <!-- req, 音频输入类型,0-mic in,1-line in--> <AudioInType> <Range>0</Range> </AudioInType> <VoiceTalkEncodeType> <!-- req, 语音对讲编码类型 --> <!-- req, 0:G722_1; 1:G711_MU; 2:G711_A; 3: G723;4: MP1L2;5 MP2L2;99: RAW--> <Range>0,1,2,3,4,5,99</Range> </VoiceTalkEncodeType> <!-- req, 语音对讲音频输入类型,0-mic in,1-line in--> <VoiceTalkInType> <Range>0</Range> </VoiceTalkInType> </AudioCompressInfo> <VideoCompressInfo> <ChannelList> <ChannelEntry> <ChannelNumber>1</ChannelNumber><!-- req, 通道--> <MainChannel> <VideoEncodeType> <!-- req, 0-Private 264;1-STD_H264;2-STD_MPEG4;7-STD_RTPMJPEG--> <Range>1,2</Range> </VideoEncodeType> <VideoEncodeEfficiency> <!-- req, 视频编码复杂度,0-低,1-中,2高--> <Range>0</Range> </VideoEncodeEfficiency> <VideoResolutionList> <!-- req, 分辨率列表 --> <VideoResolutionEntry> <Index>0</Index> <Name>DCIF</Name> <Resolution>528*384</Resolution><!-- req, DCIF --> </VideoResolutionEntry> <VideoResolutionEntry> <Index>1</Index> <Name>CIF</Name> <Resolution>352*288</Resolution><!-- req, CIF --> </VideoResolutionEntry> <VideoResolutionEntry> <Index>2</Index> <Name>QCIF</Name> <Resolution>176*144</Resolution><!-- req, QCIF --> </VideoResolutionEntry> <VideoResolutionEntry> <Index>3</Index> <Name>4CIF</Name> <Resolution>704*576</Resolution><!-- req, 4CIF --> </VideoResolutionEntry> <VideoResolutionEntry> <Index>4</Index> <Name>2CIF</Name> <Resolution>704*288</Resolution><!-- req, 2CIF --> </VideoResolutionEntry> <VideoResolutionEntry> <Index>5</Index> <Name>2CIF</Name> <Resolution>704*288</Resolution><!-- req, QQVGA --> </VideoResolutionEntry> <VideoResolutionEntry> <Index>6</Index> <Name>QVGA</Name> <Resolution>320*240</Resolution><!-- req, QVGA --> </VideoResolutionEntry> <VideoResolutionEntry> <Index>12</Index> <Name>384*288</Name> <Resolution>384*288</Resolution><!-- req, 384*288 --> </VideoResolutionEntry> <VideoResolutionEntry> <Index>15</Index> <Name>QUXGA</Name> <Resolution>400*300</Resolution><!-- req, QUXGA --> </VideoResolutionEntry> <VideoResolutionEntry> <Index>16</Index> <Name>VGA</Name> <Resolution>640*480</Resolution><!-- req, VGA --> </VideoResolutionEntry> <VideoResolutionEntry> <Index>17</Index> <Name>UXGA</Name> <Resolution>1600*1200</Resolution><!-- req, UXGA --> </VideoResolutionEntry> <VideoResolutionEntry> <Index>18</Index> <Name>SVGA</Name> <Resolution>800*600</Resolution><!-- req, SVGA --> </VideoResolutionEntry> <VideoResolutionEntry> <Index>19</Index> <Name>720P</Name> <Resolution>1280*720</Resolution><!-- req, 720P --> </VideoResolutionEntry> <VideoResolutionEntry> <Index>20</Index> <Name>XVGA</Name> <Resolution>1280*960</Resolution><!-- req, XVGA --> </VideoResolutionEntry> <VideoResolutionEntry> <Index>21</Index> <Name>HD900</Name> <Resolution>1600*912</Resolution><!-- req, HD900 --> </VideoResolutionEntry> <VideoResolutionEntry> <Index>27</Index> <Name>HD1080P</Name> <Resolution>1920*1080</Resolution><!-- req, 1080P --> </VideoResolutionEntry> <VideoResolutionEntry> <Index>30</Index> <Name>2048*1536</Name> <Resolution>2048*1536</Resolution><!-- req, 2048*1536 --> </VideoResolutionEntry> <VideoResolutionEntry> <Index>28</Index> <Name>2560*1920</Name> <Resolution>2560*1920</Resolution><!-- req, 2560*1920 --> </VideoResolutionEntry> </VideoResolutionList> <VideoFrameRate> <!-- req, 0-全帧率;1-1/16; 2-1/8; 3-1/4; 4-1/2; 5-1; 6-2; 7-4; 8-6 --> <!-- req, 9-8; 10-10; 11-12; 12-16; 13-20; 14-15; 15-18; 16-22 --> <Range>0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16</Range> </VideoFrameRate> <VideoBitrate><!-- req, 编码码率 --> <Min>16</Min><!-- req, 最小玛率(单位Kb) --> <Max>16384</Max><!-- req, 最大玛率(单位Kb) --> </VideoBitrate> <IntervalBPFrame> <Range>0,1,2</Range> <!-- req, 0-BBP帧; 1-BP帧;2单P帧 --> </IntervalBPFrame> <EFrame>0</EFrame><!-- req, E帧最大编码能力 --> </MainChannel> <SubChannelList> <SubChannelEntry> <index>1</index><!-- req, 子通道索引 --> <VideoEncodeType> <!-- req, 0:Private 264; 1: STD_H264; 2 :STD_MPEG4;7:STD_RTPMJPEG--> <Range>0,1,2,7</Range> </VideoEncodeType> <VideoEncodeEfficiency> <!-- req, 视频编码复杂度,0-低,1-中,2高--> <Range>0</Range> </VideoEncodeEfficiency> <VideoResolutionList> <VideoResolutionEntry> <Index>1</Index> <Name>CIF</Name> <Resolution>352*288</Resolution><!-- req, CIF--> </VideoResolutionEntry> <VideoResolutionEntry> <Index>2</Index> <Name>QCIF</Name> <Resolution>176*144</Resolution><!-- req, QCIF--> </VideoResolutionEntry> <VideoResolutionEntry> <Index>6</Index> <Name>QVGA</Name> <Resolution>320*240</Resolution><!-- req, QVGA--> </VideoResolutionEntry> </VideoResolutionList> <VideoFrameRate> <!-- req, 0-全部; 1-1/16; 2-1/8; 3-1/4; 4-1/2; 5-1; 6-2; 7-4; 8-6; 9-8; 10-10; 11-12; 12-16; 13-20; V2.0版本中新加14-15; 15-18; 16-22 --> <Range>0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16</Range> </VideoFrameRate> <VideoBitrate><!-- req, 编码码率--> <Min>16</Min><!-- req, 最小码率(单位Kb)--> <Max>16384</Max><!-- req, 最大码率(单位Kb)--> </VideoBitrate> <IntervalBPFrame> <!-- req, 0-BBP帧; 1-BP帧;2单P帧--> <Range>0,1,2</Range> </IntervalBPFrame> <EFrame>0</EFrame><!-- req, E帧最大编码能力--> </SubChannelEntry> </SubChannelList> </ChannelEntry> </ChannelList> </VideoCompressInfo> </AudioVideoCompressInfo> |