# AI smart codec
Source: [https://docs.qualcomm.com/doc/80-70022-50/topic/ai-smart-codec.html](https://docs.qualcomm.com/doc/80-70022-50/topic/ai-smart-codec.html)
The **gst-ai-smartcodec-example** application reduces network bandwidth and
storage resources for input from a camera or a file source.
## Sample model and label files
Table : Sample model and label files for gst-ai-smartcodec-example
| Runtime | Model files | Label files |
| :--- | :--- | :--- |
| LiteRT | YOLOv8-Detection-Quantized.tflite | coco_labels.txt |
## Run the application on the target device
For model and label files, see [Sample model and label files](https://docs.qualcomm.com/doc/80-70022-50/topic/ai-smart-codec.html#ai-smart-codec__section_lb3_1th_4dc).
1. Ensure that you complete the [Prerequisites](https://docs.qualcomm.com/doc/80-70022-50/topic/download-model-and-label-files.html).
2. Use one of the following sources to run the application:
- Run the application with a camera
source:
gst-ai-smartcodec-example -w 640 -h 480 -o output.mp4 -m /etc/models/YOLOv8-Detection-Quantized.tflite -l /etc/labels/coco_labels.txtCopy to clipboard
- Run the application with a file
source:
gst-ai-smartcodec-example -i /etc/media/video.mp4 -o output.mp4 -m /etc/models/YOLOv8-Detection-Quantized.tflite -l /etc/labels/coco_labels.txtCopy to clipboard
3. To display the available help options, run the following commands in the SSH
shell:
gst-ai-smartcodec-example --helpCopy to clipboard
4. To stop the use case, use CTRL +
C.
## Expected output
The application generates the output as an encoded MP4 file.
## Related information
[Smart codec](https://docs.qualcomm.com/doc/80-70022-50/topic/smart-codec.html)
**Parent Topic:** [Run AI/ML sample applications](https://docs.qualcomm.com/doc/80-70022-50/topic/ai-ml-sample-applications.html)
Last Published: Feb 20, 2026
[Previous Topic
Multistream batch inference](https://docs.qualcomm.com/bundle/publicresource/80-70022-50/topics/multistream-batch-inference.md) [Next Topic
Face detection](https://docs.qualcomm.com/bundle/publicresource/80-70022-50/topics/gst-ai-face-detection.md)