# 摄像头连拍

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

**gst-camera-burst-capture-example** 应用程序可以在 Burst 模式下拍照。它可以抓取五个延迟为 10 秒的连拍，并将照片显示在屏幕上。

Note: 此示例应用程序在 Dragonwing IQ-8275 和 Dragonwing QCS9075 上不受支持。

下图展示了一个 pipeline：拍照并使用以下三个分支之一对其进行处理：

- 将其显示在屏幕上。
- 将其进行编码并保存到文件中。
- 将其保存到缓存，并基于采集格式（BAYER/RAW/JPEG）保存到设备存储。

有关 pipeline 中使用的插件的更多信息，请参见 [Pipeline 流](https://docs.qualcomm.com/doc/80-70022-50SC/topic/camera-burst-capture.html#camera-burst-capture__section_cjm_kcb_pbc)。

Figure : gst-camera-burst-capture-example pipeline
            
            <?xml version="1.0" encoding="UTF-8" standalone="no"?>
<!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.1//EN" "http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd">
<!-- Generated by Microsoft Visio, SVG Export gst_camera_burst_capture_example_pipeline.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="2.70833in" viewbox="0 0 690 195" xml:space="preserve" color-interpolation-filters="sRGB" class="st14"><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: none }
.svg-1 .st6 { stroke: #000000; stroke-linecap: butt; stroke-width: 0.75 }
.svg-1 .st7 { fill: #000000; stroke: none; stroke-linecap: butt; stroke-width: 0.75 }
.svg-1 .st8 { fill: #007884; stroke: none; stroke-linecap: butt; stroke-width: 0.75 }
.svg-1 .st9 { fill: #ffffff; font-family: SimHei; font-size: 1.00001em }
.svg-1 .st10 { fill: none; stroke: #000000; stroke-linecap: round; stroke-linejoin: round; stroke-width: 1.5 }
.svg-1 .st11 { fill: none; stroke: none; stroke-linecap: butt; stroke-width: 0.75 }
.svg-1 .st12 { fill: #000000; font-family: Roboto; font-size: 0.874992em }
.svg-1 .st13 { fill: #000000; font-family: SimHei; font-size: 0.874992em }
.svg-1 .st14 { 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.37468)">		<title>Sheet.2</title>		<path d="M0 189.37 A5.62513 5.62513 -180 0 0 5.62 195 L683.62 195 A5.62513 5.62513 -180 0 0 689.25 189.37 L689.25 6.37					 A5.62513 5.62513 -180 0 0 683.62 0.75 L5.62 0.75 A5.62513 5.62513 -180 0 0 -0 6.37 L0 189.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 189 C689.25 191.89 686.89 194.25 684 194.25 L6 194.25 C3.11					 194.25 0.75 191.89 0.75 189 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 189 C0 192.31 2.69 195 6 195 L684 195 C687.31 195 690 192.31 690 189 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(72.4812,-88.2921)">		<title>Sheet.6</title>		<desc>qtiqmmfsrc</desc>		<v:textblock v:margins="rect(0,0,0,0)"></v:textblock>		<v:textrect cx="45" cy="173.75" width="90" height="42.5"></v:textrect>		<path d="M-0 192 A3.00007 3.00007 -180 0 0 3 195 L87 195 A3.00007 3.00007 -180 0 0 90 192 L90 155.5 A3.00007 3.00007					 -180 0 0 87 152.5 L3 152.5 A3.00007 3.00007 -180 0 0 -0 155.5 L0 192 Z" class="st3"></path>		<text x="13.9" y="177.35" class="st4" v:langid="1033"><v:paragraph v:horizalign="1"></v:paragraph><v:tablist></v:tablist>qtiqmmfsrc</text>		</g>	<g id="group8-8" transform="translate(180.286,-51.7335)" v:mid="8" v:groupcontext="group">		<title>Sheet.8</title>		<g id="shape9-9" v:mid="9" v:groupcontext="shape" transform="translate(4.69624E-14,-2.99181)">			<title>Sheet.9</title>			<path d="M13.19 195 L0 195 L0 88.09 L13.19 88.09 L13.19 195 Z" class="st5"></path>			<path d="M13.19 195 L0 195 L0 88.09 L13.19 88.09" class="st6"></path>		</g>		<g id="shape10-12" v:mid="10" v:groupcontext="shape" transform="translate(12.3189,5.68434E-14)">			<title>Sheet.10</title>			<path d="M0 189.02 L5.18 192.01 L0 195 L0 189.02 Z" class="st7"></path>		</g>		<g id="shape11-14" v:mid="11" v:groupcontext="shape" transform="translate(12.3189,-106.914)">			<title>Sheet.11</title>			<path d="M0 195 L5.18 192.01 L0 189.02 L0 195 Z" class="st7"></path>		</g>	</g>	<g id="group12-16" transform="translate(162.786,-107.674)" v:mid="12" v:groupcontext="group">		<title>Sheet.12</title>		<g id="shape13-17" v:mid="13" v:groupcontext="shape" transform="translate(0,-2.61781)">			<title>Sheet.13</title>			<path d="M0 195 L31.23 195" class="st6"></path>		</g>		<g id="shape14-20" v:mid="14" v:groupcontext="shape" transform="translate(30.4665,0)">			<title>Sheet.14</title>			<path d="M0 195 L4.53 192.38 L0 189.76 L0 195 Z" class="st7"></path>		</g>	</g>	<g id="group15-22" transform="translate(304.192,-159.021)" v:mid="15" v:groupcontext="group">		<title>Sheet.15</title>		<g id="shape16-23" v:mid="16" v:groupcontext="shape" transform="translate(0,-2.61781)">			<title>Sheet.16</title>			<path d="M0 195 L260.61 195" class="st6"></path>		</g>		<g id="shape17-26" v:mid="17" v:groupcontext="shape" transform="translate(259.849,0)">			<title>Sheet.17</title>			<path d="M0 195 L4.53 192.38 L0 189.76 L0 195 Z" class="st7"></path>		</g>	</g>	<g id="shape18-28" v:mid="18" v:groupcontext="shape" transform="translate(322.706,-89.0421)">		<title>Sheet.18</title>		<desc>编码器</desc>		<v:textblock v:margins="rect(0,0,0,0)"></v:textblock>		<v:textrect cx="52.5" cy="173.75" width="105" height="42.5"></v:textrect>		<path d="M0 192 A3.00007 3.00007 -180 0 0 3 195 L102 195 A3.00007 3.00007 -180 0 0 105 192 L105 155.5 A3.00007 3.00007					 -180 0 0 102 152.5 L3 152.5 A3.00007 3.00007 -180 0 0 0 155.5 L0 192 Z" class="st8"></path>		<text x="34.5" y="177.74" class="st9" v:langid="1033"><v:paragraph v:horizalign="1"></v:paragraph><v:tablist></v:tablist>编码器</text>		</g>	<g id="shape19-31" v:mid="19" v:groupcontext="shape" transform="translate(198.489,-89.0421)">		<title>Sheet.19</title>		<desc>capsfilter</desc>		<v:textblock v:margins="rect(0,0,0,0)"></v:textblock>		<v:textrect cx="52.5" cy="173.75" width="105.01" height="42.5"></v:textrect>		<path d="M0 192 A3.00007 3.00007 -180 0 0 3 195 L102 195 A3.00007 3.00007 -180 0 0 105 192 L105 155.5 A3.00007 3.00007					 -180 0 0 102 152.5 L3 152.5 A3.00007 3.00007 -180 0 0 -0 155.5 L0 192 Z" class="st8"></path>		<text x="27.47" y="177.35" class="st4" v:langid="1033"><v:paragraph v:horizalign="1"></v:paragraph><v:tablist></v:tablist>capsfilter</text>		</g>	<g id="shape20-34" v:mid="20" v:groupcontext="shape" transform="translate(198.489,-140.389)">		<title>Sheet.20</title>		<desc>capsfilter</desc>		<v:textblock v:margins="rect(0,0,0,0)"></v:textblock>		<v:textrect cx="52.5" cy="173.75" width="105.01" height="42.5"></v:textrect>		<path d="M0 192 A3.00007 3.00007 -180 0 0 3 195 L102 195 A3.00007 3.00007 -180 0 0 105 192 L105 155.5 A3.00007 3.00007					 -180 0 0 102 152.5 L3 152.5 A3.00007 3.00007 -180 0 0 0 155.5 L0 192 Z" class="st8"></path>		<text x="27.47" y="177.35" class="st4" v:langid="1033"><v:paragraph v:horizalign="1"></v:paragraph><v:tablist></v:tablist>capsfilter</text>		</g>	<g id="group21-37" transform="translate(304.192,-107.674)" v:mid="21" v:groupcontext="group">		<title>Sheet.21</title>		<g id="shape22-38" v:mid="22" v:groupcontext="shape" transform="translate(0,-2.61781)">			<title>Sheet.22</title>			<path d="M0 195 L13.73 195" class="st6"></path>		</g>		<g id="shape23-41" v:mid="23" v:groupcontext="shape" transform="translate(12.9665,0)">			<title>Sheet.23</title>			<path d="M0 195 L4.53 192.38 L0 189.76 L0 195 Z" class="st7"></path>		</g>	</g>	<g id="shape25-43" v:mid="25" v:groupcontext="shape" transform="translate(446.219,-89.0421)">		<title>Sheet.25</title>		<desc>h264parse</desc>		<v:textblock v:margins="rect(0,0,0,0)"></v:textblock>		<v:textrect cx="52.5" cy="173.75" width="105" height="42.5"></v:textrect>		<path d="M0 192 A3.00007 3.00007 -180 0 0 3 195 L102 195 A3.00007 3.00007 -180 0 0 105 192 L105 155.5 A3.00007 3.00007					 -180 0 0 102 152.5 L3 152.5 A3.00007 3.00007 -180 0 0 0 155.5 L0 192 Z" class="st8"></path>		<text x="24.15" y="177.35" class="st4" v:langid="1033"><v:paragraph v:horizalign="1"></v:paragraph><v:tablist></v:tablist>h264parse</text>		</g>	<g id="group26-46" transform="translate(427.706,-107.674)" v:mid="26" v:groupcontext="group">		<title>Sheet.26</title>		<g id="shape27-47" v:mid="27" v:groupcontext="shape" transform="translate(0,-2.61781)">			<title>Sheet.27</title>			<path d="M0 195 L13.73 195" class="st6"></path>		</g>		<g id="shape28-50" v:mid="28" v:groupcontext="shape" transform="translate(12.9665,0)">			<title>Sheet.28</title>			<path d="M0 195 L4.53 192.38 L0 189.76 L0 195 Z" class="st7"></path>		</g>	</g>	<g id="shape30-52" v:mid="30" v:groupcontext="shape" transform="translate(569.733,-89.0421)">		<title>Sheet.30</title>		<desc>mp4mux</desc>		<v:textblock v:margins="rect(0,0,0,0)"></v:textblock>		<v:textrect cx="52.5" cy="173.75" width="105.01" height="42.5"></v:textrect>		<path d="M0 192 A3.00007 3.00007 -180 0 0 3 195 L102 195 A3.00007 3.00007 -180 0 0 105 192 L105 155.5 A3.00007 3.00007					 -180 0 0 102 152.5 L3 152.5 A3.00007 3.00007 -180 0 0 0 155.5 L0 192 Z" class="st8"></path>		<text x="28.97" y="177.35" class="st4" v:langid="1033"><v:paragraph v:horizalign="1"></v:paragraph><v:tablist></v:tablist>mp4mux</text>		</g>	<g id="group31-55" transform="translate(551.219,-107.674)" v:mid="31" v:groupcontext="group">		<title>Sheet.31</title>		<g id="shape32-56" v:mid="32" v:groupcontext="shape" transform="translate(0,-2.61781)">			<title>Sheet.32</title>			<path d="M0 195 L13.73 195" class="st6"></path>		</g>		<g id="shape33-59" v:mid="33" v:groupcontext="shape" transform="translate(12.9665,0)">			<title>Sheet.33</title>			<path d="M0 195 L4.53 192.38 L0 189.76 L0 195 Z" class="st7"></path>		</g>	</g>	<g id="shape35-61" v:mid="35" v:groupcontext="shape" transform="translate(569.733,-140.389)">		<title>Sheet.35</title>		<desc>Waylandsink</desc>		<v:textblock v:margins="rect(0,0,0,0)"></v:textblock>		<v:textrect cx="52.5" cy="173.75" width="105.01" height="42.5"></v:textrect>		<path d="M0 192 A3.00007 3.00007 -180 0 0 3 195 L102 195 A3.00007 3.00007 -180 0 0 105 192 L105 155.5 A3.00007 3.00007					 -180 0 0 102 152.5 L3 152.5 A3.00007 3.00007 -180 0 0 -0 155.5 L0 192 Z" class="st8"></path>		<text x="18.76" y="177.35" class="st4" v:langid="1033"><v:paragraph v:horizalign="1"></v:paragraph><v:tablist></v:tablist>Waylandsink</text>		</g>	<g id="shape39-64" v:mid="39" v:groupcontext="shape" transform="translate(322.706,-37.6952)">		<title>Sheet.39</title>		<desc>appsink</desc>		<v:textblock v:margins="rect(0,0,0,0)"></v:textblock>		<v:textrect cx="52.5" cy="173.75" width="105" height="42.5"></v:textrect>		<path d="M0 192 A3.00007 3.00007 -180 0 0 3 195 L102 195 A3.00007 3.00007 -180 0 0 105 192 L105 155.5 A3.00007 3.00007					 -180 0 0 102 152.5 L3 152.5 A3.00007 3.00007 -180 0 0 0 155.5 L0 192 Z" class="st8"></path>		<text x="31.6" y="177.35" class="st4" v:langid="1033"><v:paragraph v:horizalign="1"></v:paragraph><v:tablist></v:tablist>appsink</text>		</g>	<g id="shape40-67" v:mid="40" v:groupcontext="shape" transform="translate(198.489,-37.6952)">		<title>Sheet.40</title>		<desc>capsfilter</desc>		<v:textblock v:margins="rect(0,0,0,0)"></v:textblock>		<v:textrect cx="52.5" cy="173.75" width="105.01" height="42.5"></v:textrect>		<path d="M0 192 A3.00007 3.00007 -180 0 0 3 195 L102 195 A3.00007 3.00007 -180 0 0 105 192 L105 155.5 A3.00007 3.00007					 -180 0 0 102 152.5 L3 152.5 A3.00007 3.00007 -180 0 0 -0 155.5 L0 192 Z" class="st8"></path>		<text x="27.47" y="177.35" class="st4" v:langid="1033"><v:paragraph v:horizalign="1"></v:paragraph><v:tablist></v:tablist>capsfilter</text>		</g>	<g id="group41-70" transform="translate(304.192,-56.3273)" v:mid="41" v:groupcontext="group">		<title>Sheet.41</title>		<g id="shape42-71" v:mid="42" v:groupcontext="shape" transform="translate(0,-2.61781)">			<title>Sheet.42</title>			<path d="M0 195 L13.73 195" class="st6"></path>		</g>		<g id="shape43-74" v:mid="43" v:groupcontext="shape" transform="translate(12.9665,0)">			<title>Sheet.43</title>			<path d="M0 195 L4.53 192.38 L0 189.76 L0 195 Z" class="st7"></path>		</g>	</g>	<g id="shape45-76" v:mid="45" v:groupcontext="shape" transform="translate(446.219,-37.6952)">		<title>Sheet.45</title>		<desc>采集回调</desc>		<v:textblock v:margins="rect(0,0,0,0)"></v:textblock>		<v:textrect cx="52.5" cy="173.75" width="105" height="42.5"></v:textrect>		<path d="M0 192 A3.00007 3.00007 -180 0 0 3 195 L102 195 A3.00007 3.00007 -180 0 0 105 192 L105 155.5 A3.00007 3.00007					 -180 0 0 102 152.5 L3 152.5 A3.00007 3.00007 -180 0 0 0 155.5 L0 192 Z" class="st8"></path>		<text x="28.5" y="177.74" class="st9" v:langid="1033"><v:paragraph v:horizalign="1"></v:paragraph><v:tablist></v:tablist>采集回调</text>		</g>	<g id="group46-79" transform="translate(427.706,-56.3273)" v:mid="46" v:groupcontext="group">		<title>Sheet.46</title>		<g id="shape47-80" v:mid="47" v:groupcontext="shape" transform="translate(0,-2.61781)">			<title>Sheet.47</title>			<path d="M0 195 L13.73 195" class="st6"></path>		</g>		<g id="shape48-83" v:mid="48" v:groupcontext="shape" transform="translate(12.9665,0)">			<title>Sheet.48</title>			<path d="M0 195 L4.53 192.38 L0 189.76 L0 195 Z" class="st7"></path>		</g>	</g>	<g id="shape50-85" v:mid="50" v:groupcontext="shape" transform="translate(569.733,-37.6952)">		<title>Sheet.50</title>		<desc>Dump</desc>		<v:textblock v:margins="rect(0,0,0,0)"></v:textblock>		<v:textrect cx="52.5" cy="173.75" width="105.01" height="42.5"></v:textrect>		<path d="M0 192 A3.00007 3.00007 -180 0 0 3 195 L102 195 A3.00007 3.00007 -180 0 0 105 192 L105 155.5 A3.00007 3.00007					 -180 0 0 102 152.5 L3 152.5 A3.00007 3.00007 -180 0 0 0 155.5 L0 192 Z" class="st8"></path>		<text x="36.63" y="177.35" class="st4" v:langid="1033"><v:paragraph v:horizalign="1"></v:paragraph><v:tablist></v:tablist>Dump</text>		</g>	<g id="group51-88" transform="translate(551.219,-56.3273)" v:mid="51" v:groupcontext="group">		<title>Sheet.51</title>		<g id="shape52-89" v:mid="52" v:groupcontext="shape" transform="translate(0,-2.61781)">			<title>Sheet.52</title>			<path d="M0 195 L13.73 195" class="st6"></path>		</g>		<g id="shape53-92" v:mid="53" v:groupcontext="shape" transform="translate(12.9665,0)">			<title>Sheet.53</title>			<path d="M0 195 L4.53 192.38 L0 189.76 L0 195 Z" class="st7"></path>		</g>	</g>	<g id="shape63-94" v:mid="63" v:groupcontext="shape" transform="translate(56.4604,-110.292)">		<title>Sheet.63</title>		<path d="M0 195 L16.02 195" class="st6"></path>	</g>	<g id="group64-97" transform="translate(15.2671,-93.8148)" v:mid="64" v:groupcontext="group">		<title>Sheet.64</title>		<g id="shape65-98" v:mid="65" v:groupcontext="shape">			<title>Sheet.65</title>			<path d="M25.75 162.05 L15.45 162.05 L10.3 168.22 L4.12 168.22 C1.84 168.22 0 170.07 0 172.34 L0 190.88 C0 193.16						 1.84 195 4.12 195 L37.07 195 C39.35 195 41.19 193.16 41.19 190.88 L41.19 172.34 C41.19 170.07 39.35						 168.22 37.07 168.22 L30.89 168.22 L25.75 162.05 Z" class="st10"></path>		</g>		<g id="shape66-100" v:mid="66" v:groupcontext="shape" transform="translate(14.4177,-10.2983)">			<title>Sheet.66</title>			<ellipse cx="6.17899" cy="188.821" rx="6.17899" ry="6.17899" class="st10"></ellipse>		</g>	</g>	<g id="group67-102" transform="translate(564.608,-11.8923)" v:mid="67" v:groupcontext="group">		<title>Sheet.67</title>		<g id="shape58-103" v:mid="58" v:groupcontext="shape" transform="translate(15.1882,2.84217E-14)">			<title>Sheet.58</title>			<desc>Qualcomm</desc>			<v:textblock v:margins="rect(0,0,0,0)"></v:textblock>			<v:textrect cx="26.0356" cy="188.7" width="52.08" height="12.6"></v:textrect>			<rect x="0" y="182.4" width="52.0711" height="12.6" class="st11"></rect>			<text x="0" y="191.85" class="st12" v:langid="1033"><v:paragraph></v:paragraph><v:tablist></v:tablist>Qualcomm  </text>			</g>		<g id="shape59-106" v:mid="59" v:groupcontext="shape" transform="translate(3.09752E-14,-0.218622)">			<title>Sheet.59</title>			<path d="M0 193.5 A1.50003 1.50003 -180 0 0 1.5 195 L10.5 195 A1.50003 1.50003 -180 0 0 12 193.5 L12 184.5 A1.50003						 1.50003 -180 0 0 10.5 183 L1.5 183 A1.50003 1.50003 -180 0 0 0 184.5 L0 193.5 Z" class="st3"></path>		</g>		<g id="shape61-108" v:mid="61" v:groupcontext="shape" transform="translate(89.1246,2.84217E-14)">			<title>Sheet.61</title>			<desc>开源</desc>			<v:textblock v:margins="rect(0,0,0,0)"></v:textblock>			<v:textrect cx="10.5" cy="188.7" width="21.01" height="12.6"></v:textrect>			<rect x="0" y="182.4" width="21" height="12.6" class="st11"></rect>			<text x="0" y="191.85" class="st13" v:langid="1033"><v:paragraph></v:paragraph><v:tablist></v:tablist>开源</text>			</g>		<g id="shape62-111" v:mid="62" v:groupcontext="shape" transform="translate(73.9363,-0.218622)">			<title>Sheet.62</title>			<path d="M0 193.5 A1.50003 1.50003 -180 0 0 1.5 195 L10.5 195 A1.50003 1.50003 -180 0 0 12 193.5 L12 184.5 A1.50003						 1.50003 -180 0 0 10.5 183 L1.5 183 A1.50003 1.50003 -180 0 0 -0 184.5 L0 193.5 Z" class="st8"></path>		</g>	</g></g>
</svg>

## 运行应用程序

1. 确保您已完成[前提条件](https://docs.qualcomm.com/doc/80-70022-50SC/topic/mm_sample_apps_prerequisites.html)。
2. 在目标设备的终端中，针对以下任何用例运行相应的命令：
    - 显示流和 JPEG 拍照：

            gst-camera-burst-capture-example -w 1280 -h 720 -p 1 -c 0Copy to clipboard
    - 对流和 JPEG 拍照进行编码：

            gst-camera-burst-capture-example -w 1280 -h 720 -p 0 -c 0Copy to clipboard
3. 要停止用例，请使用 CTRL +
                    C。
4. 在目标设备的终端中，在 SSH shell 中运行以下命令以显示可用的帮助选项：

        gst-camera-burst-capture-example --helpCopy to clipboard
5. 在主机的终端中，运行以下命令从目标设备中拉取文件：

        scp root@<IP address of target device>:/etc/media/<destination directory>Copy to clipboard

## 预期输出

- 如果您选择显示流，照片将显示在屏幕上。
- 如果您选择对流进行编码，编码后的流将保存在 /etc/media/video\_%d.mp4中。

## Pipeline 流

下表列出了摄像头连拍 pipeline 中使用的插件：| Pipeline | 说明 |
| --- | --- |
| 显示预览 | <ol class="ol" id="camera-burst-capture__ol_njk_nls_nbc"><br>                                    <li class="li"><a href="https://docs.qualcomm.com/doc/80-70022-50SC/topic/qtiqmmfsrc.html">qtiqmmfsrc</a> 采集摄像头实时流，并使用 capsfilter 创建预览分支。</li><br><br>                                    <li class="li">将数据发送到 Wayland 显示接收器（<a href="https://docs.qualcomm.com/doc/80-70022-50SC/topic/waylandsink.html">Waylandsink</a>）进行预览。</li><br><br>                                </ol> |
| 编码并保存至文件 | <ol class="ol" id="camera-burst-capture__ol_fhg_wls_nbc"><br>                                    <li class="li"><a href="https://docs.qualcomm.com/doc/80-70022-50SC/topic/qtiqmmfsrc.html">qtiqmmfsrc</a> 采集摄像头实时流，并使用 capsfilter 创建编码分支。</li><br><br>                                    <li class="li">对照片进行编码。</li><br><br>                                    <li class="li">H264parse 用于渲染采集的数据。</li><br><br>                                    <li class="li">Mp4mux 用于将数据复用。</li><br><br>                                </ol> |
| BAYER/RAW/JPEG dump | <ol class="ol" id="camera-burst-capture__ol_jps_chb_pbc"><br>                                    <li class="li"><a href="https://docs.qualcomm.com/doc/80-70022-50SC/topic/qtiqmmfsrc.html">qtiqmmfsrc</a> 采集摄像头实时流，并使用 capsfilter 创建预览分支。</li><br><br>                                    <li class="li">Appsink 用于采集回调并将拍照保存在存储 dump 中。</li><br><br>                                </ol> |

## 已知问题

144p 和 240p 分辨率的测试用例失败。

**Parent Topic:** [运行摄像头的示例应用程序](https://docs.qualcomm.com/doc/80-70022-50SC/topic/camera-sample-applications.html)

Last Published: Nov 05, 2025

[Previous Topic
摄像头流配置](https://docs.qualcomm.com/bundle/publicresource/80-70022-50SC/topics/camera-stream-configuration.md) [Next Topic
摄像头切换](https://docs.qualcomm.com/bundle/publicresource/80-70022-50SC/topics/camera-switch.md)