# Single stream from camera to RTSP with ML detection Source: [https://docs.qualcomm.com/doc/80-70020-50/topic/single-stream-from-camera-to-rtsp-with-ml-detection.html](https://docs.qualcomm.com/doc/80-70020-50/topic/single-stream-from-camera-to-rtsp-with-ml-detection.html) Play a stream from the camera through RTSP on a media player (such as VLC). - Single stream from camera to the RTSP: Figure : Pipeline for camera to RTSP gst-launch-1.0 -e qtiqmmfsrc ! video/x-raw,format=NV12_Q08C,width=1920,height=1080,framerate=30/1 ! \ v4l2h264enc capture-io-mode=4 output-io-mode=5 ! queue ! h264parse config-interval=1 ! queue ! qtirtspbin address= port=Copy to clipboard Connect to the stream. For more information, see [RTSP stream on host computer](https://docs.qualcomm.com/doc/80-70020-50/topic/camera-and-video-encode.html#one_stream_1080p_avc_rtsp_from_live_source__section_ayq_2nh_pyb). - Single stream from camera to the RTSP with ML detection meta stream: Figure : Pipeline for camera to RTSP with ML detection Figure : Preview with RTSP source **In console 1:** gst-launch-1.0 -e qtiqmmfsrc ! video/x-raw,format=NV12,width=1920,height=1080,framerate=30/1 ! queue ! tee name=split \ split. ! queue ! qtivcomposer name=mixer ! queue ! v4l2h264enc capture-io-mode=4 output-io-mode=5 ! queue ! h264parse config-interval=-1 ! queue ! \ qtirtspbin address= port= \ split. ! queue ! qtimlvconverter ! queue ! qtimltflite delegate=external external-delegate-path=libQnnTFLiteDelegate.so \ external-delegate-options="QNNExternalDelegate,backend_type=htp;" model=/etc/models/yolov8_det_quantized.tflite ! queue ! \ qtimlvdetection threshold=70.0 results=5 module=yolov8 labels=/etc/labels/yolov8.labels \ constants="yolov8,q-offsets=<21.0, 0.0, 0.0>,q-scales=<3.0546178817749023, 0.003793874057009816, 1.0>;" ! video/x-raw,format=BGRA,width=640,height=360 ! queue ! mixer.Copy to clipboard ## Related information [qtirtspbin](https://docs.qualcomm.com/doc/80-70020-50/topic/qtirtspbin.html) **Parent Topic:** [LiteRT use cases](https://docs.qualcomm.com/doc/80-70020-50/topic/tensorflow-lite-use-cases.html) Last Published: Jan 30, 2026 [Previous Topic Video super resolution and display with LiteRT](https://docs.qualcomm.com/bundle/publicresource/80-70020-50/topics/video-super-resolution-and-display-with-litert.md) [Next Topic Qualcomm Neural Processing SDK use cases](https://docs.qualcomm.com/bundle/publicresource/80-70020-50/topics/qualcomm-neural-processing-sdk-use-cases.md)