# qtismartvencbin

Source: [https://docs.qualcomm.com/doc/80-70022-50SC/topic/qtismartvencbin.html](https://docs.qualcomm.com/doc/80-70022-50SC/topic/qtismartvencbin.html)

qtismartvencbin 插件使用机器学习和计算机视觉来减少视频带宽。它可用于仅有小图像区域在运动的监视。可以根据质量要求配置码率降低。

qtismartvencbin 插件可实现以下功能：

- 一个包含视频编码器并集成了机器视觉 API 的 GStreamer bin。
- 后处理的人员检测结果来自机器学习 pipeline。

Figure : qtismartvencbin 架构
            
            <!--?xml version="1.0" encoding="UTF-8" standalone="no"?-->

<!-- Generated by Microsoft Visio, SVG Export qtismartvencbin_architecture.svg Layer_1 -->
<svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" xmlns:ev="http://www.w3.org/2001/xml-events" xmlns:v="http://schemas.microsoft.com/visio/2003/SVGExtensions/" width="9.58333in" height="6in" viewbox="0 0 690 432" xml:space="preserve" color-interpolation-filters="sRGB" class="st23"><v:documentproperties v:langid="1033" v:viewmarkup="false"></v:documentproperties>
<style>.svg-1 .st1 { fill: #fafafa; stroke: none; stroke-linecap: butt; stroke-width: 0.75 }
.svg-1 .st2 { fill: #d2d7e1; stroke: none; stroke-linecap: butt; stroke-width: 0.75 }
.svg-1 .st3 { fill: #2a2aea; stroke: none; stroke-linecap: butt; stroke-width: 0.75 }
.svg-1 .st4 { fill: #ffffff; font-family: Roboto; font-size: 1.00001em }
.svg-1 .st5 { fill: #007884; stroke: none; stroke-linecap: butt; stroke-width: 0.75 }
.svg-1 .st6 { fill: #ffffff; font-family: SimHei; font-size: 1.00001em }
.svg-1 .st7 { fill: none; stroke: none; stroke-linecap: butt; stroke-width: 0.75 }
.svg-1 .st8 { fill: #000000; font-family: SimHei; font-size: 1.00001em }
.svg-1 .st9 { fill: #000000; font-family: Roboto; font-size: 1.00001em }
.svg-1 .st10 { font-family: SimHei; font-size: 1em }
.svg-1 .st11 { fill: none; stroke: #231f20; stroke-linecap: butt; stroke-width: 1.5 }
.svg-1 .st12 { fill: #000000; font-family: Roboto; font-size: 1.00001em; font-weight: bold }
.svg-1 .st13 { font-family: Roboto; font-size: 1em }
.svg-1 .st14 { fill: none; stroke: #2a2aea; stroke-linecap: butt; stroke-width: 1.5 }
.svg-1 .st15 { stroke: #000000; stroke-linecap: butt; stroke-width: 0.75 }
.svg-1 .st16 { fill: #000000; stroke: none; stroke-linecap: butt; stroke-width: 0.75 }
.svg-1 .st17 { stroke: #ffffff; stroke-linecap: butt; stroke-width: 2.25 }
.svg-1 .st18 { stroke: #ffffff; stroke-linecap: butt; stroke-width: 3 }
.svg-1 .st19 { fill: none }
.svg-1 .st20 { fill: #000000; font-family: Roboto; font-size: 0.874992em }
.svg-1 .st21 { fill: none; stroke: #2a2aea; stroke-linecap: butt; stroke-width: 1.125 }
.svg-1 .st22 { fill: #000000; font-family: SimHei; font-size: 0.874992em }
.svg-1 .st23 { fill: none; fill-rule: evenodd; font-size: 12px; overflow: visible; stroke-linecap: square; stroke-miterlimit: 3 }</style>
<g v:mid="0" v:index="1" v:groupcontext="foregroundPage">	<title>Layer_1</title>	<v:pageproperties v:drawingscale="1" v:pagescale="1" v:drawingunits="19" v:shadowoffsetx="9" v:shadowoffsety="-9"></v:pageproperties>	<g id="shape2-1" v:mid="2" v:groupcontext="shape" transform="translate(0.375183,-0.375)">		<title>Sheet.2</title>		<path d="M0 426.37 A5.62513 5.62513 -180 0 0 5.63 432 L683.63 432 A5.62513 5.62513 -180 0 0 689.25 426.37 L689.25 6.37					 A5.62513 5.62513 -180 0 0 683.63 0.75 L5.62 0.75 A5.62513 5.62513 -180 0 0 -0 6.37 L0 426.37 Z" class="st1"></path>	</g>	<g id="shape3-3" v:mid="3" v:groupcontext="shape">		<title>Sheet.3</title>		<path d="M684 0.75 C686.89 0.75 689.25 3.11 689.25 6 L689.25 426 C689.25 428.89 686.89 431.25 684 431.25 L6 431.25 C3.11					 431.25 0.75 428.89 0.75 426 L0.75 6 C0.75 3.11 3.11 0.75 6 0.75 L684 0.75 ZM684 0 L6 0 C2.69 0 0 2.69 0					 6 L0 426 C0 429.31 2.69 432 6 432 L684 432 C687.31 432 690 429.31 690 426 L690 6 C690 2.69 687.31 0 684					 0 Z" class="st2"></path>	</g>	<g id="shape6-5" v:mid="6" v:groupcontext="shape" transform="translate(14.4493,-165.328)">		<title>Sheet.6</title>		<desc>qtiqmmfsrc</desc>		<v:textblock v:margins="rect(0,0,0,0)"></v:textblock>		<v:textrect cx="52.5" cy="409.5" width="105" height="45"></v:textrect>		<path d="M0 429 A3.00007 3.00007 -180 0 0 3 432 L102 432 A3.00007 3.00007 -180 0 0 105 429 L105 390 A3.00007 3.00007					 -180 0 0 102 387 L3 387 A3.00007 3.00007 -180 0 0 -0 390 L0 429 Z" class="st3"></path>		<text x="21.4" y="413.1" class="st4" v:langid="1033"><v:paragraph v:horizalign="1"></v:paragraph><v:tablist></v:tablist>qtiqmmfsrc</text>		</g>	<g id="shape9-8" v:mid="9" v:groupcontext="shape" transform="translate(142.46,-165.328)">		<title>Sheet.9</title>		<desc>tee</desc>		<v:textblock v:margins="rect(0,0,0,0)"></v:textblock>		<v:textrect cx="52.5" cy="409.5" width="105" height="45"></v:textrect>		<path d="M0 429 A3.00007 3.00007 -180 0 0 3 432 L102 432 A3.00007 3.00007 -180 0 0 105 429 L105 390 A3.00007 3.00007					 -180 0 0 102 387 L3 387 A3.00007 3.00007 -180 0 0 -0 390 L0 429 Z" class="st5"></path>		<text x="44.18" y="413.1" class="st4" v:langid="1033"><v:paragraph v:horizalign="1"></v:paragraph><v:tablist></v:tablist>tee</text>		</g>	<g id="shape12-11" v:mid="12" v:groupcontext="shape" transform="translate(570.551,-176.686)">		<title>Sheet.12</title>		<desc>编码视频</desc>		<v:textblock v:margins="rect(0,0,0,0)"></v:textblock>		<v:textrect cx="52.5" cy="409.5" width="105" height="45"></v:textrect>		<path d="M0 429 A3.00007 3.00007 -180 0 0 3 432 L102 432 A3.00007 3.00007 -180 0 0 105 429 L105 390 A3.00007 3.00007					 -180 0 0 102 387 L3 387 A3.00007 3.00007 -180 0 0 -0 390 L0 429 Z" class="st5"></path>		<text x="28.5" y="413.49" class="st6" v:langid="1033"><v:paragraph v:horizalign="1"></v:paragraph><v:tablist></v:tablist>编码视频</text>		</g>	<g id="shape14-14" v:mid="14" v:groupcontext="shape" transform="translate(284.96,-372.312)">		<title>Sheet.14</title>		<desc>应用程序</desc>		<v:textblock v:margins="rect(0,0,0,0)"></v:textblock>		<v:textrect cx="52.5" cy="409.5" width="105" height="45"></v:textrect>		<path d="M0 429 A3.00007 3.00007 -180 0 0 3 432 L102 432 A3.00007 3.00007 -180 0 0 105 429 L105 390 A3.00007 3.00007					 -180 0 0 102 387 L3 387 A3.00007 3.00007 -180 0 0 -0 390 L0 429 Z" class="st5"></path>		<text x="28.5" y="413.49" class="st6" v:langid="1033"><v:paragraph v:horizalign="1"></v:paragraph><v:tablist></v:tablist>应用程序</text>		</g>	<g id="shape16-17" v:mid="16" v:groupcontext="shape" transform="translate(265.486,-315.734)">		<title>Sheet.16</title>		<desc>可配置参数</desc>		<v:textblock v:margins="rect(0,0,0,0)"></v:textblock>		<v:textrect cx="33.757" cy="424.8" width="67.52" height="14.4"></v:textrect>		<rect x="0" y="417.6" width="67.514" height="14.4" class="st7"></rect>		<text x="7.51" y="428.79" class="st8" v:langid="1033"><v:paragraph v:horizalign="2"></v:paragraph><v:tablist></v:tablist>可配置参数</text>		</g>	<g id="shape17-20" v:mid="17" v:groupcontext="shape" transform="translate(107.078,-234)">		<title>Sheet.17</title>		<desc>YUV 全分辨率 1080p 或更高</desc>		<v:textblock v:margins="rect(0,0,0,0)"></v:textblock>		<v:textrect cx="87.8818" cy="415.597" width="175.77" height="32.806"></v:textrect>		<rect x="0" y="399.194" width="175.764" height="32.806" class="st7"></rect>		<text x="51.08" y="411.6" class="st9" v:langid="1033"><v:paragraph v:horizalign="1"></v:paragraph><v:tablist></v:tablist>YUV <tspan class="st10">全分辨率<v:newlinechar></v:newlinechar></tspan><tspan x="39.55" dy="1.331em" class="st10">（</tspan>1080p <tspan class="st10">或更高</tspan><tspan class="st10">）</tspan></text>		</g>	<g id="shape18-27" v:mid="18" v:groupcontext="shape" transform="translate(258.71,-171)">		<title>Sheet.18</title>		<desc>YUV 低分辨率 1080p 或更低</desc>		<v:textblock v:margins="rect(0,0,0,0)"></v:textblock>		<v:textrect cx="78.75" cy="416.003" width="157.5" height="31.993"></v:textrect>		<rect x="0" y="400.007" width="157.5" height="31.993" class="st7"></rect>		<text x="41.95" y="412.01" class="st9" v:langid="1033"><v:paragraph v:horizalign="1"></v:paragraph><v:tablist></v:tablist>YUV <tspan class="st10">低分辨率<v:newlinechar></v:newlinechar></tspan><tspan x="30.42" dy="1.331em" class="st10">（</tspan>1080p <tspan class="st10">或更低</tspan><tspan class="st10">）</tspan></text>		</g>	<g id="shape20-34" v:mid="20" v:groupcontext="shape" transform="translate(142.46,-56.6875)">		<title>Sheet.20</title>		<desc>预处理</desc>		<v:textblock v:margins="rect(0,0,0,0)"></v:textblock>		<v:textrect cx="52.5" cy="413.25" width="105" height="37.5"></v:textrect>		<path d="M0 429 A3.00007 3.00007 -180 0 0 3 432 L102 432 A3.00007 3.00007 -180 0 0 105 429 L105 397.5 A3.00007 3.00007					 -180 0 0 102 394.5 L3 394.5 A3.00007 3.00007 -180 0 0 0 397.5 L0 429 Z" class="st5"></path>		<text x="34.5" y="417.24" class="st6" v:langid="1033"><v:paragraph v:horizalign="1"></v:paragraph><v:tablist></v:tablist>预处理</text>		</g>	<g id="shape23-37" v:mid="23" v:groupcontext="shape" transform="translate(284.96,-56.6875)">		<title>Sheet.23</title>		<desc>推理</desc>		<v:textblock v:margins="rect(0,0,0,0)"></v:textblock>		<v:textrect cx="52.5" cy="413.25" width="105" height="37.5"></v:textrect>		<path d="M0 429 A3.00007 3.00007 -180 0 0 3 432 L102 432 A3.00007 3.00007 -180 0 0 105 429 L105 397.5 A3.00007 3.00007					 -180 0 0 102 394.5 L3 394.5 A3.00007 3.00007 -180 0 0 0 397.5 L0 429 Z" class="st5"></path>		<text x="40.5" y="417.24" class="st6" v:langid="1033"><v:paragraph v:horizalign="1"></v:paragraph><v:tablist></v:tablist>推理</text>		</g>	<g id="shape26-40" v:mid="26" v:groupcontext="shape" transform="translate(427.46,-56.6875)">		<title>Sheet.26</title>		<desc>后处理</desc>		<v:textblock v:margins="rect(0,0,0,0)"></v:textblock>		<v:textrect cx="52.5" cy="413.25" width="105" height="37.5"></v:textrect>		<path d="M0 429 A3.00007 3.00007 -180 0 0 3 432 L102 432 A3.00007 3.00007 -180 0 0 105 429 L105 397.5 A3.00007 3.00007					 -180 0 0 102 394.5 L3 394.5 A3.00007 3.00007 -180 0 0 0 397.5 L0 429 Z" class="st5"></path>		<text x="34.5" y="417.24" class="st6" v:langid="1033"><v:paragraph v:horizalign="1"></v:paragraph><v:tablist></v:tablist>后处理</text>		</g>	<g id="shape28-43" v:mid="28" v:groupcontext="shape" transform="translate(127.46,-41.6875)">		<title>Sheet.28</title>		<desc>AI pipeline</desc>		<v:textblock v:margins="rect(7.2,0,0,0)" v:verticalalign="0"></v:textblock>		<v:textrect cx="210" cy="390.75" width="420.01" height="82.5"></v:textrect>		<path d="M-0 426 A6.00014 6.00014 -180 0 0 6 432 L414 432 A6.00014 6.00014 -180 0 0 420 426 L420 355.5 A6.00014 6.00014					 -180 0 0 414 349.5 L6 349.5 A6.00014 6.00014 -180 0 0 -0 355.5 L0 426 Z" class="st11"></path>		<text x="181.34" y="367.5" class="st12" v:langid="1033"><v:paragraph v:horizalign="1"></v:paragraph><v:tablist></v:tablist>AI pipeline</text>		</g>	<g id="shape32-46" v:mid="32" v:groupcontext="shape" transform="translate(419.96,-176.578)">		<title>Sheet.32</title>		<desc>视频控制库</desc>		<v:textblock v:margins="rect(0,0,0,0)"></v:textblock>		<v:textrect cx="60" cy="409.5" width="120" height="45"></v:textrect>		<path d="M0 429 A3.00007 3.00007 -180 0 0 3 432 L117 432 A3.00007 3.00007 -180 0 0 120 429 L120 390 A3.00007 3.00007					 -180 0 0 117 387 L3 387 A3.00007 3.00007 -180 0 0 0 390 L0 429 Z" class="st5"></path>		<text x="18" y="413.49" class="st6" v:langid="1033"><v:paragraph v:horizalign="1"></v:paragraph><v:tablist></v:tablist>视频控制（库）</text>		</g>	<g id="shape35-49" v:mid="35" v:groupcontext="shape" transform="translate(419.96,-239.805)">		<title>Sheet.35</title>		<desc>视频编码插件 (qtic2venc)</desc>		<v:textblock v:margins="rect(0,0,0,0)"></v:textblock>		<v:textrect cx="60" cy="409.5" width="120.01" height="45"></v:textrect>		<path d="M0 429 A3.00007 3.00007 -180 0 0 3 432 L117 432 A3.00007 3.00007 -180 0 0 120 429 L120 390 A3.00007 3.00007					 -180 0 0 117 387 L3 387 A3.00007 3.00007 -180 0 0 0 390 L0 429 Z" class="st5"></path>		<text x="24" y="406.29" class="st6" v:langid="1033"><v:paragraph v:horizalign="1"></v:paragraph><v:tablist></v:tablist>视频编码插件<tspan class="st13"> </tspan><tspan x="29.99" dy="1.233em" class="st13">(qtic2venc)</tspan></text>		</g>	<g id="shape37-54" v:mid="37" v:groupcontext="shape" transform="translate(404.96,-161.565)">		<title>Sheet.37</title>		<desc>qtismartvencbin</desc>		<v:textblock v:margins="rect(7.2,0,0,0)" v:verticalalign="0"></v:textblock>		<v:textrect cx="75" cy="341.251" width="150" height="181.497"></v:textrect>		<path d="M0 426 A6.00014 6.00014 -180 0 0 6 432 L144 432 A6.00014 6.00014 -180 0 0 150 426 L150 256.5 A6.00014 6.00014					 -180 0 0 144 250.5 L6 250.5 A6.00014 6.00014 -180 0 0 -0 256.5 L0 426 Z" class="st14"></path>		<text x="31.19" y="268.5" class="st12" v:langid="1033"><v:paragraph v:horizalign="1"></v:paragraph><v:tablist></v:tablist>qtismartvencbin</text>		</g>	<g id="shape39-57" v:mid="39" v:groupcontext="shape" transform="translate(421.46,-286.546)">		<title>Sheet.39</title>		<desc>智能参数</desc>		<v:textblock v:margins="rect(0,0,0,0)"></v:textblock>		<v:textrect cx="58.5" cy="424.8" width="117" height="14.4"></v:textrect>		<rect x="0" y="417.6" width="117" height="14.4" class="st7"></rect>		<text x="34.5" y="428.79" class="st8" v:langid="1033"><v:paragraph v:horizalign="1"></v:paragraph><v:tablist></v:tablist>智能参数</text>		</g>	<g id="shape41-60" v:mid="41" v:groupcontext="shape" transform="translate(47.9595,210.422) rotate(-90)">		<title>Sheet.41</title>		<path d="M0 432 L13.91 432" class="st15"></path>	</g>	<g id="shape42-63" v:mid="42" v:groupcontext="shape" transform="translate(476.968,-234.617)">		<title>Sheet.42</title>		<path d="M5.98 432 L2.99 426.82 L0 432 L5.98 432 Z" class="st16"></path>	</g>	<g id="shape44-65" v:mid="44" v:groupcontext="shape" transform="translate(247.835,-75.4375)">		<title>Sheet.44</title>		<path d="M0 432 L32.44 432" class="st15"></path>	</g>	<g id="shape45-68" v:mid="45" v:groupcontext="shape" transform="translate(279.403,-72.4457)">		<title>Sheet.45</title>		<path d="M0 432 L5.18 429.01 L0 426.02 L0 432 Z" class="st16"></path>	</g>	<g id="shape47-70" v:mid="47" v:groupcontext="shape" transform="translate(390.71,-75.4375)">		<title>Sheet.47</title>		<path d="M0 432 L32.44 432" class="st15"></path>	</g>	<g id="shape48-73" v:mid="48" v:groupcontext="shape" transform="translate(422.278,-72.4457)">		<title>Sheet.48</title>		<path d="M0 432 L5.18 429.01 L0 426.02 L0 432 Z" class="st16"></path>	</g>	<g id="shape50-75" v:mid="50" v:groupcontext="shape" transform="translate(539.96,-199.186)">		<title>Sheet.50</title>		<path d="M0 432 L30 432" class="st17"></path>	</g>	<g id="shape52-78" v:mid="52" v:groupcontext="shape" transform="translate(539.96,-199.186)">		<title>Sheet.52</title>		<path d="M0 432 L25.69 432" class="st15"></path>	</g>	<g id="shape53-81" v:mid="53" v:groupcontext="shape" transform="translate(564.778,-196.194)">		<title>Sheet.53</title>		<path d="M0 432 L5.18 429.01 L0 426.02 L0 432 Z" class="st16"></path>	</g>	<g id="shape55-83" v:mid="55" v:groupcontext="shape" transform="translate(47.9595,336.693) rotate(-90)">		<title>Sheet.55</title>		<path d="M0 432 L64.24 432" class="st18"></path>	</g>	<g id="shape57-86" v:mid="57" v:groupcontext="shape" transform="translate(47.9595,336.693) rotate(-90)">		<title>Sheet.57</title>		<path d="M0 432 L59.94 432" class="st15"></path>	</g>	<g id="shape58-89" v:mid="58" v:groupcontext="shape" transform="translate(476.968,-154.367)">		<title>Sheet.58</title>		<path d="M5.98 432 L2.99 426.82 L0 432 L5.98 432 Z" class="st16"></path>	</g>	<g id="shape60-91" v:mid="60" v:groupcontext="shape" transform="translate(-237.04,336.693) rotate(-90)">		<title>Sheet.60</title>		<path d="M0 432 L69.86 432" class="st18"></path>	</g>	<g id="shape62-94" v:mid="62" v:groupcontext="shape" transform="translate(-237.04,336.693) rotate(-90)">		<title>Sheet.62</title>		<path d="M0 432 L65.56 432" class="st15"></path>	</g>	<g id="shape63-97" v:mid="63" v:groupcontext="shape" transform="translate(191.968,-159.988)">		<title>Sheet.63</title>		<path d="M5.98 432 L2.99 426.82 L0 432 L5.98 432 Z" class="st16"></path>	</g>	<g id="shape65-99" v:mid="65" v:groupcontext="shape" transform="translate(119.449,-187.828)">		<title>Sheet.65</title>		<path d="M0 432 L18.19 432" class="st15"></path>	</g>	<g id="shape66-102" v:mid="66" v:groupcontext="shape" transform="translate(136.768,-184.836)">		<title>Sheet.66</title>		<path d="M0 432 L5.18 429.01 L0 426.02 L0 432 Z" class="st16"></path>	</g>	<g id="shape68-104" v:mid="68" v:groupcontext="shape" transform="translate(247.696,-187.828)">		<title>Sheet.68</title>		<path d="M0 432 L171.1 432" class="st17"></path>	</g>	<g id="shape70-107" v:mid="70" v:groupcontext="shape" transform="translate(247.696,-187.828)">		<title>Sheet.70</title>		<path d="M0 432 L166.8 432" class="st15"></path>	</g>	<g id="shape71-110" v:mid="71" v:groupcontext="shape" transform="translate(413.616,-184.836)">		<title>Sheet.71</title>		<path d="M0 432 L5.18 429.01 L0 426.02 L0 432 Z" class="st16"></path>	</g>	<g id="shape73-112" v:mid="73" v:groupcontext="shape" transform="translate(66.9493,-210.328)">		<title>Sheet.73</title>		<path d="M0 432 L0 391.27 L352.26 391.27 L0 432 Z" class="st19"></path>		<path d="M0 432 L0 391.27 L352.26 391.27" class="st17"></path>	</g>	<g id="shape75-115" v:mid="75" v:groupcontext="shape" transform="translate(66.9493,-210.328)">		<title>Sheet.75</title>		<path d="M0 432 L0 391.27 L347.95 391.27 L0 432 Z" class="st19"></path>		<path d="M0 432 L0 391.27 L347.95 391.27" class="st15"></path>	</g>	<g id="shape76-118" v:mid="76" v:groupcontext="shape" transform="translate(414.028,-248.063)">		<title>Sheet.76</title>		<path d="M0 432 L5.18 429.01 L0 426.02 L0 432 Z" class="st16"></path>	</g>	<g id="shape78-120" v:mid="78" v:groupcontext="shape" transform="translate(337.835,-273.555)">		<title>Sheet.78</title>		<path d="M0 333.24 L0 432 L81.38 432 L0 333.24 Z" class="st19"></path>		<path d="M0 333.24 L0 432 L81.38 432" class="st17"></path>	</g>	<g id="shape80-123" v:mid="80" v:groupcontext="shape" transform="translate(337.835,-273.555)">		<title>Sheet.80</title>		<path d="M0 333.24 L0 432 L77.07 432 L0 333.24 Z" class="st19"></path>		<path d="M0 333.24 L0 432 L77.07 432" class="st15"></path>	</g>	<g id="shape81-126" v:mid="81" v:groupcontext="shape" transform="translate(414.028,-270.563)">		<title>Sheet.81</title>		<path d="M0 432 L5.18 429.01 L0 426.02 L0 432 Z" class="st16"></path>	</g>	<g id="shape83-128" v:mid="83" v:groupcontext="shape" transform="translate(337.835,-210.328)">		<title>Sheet.83</title>		<path d="M0 368.77 L0 432 L80.96 432 L0 368.77 Z" class="st19"></path>		<path d="M0 368.77 L0 432 L80.96 432" class="st17"></path>	</g>	<g id="shape85-131" v:mid="85" v:groupcontext="shape" transform="translate(337.835,-210.328)">		<title>Sheet.85</title>		<path d="M0 368.77 L0 432 L76.66 432 L0 368.77 Z" class="st19"></path>		<path d="M0 368.77 L0 432 L76.66 432" class="st15"></path>	</g>	<g id="shape86-134" v:mid="86" v:groupcontext="shape" transform="translate(413.616,-207.336)">		<title>Sheet.86</title>		<path d="M0 432 L5.18 429.01 L0 426.02 L0 432 Z" class="st16"></path>	</g>	<g id="group95-136" transform="translate(548.809,-14.7814)" v:mid="95" v:groupcontext="group">		<title>Sheet.95</title>		<g id="shape89-137" v:mid="89" v:groupcontext="shape" transform="translate(31.8049,0)">			<title>Sheet.89</title>			<desc>Qualcomm</desc>			<v:textblock v:margins="rect(0,0,0,0)"></v:textblock>			<v:textrect cx="26.9052" cy="425.7" width="53.82" height="12.6"></v:textrect>			<rect x="0" y="419.4" width="53.8103" height="12.6" class="st7"></rect>			<text x="0" y="428.85" class="st20" v:langid="1033"><v:paragraph></v:paragraph><v:tablist></v:tablist>Qualcomm  </text>			</g>		<g id="shape90-140" v:mid="90" v:groupcontext="shape" transform="translate(16.6166,-0.218607)">			<title>Sheet.90</title>			<path d="M0 430.5 A1.50003 1.50003 -180 0 0 1.5 432 L10.5 432 A1.50003 1.50003 -180 0 0 12 430.5 L12 421.5 A1.50003						 1.50003 -180 0 0 10.5 420 L1.5 420 A1.50003 1.50003 -180 0 0 0 421.5 L0 430.5 Z" class="st3"></path>		</g>		<g id="shape91-142" v:mid="91" v:groupcontext="shape" transform="translate(3.09752E-14,-0.218607)">			<title>Sheet.91</title>			<path d="M0 430.5 A1.50003 1.50003 -180 0 0 1.5 432 L10.5 432 A1.50003 1.50003 -180 0 0 12 430.5 L12 421.5 A1.50003						 1.50003 -180 0 0 10.5 420 L1.5 420 A1.50003 1.50003 -180 0 0 0 421.5 L0 430.5 Z" class="st21"></path>		</g>		<g id="shape93-144" v:mid="93" v:groupcontext="shape" transform="translate(105.741,0)">			<title>Sheet.93</title>			<desc>开源</desc>			<v:textblock v:margins="rect(0,0,0,0)"></v:textblock>			<v:textrect cx="10.5" cy="425.7" width="21" height="12.6"></v:textrect>			<rect x="0" y="419.4" width="21" height="12.6" class="st7"></rect>			<text x="0" y="429.19" class="st22" v:langid="1033"><v:paragraph></v:paragraph><v:tablist></v:tablist>开源</text>			</g>		<g id="shape94-147" v:mid="94" v:groupcontext="shape" transform="translate(90.5529,-0.218607)">			<title>Sheet.94</title>			<path d="M0 430.5 A1.50003 1.50003 -180 0 0 1.5 432 L10.5 432 A1.50003 1.50003 -180 0 0 12 430.5 L12 421.5 A1.50003						 1.50003 -180 0 0 10.5 420 L1.5 420 A1.50003 1.50003 -180 0 0 0 421.5 L0 430.5 Z" class="st5"></path>		</g>	</g></g>
</svg>

下表提供了有关 qtismartvencbin 的端口模板和元素属性的信息。有关用例信息，请参见[智能 codec](https://docs.qualcomm.com/doc/80-70022-50SC/topic/smart-codec.html)。

## 端口配置

| 端口名称 | 功能 | 功能 | 功能 |
| --- | --- | --- | --- |
| SINK 模板：'sink'<br><ul class="ul" id="qtismartvencbin__ul_xgy_pmm_qdc"><br>                                    <li class="li"><em class="ph i">可用性：</em> 始终可用</li><br><br>                                    <li class="li"><em class="ph i">方向：</em> 接收</li><br><br>                                </ul> | video/x-raw | format | {NV12} |
| SINK 模板：'sink'<br><ul class="ul" id="qtismartvencbin__ul_xgy_pmm_qdc"><br>                                    <li class="li"><em class="ph i">可用性：</em> 始终可用</li><br><br>                                    <li class="li"><em class="ph i">方向：</em> 接收</li><br><br>                                </ul> | video/x-raw | width | [ 1, 2147483647] |
| SINK 模板：'sink'<br><ul class="ul" id="qtismartvencbin__ul_xgy_pmm_qdc"><br>                                    <li class="li"><em class="ph i">可用性：</em> 始终可用</li><br><br>                                    <li class="li"><em class="ph i">方向：</em> 接收</li><br><br>                                </ul> | video/x-raw | height | [ 1, 2147483647] |
| SINK 模板：'sink'<br><ul class="ul" id="qtismartvencbin__ul_xgy_pmm_qdc"><br>                                    <li class="li"><em class="ph i">可用性：</em> 始终可用</li><br><br>                                    <li class="li"><em class="ph i">方向：</em> 接收</li><br><br>                                </ul> | video/x-raw | height | [ 0/1, 2147483647/1] |
| SINK 模板：'sink'<br><ul class="ul" id="qtismartvencbin__ul_xgy_pmm_qdc"><br>                                    <li class="li"><em class="ph i">可用性：</em> 始终可用</li><br><br>                                    <li class="li"><em class="ph i">方向：</em> 接收</li><br><br>                                </ul> | video/x-raw (memory:GBM) | format | {NV12} |
| SINK 模板：'sink'<br><ul class="ul" id="qtismartvencbin__ul_xgy_pmm_qdc"><br>                                    <li class="li"><em class="ph i">可用性：</em> 始终可用</li><br><br>                                    <li class="li"><em class="ph i">方向：</em> 接收</li><br><br>                                </ul> | video/x-raw (memory:GBM) | width | [ 1, 2147483647] |
| SINK 模板：'sink'<br><ul class="ul" id="qtismartvencbin__ul_xgy_pmm_qdc"><br>                                    <li class="li"><em class="ph i">可用性：</em> 始终可用</li><br><br>                                    <li class="li"><em class="ph i">方向：</em> 接收</li><br><br>                                </ul> | video/x-raw (memory:GBM) | height | [ 1, 2147483647] |
| SINK 模板：'sink'<br><ul class="ul" id="qtismartvencbin__ul_xgy_pmm_qdc"><br>                                    <li class="li"><em class="ph i">可用性：</em> 始终可用</li><br><br>                                    <li class="li"><em class="ph i">方向：</em> 接收</li><br><br>                                </ul> | video/x-raw (memory:GBM) | height | [ 0/1, 2147483647/1] |
| SINK 模板：'sink\_ctrl'<br><ul class="ul" id="qtismartvencbin__ul_ygy_pmm_qdc"><br>                                    <li class="li"><em class="ph i">可用性：</em> 始终可用</li><br><br>                                    <li class="li"><em class="ph i">方向：</em> 接收端</li><br><br>                                </ul> | video/x-raw | format | {NV12} |
| SINK 模板：'sink\_ctrl'<br><ul class="ul" id="qtismartvencbin__ul_ygy_pmm_qdc"><br>                                    <li class="li"><em class="ph i">可用性：</em> 始终可用</li><br><br>                                    <li class="li"><em class="ph i">方向：</em> 接收端</li><br><br>                                </ul> | video/x-raw | width | [ 1, 2147483647] |
| SINK 模板：'sink\_ctrl'<br><ul class="ul" id="qtismartvencbin__ul_ygy_pmm_qdc"><br>                                    <li class="li"><em class="ph i">可用性：</em> 始终可用</li><br><br>                                    <li class="li"><em class="ph i">方向：</em> 接收端</li><br><br>                                </ul> | video/x-raw | height | [ 1, 2147483647] |
| SINK 模板：'sink\_ctrl'<br><ul class="ul" id="qtismartvencbin__ul_ygy_pmm_qdc"><br>                                    <li class="li"><em class="ph i">可用性：</em> 始终可用</li><br><br>                                    <li class="li"><em class="ph i">方向：</em> 接收端</li><br><br>                                </ul> | video/x-raw | framerate | [ 0/1, 2147483647/1 ] |
| SINK 模板：'sink\_ctrl'<br><ul class="ul" id="qtismartvencbin__ul_ygy_pmm_qdc"><br>                                    <li class="li"><em class="ph i">可用性：</em> 始终可用</li><br><br>                                    <li class="li"><em class="ph i">方向：</em> 接收端</li><br><br>                                </ul> | video/x-raw (memory:GBM) | format | {NV12} |
| SINK 模板：'sink\_ctrl'<br><ul class="ul" id="qtismartvencbin__ul_ygy_pmm_qdc"><br>                                    <li class="li"><em class="ph i">可用性：</em> 始终可用</li><br><br>                                    <li class="li"><em class="ph i">方向：</em> 接收端</li><br><br>                                </ul> | video/x-raw (memory:GBM) | width | [ 1, 2147483647] |
| SINK 模板：'sink\_ctrl'<br><ul class="ul" id="qtismartvencbin__ul_ygy_pmm_qdc"><br>                                    <li class="li"><em class="ph i">可用性：</em> 始终可用</li><br><br>                                    <li class="li"><em class="ph i">方向：</em> 接收端</li><br><br>                                </ul> | video/x-raw (memory:GBM) | height | [ 1, 2147483647] |
| SINK 模板：'sink\_ctrl'<br><ul class="ul" id="qtismartvencbin__ul_ygy_pmm_qdc"><br>                                    <li class="li"><em class="ph i">可用性：</em> 始终可用</li><br><br>                                    <li class="li"><em class="ph i">方向：</em> 接收端</li><br><br>                                </ul> | video/x-raw (memory:GBM) | framerate | [ 0/1, 2147483647/1 ] |
| SINK 模板：'sink\_ml'<br><ul class="ul" id="qtismartvencbin__ul_zgy_pmm_qdc"><br>                                    <li class="li"><em class="ph i">可用性：</em> 始终可用</li><br><br>                                    <li class="li"><em class="ph i">方向：</em> 接收端</li><br><br>                                </ul> | text/x-raw | format | {utf-8} |
| SRC 模板：'src'<br><ul class="ul" id="qtismartvencbin__ul_ahy_pmm_qdc"><br>                                    <li class="li"><em class="ph i">可用性：</em> 始终可用</li><br><br>                                    <li class="li"><em class="ph i">方向：</em> 发送</li><br><br>                                </ul> | video/x-h264<br><br><br>                                <br>video/x-h265 | – | – |
|  |  |  |  |
|  |  |  |  |
|  |  |  |  |
|  |  |  |  |
|  |  |  |  |
|  |  |  |  |
|  |  |  |  |

## 元素配置

Table : qtismartvencbin 的元素属性

| 属性 | 说明 |
| --- | --- |
| async-handling | bin 用于处理异步状态更改。<br><ul class="ul" id="qtismartvencbin__ul_azn_tmm_qdc"><br>                                    <li class="li">标志：可读、可写</li><br><br>                                    <li class="li">Boolean。默认值：false</li><br><br>                                </ul> |
| default-gop | 默认 GOP 长度。<br><ul class="ul" id="qtismartvencbin__ul_bzn_tmm_qdc"><br>                                    <li class="li">标志：可读、可写、仅在 NULL 或 READY 状态下可更改</li><br><br>                                    <li class="li">无符号整型。范围：0 - 4294967295 默认值：30 </li><br><br>                                </ul> |
| encoder | 要使用的编码器（仅在 NULL 状态下可调用）。<br><ul class="ul" id="qtismartvencbin__ul_czn_tmm_qdc"><br>                                    <li class="li">标志：可读、可写、仅在 NULL 或 READY 状态下可更改</li><br><br>                                    <li class="li"><br>                                        <p class="p">枚举 “GstBinEncoderType” 默认值：0, "c2enc"</p><br><br>                                        <p class="p"> (0): c2enc - Codec2 编码器。</p><br><br>                                        <p class="p"> (1)：omxenc - OMX 编码器。</p><br><br>                                        <p class="p"> (2): v4l2h264enc - V4L2 H264 编码器</p><br><br>                                        <p class="p"> (3): v4l2h265enc - V4L2 H265 编码器</p><br><br>                                    </li><br><br>                                </ul> |
| levels-override | 覆盖帧速率级别。例如：`<br>                                        "LevelsOverride,fr_static=16,fr_low=4,fr_medium=2,fr_high=1;`<br><ul class="ul" id="qtismartvencbin__ul_dzn_tmm_qdc"><br>                                    <li class="li">标志：可读、可写</li><br><br>                                    <li class="li">string默认值：null</li><br><br>                                </ul> |
| max-bitrate | 最大比特率（以每秒位数为单位）。<br><ul class="ul" id="qtismartvencbin__ul_ezn_tmm_qdc"><br>                                    <li class="li">标志：可读、可写、仅在 NULL 或 READY 状态下可更改</li><br><br>                                    <li class="li">无符号整型。范围：0 - 4294967295 默认值：6000000<br>                                    </li><br><br>                                </ul> |
| max-gop | 最大 GOP 长度。<br><ul class="ul" id="qtismartvencbin__ul_fzn_tmm_qdc"><br>                                    <li class="li">标志：可读、可写、仅在 NULL 或 READY 状态下可更改</li><br><br>                                    <li class="li">无符号整型。范围：0 - 4294967295 默认值：600</li><br><br>                                </ul> |
| message-forward | 转发所有子级消息。<br><ul class="ul" id="qtismartvencbin__ul_gzn_tmm_qdc"><br>                                    <li class="li">标志：可读、可写</li><br><br>                                    <li class="li">Boolean。默认值：false</li><br><br>                                </ul> |
| name | 对象名称<br><ul class="ul" id="qtismartvencbin__ul_hzn_tmm_qdc"><br>                                    <li class="li">标志：可读、可写，0x2000</li><br><br>                                    <li class="li">字符串。默认：“videoencbin0”</li><br><br>                                </ul> |
| parent | 对象的父级<br><ul class="ul" id="qtismartvencbin__ul_izn_tmm_qdc"><br>                                    <li class="li">标志：可读、可写，0x2000</li><br><br>                                    <li class="li">"GstObject" 类型的对象</li><br><br>                                </ul> |
| roi-quality-cfg | ROI 质量配置。例如： `"ROIQPs,car=2,person=1,tree=-2;"`<br><ul class="ul" id="qtismartvencbin__ul_jzn_tmm_qdc"><br>                                    <li class="li">标志：可读、可写</li><br><br>                                    <li class="li">字符串。默认值：null</li><br><br>                                </ul> |
| smart-framerate | 启用/禁用智能帧速率功能。<br><ul class="ul" id="qtismartvencbin__ul_kzn_tmm_qdc"><br>                                    <li class="li">标志：可读、可写、仅在 NULL 或 READY 状态下可更改</li><br><br>                                    <li class="li">Boolean。默认值：true</li><br><br>                                </ul> |
| smart-gop | 启用/禁用智能 GOP 功能。<br><ul class="ul" id="qtismartvencbin__ul_lzn_tmm_qdc"><br>                                    <li class="li">标志：可读、可写、仅在 NULL 或 READY 状态下可更改</li><br><br>                                    <li class="li">Boolean。默认值：true</li><br><br>                                </ul> |

**Parent Topic:** [配置 ML 插件](https://docs.qualcomm.com/doc/80-70022-50SC/topic/inferencing-plugins.html)

Last Published: Nov 05, 2025

[Previous Topic
qtirtspbin](https://docs.qualcomm.com/bundle/publicresource/80-70022-50SC/topics/qtirtspbin.md) [Next Topic
使用 Qualcomm IM SDK 开发插件](https://docs.qualcomm.com/bundle/publicresource/80-70022-50SC/topics/develop-plugins-for-sdk.md)