# Camera encoding The **gst-camera-encode-example** application allows you to record and encode a single camera stream. qtiqmmfsrc capsfilter v4l2h264enc h264parse mp4mux filesink Qualcomm Open source **Figure : Pipeline for camera encoding** For information about the plugins used in this pipeline, see [Pipeline flow](https://docs.qualcomm.com/doc/80-80021-50/topic/camera-encode.html#section-nn5-cck-zcc). ## Run the application on the target device 1. Ensure that you complete the [Prerequisites](https://docs.qualcomm.com/doc/80-80021-50/topic/prerequisites-for-python-sample-applications.html). 2. Run the camera encode script: gst-camera-encode.py Copy to clipboard To display the available help options, run the following command: gst-camera-encode.py -h Copy 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-80021-50/topic/qtiqmmfsrc.html) | | | [v4l2h264enc](https://docs.qualcomm.com/doc/80-80021-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. | Last Published: Mar 26, 2026 [Previous Topic Prerequisites](https://docs.qualcomm.com/bundle/publicresource/80-80021-50/topics/prerequisites-for-python-sample-applications.md) [Next Topic Camera streaming using OpenCV](https://docs.qualcomm.com/bundle/publicresource/80-80021-50/topics/gst-camera-opencv-resize-py.md)