# Multistream
Source: [https://docs.qualcomm.com/doc/80-70022-50/topic/gst-multi-stream-example.html](https://docs.qualcomm.com/doc/80-70022-50/topic/gst-multi-stream-example.html)
The **gst-multi-stream-example** application allows you to access several streams
from a single camera and either display them simultaneously on a screen or save them in MP4
format.
For example, you can use this application for a camera security system where the video is
captured from a camera. This video can be simultaneously streamed over a network,
displayed on a monitor, and archived for future review.
The figure shows the pipeline, which is run with flags to specify width, height, stream
count, and output file.
For more information, see [Pipeline flow](https://docs.qualcomm.com/doc/80-70022-50/topic/gst-multi-stream-example.html#gst-multi-stream-example__section_erp_x1y_nbc).
Figure : gst-multi-stream-example pipeline
## Run the application
1. Ensure that you complete the [Prerequisites](https://docs.qualcomm.com/doc/80-70022-50/topic/mm_sample_apps_prerequisites.html).
2. In the terminal of the target device, run the use
case:
gst-multi-stream-example -w 1920 -h 1080 -n 2Copy to clipboard
3. To stop the use case, use CTRL +
C.
4. In the terminal of the target device, run the following command in the SSH shell
to display the available help
options:
gst-multi-stream-example --helpCopy to clipboard
5. 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
The output streams are displayed simultaneously on the screen or saved to a file.
Figure : Expected output for gst-multi-stream-example application - Preview

## Pipeline flow
The following table lists the plugins used in the multistream pipeline:
| Plugin | Description |
| --- | --- |
| [qtiqmmfsrc](https://docs.qualcomm.com/doc/80-70022-50/topic/qtiqmmfsrc.html) | Captures the video stream and feeds it into the capsfilter. |
| Capsfilter | Branches the source into two separate pipelines. In one pipeline, the output is sent to [Waylandsink](https://docs.qualcomm.com/doc/80-70022-50/topic/waylandsink.html) for display. |
| Capsfilter |
In the other pipeline, the video undergoes the following:
|
| | |
## Known issue
The default bit rate for the encoded video is configured to a low setting, leading to
reduced quality at higher resolutions.
**Parent Topic:** [Run sample applications for a camera](https://docs.qualcomm.com/doc/80-70022-50/topic/camera-sample-applications.html)
Last Published: Feb 20, 2026
[Previous Topic
Multi-camera streaming](https://docs.qualcomm.com/bundle/publicresource/80-70022-50/topics/gst-multi-camera-stream-example.md) [Next Topic
Live snapshot](https://docs.qualcomm.com/bundle/publicresource/80-70022-50/topics/gst-snapshot-stream-example.md)