# Camera burst capture
Source: [https://docs.qualcomm.com/doc/80-70020-50/topic/camera-burst-capture.html](https://docs.qualcomm.com/doc/80-70020-50/topic/camera-burst-capture.html)
The **gst-camera-burst-capture-example** application allows you to capture
snapshots in the Burst mode. It captures five burst snapshots delayed by a 10-second timer
and displays the snapshots on a screen.
Note: This sample application isn't supported on Dragonwing
IQ-8275 and Dragonwing IQ-9075.
The following figure shows the pipeline, which captures the snapshots and processes them
in using one of the following three branches:
- They're displayed on the screen.
- They're encoded and saved to a file.
- They're saved to a buffer and based on the capture format (BAYER/RAW/JPEG), saved to
the device storage.
For more information about the plugins used in the pipeline, see [Pipeline flow](https://docs.qualcomm.com/doc/80-70020-50/topic/camera-burst-capture.html#camera-burst-capture__section_cjm_kcb_pbc).
Figure : gst-camera-burst-capture-example pipeline
## Prerequisites
- [Get started with the Qualcomm IM SDK](https://docs.qualcomm.com/bundle/publicresource/topics/80-70020-51/install-sdk.html)
for your Qualcomm Linux 1.5 or Ubuntu Server.
- Activate SSH on your Qualcomm Linux or Ubuntu to sign in with SSH and connect to
the target device. For instructions see:
- [Sign in using SSH](https://docs.qualcomm.com/bundle/publicresource/topics/80-70020-254/how_to.html#use-ssh) for Qualcomm
Linux
- [Sign in using SSH](https://docs.qualcomm.com/bundle/publicresource/topics/80-90441-1/Use_Ubuntu_on_RB3_Gen2_3.html#sign-in-to-the-rb3-gen-2-console-using-ssh) for Ubuntu
Server
Note: If SSH is already set up and Wi-Fi is
connected, skip this step.
- Use the HDMI port to connect the display to the device. For instructions, see
[Set up HDMI display](https://docs.qualcomm.com/bundle/publicresource/topics/80-70020-18/samples.html).
- Sign in to the target device using SSH.
- In the terminal of the target device, run the following commands from the SSH
shell of the target device to activate the display on the host computer:
- For
Linux:
export XDG_RUNTIME_DIR=/dev/socket/weston && export WAYLAND_DISPLAY=wayland-1Copy to clipboard
- For Ubuntu Server:
export XDG_RUNTIME_DIR=/run/user/$(id -u ubuntu)/ && export WAYLAND_DISPLAY=wayland-1 Copy to clipboard
- Connect the speaker to activate the audio on the target device. For
instructions, see [Set up audio hardware](https://docs.qualcomm.com/bundle/publicresource/topics/80-70020-16/enable-audio.html).
If you face
issues in recording the audio, run the following command in the terminal of
the target
device:
pactl set-default-source pal_source_speaker_micCopy to clipboard
- If you face issues with the camera or display, see [Camera troubleshooting](https://docs.qualcomm.com/bundle/publicresource/topics/80-70020-17/troubleshooting.html) and [Display troubleshooting](https://docs.qualcomm.com/bundle/publicresource/topics/80-70020-18/debug.html).
## Run the application
1. In the terminal of the target device, run the respective command for any of the
following use cases:
- Display stream and JPEG
capture:
gst-camera-burst-capture-example -w 1280 -h 720 -p 1 -c 0Copy to clipboard
- Encode stream and JPEG
capture:
gst-camera-burst-capture-example -w 1280 -h 720 -p 0 -c 0Copy to clipboard
2. To stop the use case, use CTRL +
C.
3. In the terminal of the target device, run the following command in the SSH
shell to display the available help
options:
gst-camera-burst-capture-example --helpCopy to clipboard
4. In the terminal of the host computer, run the following command to pull the
files from the target
device:
scp root@:/etc/media/Copy to clipboard
## Expected output
- If you choose to display the stream, the snapshots are displayed on the
screen.
- If you choose to encode the stream, the encoded stream is saved at
/etc/media/video\_%d.mp4.
## Pipeline flow
The following table lists the plugins used in the camera burst capture
pipeline:| Pipeline | Description |
| --- | --- |
| Display preview |
qtiqmmfsrc captures the camera live stream and uses capsfilter to create a branch for preview.
The data is sent to the Wayland display sink (Waylandsink) for preview.
|
| Encode and save to a file |
qtiqmmfsrc captures the camera live stream and uses capsfilter to create a branch for encoding.
The snapshots are encoded.
H264parse is used to parse the captured data.
Mp4mux is used to multiplex the data.
|
| BAYER/RAW/JPEG dump |
qtiqmmfsrc captures the camera live stream and uses capsfilter to create a branch for preview.
Appsink is used to capture callback and save the snapshots in the storage dump.
|
## Known issue
The test cases for 144p and 240p resolutions are failing.
**Parent Topic:** [Run sample applications for a camera](https://docs.qualcomm.com/doc/80-70020-50/topic/camera-sample-applications.html)
Last Published: Jan 30, 2026
[Previous Topic
Camera stream configuration](https://docs.qualcomm.com/bundle/publicresource/80-70020-50/topics/camera-stream-configuration.md) [Next Topic
Camera switch](https://docs.qualcomm.com/bundle/publicresource/80-70020-50/topics/camera-switch.md)