# Camera switch The **gst-camera-switch-example** application allows you to switch between two cameras. The following figure shows the pipeline, which demonstrates the camera switch between the two cameras of the device without changing the state of the pipeline. The switching is done in the Playing state after every 5 seconds. For more information about the plugins used in this pipeline, see [Pipeline flow](https://docs.qualcomm.com/doc/80-80021-50/topic/camera-switch.html#section-bk4-zjb-pbc). qtiqmmfsrc capsfilter Waylandsink capsfilter encoder h264parse mp4mux filesink Qualcomm Open source **Figure : gst-camera-switch-example pipeline** ## Run the application 1. Ensure that you complete the [Prerequisites](https://docs.qualcomm.com/doc/80-80021-50/topic/mm_sample_apps_prerequisites.html). 2. In the terminal of the target device, run the respective command for any of the following use cases: - Camera switch: gst-camera-switch-example