# Camera encoding Source: [https://docs.qualcomm.com/doc/80-70020-50/topic/camera-encode.html](https://docs.qualcomm.com/doc/80-70020-50/topic/camera-encode.html) The **gst-camera-encode-example** application allows you to record and encode a single camera stream. Note: This sample application isn't supported on Dragonwing IQ-8275 and Dragonwing IQ-9075. Figure : Pipeline for camera encoding For information about the plugins used in this pipeline, see [Pipeline flow](https://docs.qualcomm.com/doc/80-70020-50/topic/camera-encode.html#camera-encode__section_nn5_cck_zcc). ## Run the application on the target device 1. Ensure that you complete the [Prerequisites](https://docs.qualcomm.com/doc/80-70020-50/topic/prerequisites-for-python-sample-applications.html). 2. Run the camera encode script: gst-camera-encode.pyCopy to clipboard To display the available help options, run the following command: gst-camera-encode.py -hCopy to clipboard ## Expected output The output is saved in a file at /etc/media/recording.mp4 ## Pipeline flow The following table lists the plugins used in the camera encoding pipeline:| Plugin | Description | | :--- | :--- | | [qtiqmmfsrc](https://docs.qualcomm.com/doc/80-70020-50/topic/qtiqmmfsrc.html) | | | [v4l2h264enc](https://docs.qualcomm.com/doc/80-70020-50/topic/v4l2h264enc.html) | Encodes the video using the H.264 format. | | H264parse | Parses the video. | | Mp4mux | Multiplexes the video into an MP4 container. | | Filesink | Writes the video to a file. | **Parent Topic:** [Python applications](https://docs.qualcomm.com/doc/80-70020-50/topic/python-sample-applications.html) Last Published: Jan 30, 2026 [Previous Topic Prerequisites](https://docs.qualcomm.com/bundle/publicresource/80-70020-50/topics/prerequisites-for-python-sample-applications.md) [Next Topic Camera streaming using OpenCV](https://docs.qualcomm.com/bundle/publicresource/80-70020-50/topics/gst-camera-opencv-resize-py.md)