# Single stream from camera to RTSP with ML detection Source: [https://docs.qualcomm.com/doc/80-70022-50/topic/single-stream-from-camera-to-rtsp-with-ml-detection.html](https://docs.qualcomm.com/doc/80-70022-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 Qualcomm Open source qtiqmmfsrc v4l2h264enc h264parse qtirtspbin GST BIN 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-70022-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 Qualcomm Open source qtiqmmfsrc tee qtimlvconverter qtimltflite qtimlpostprocess v4l2h264enc h264parse qtirtspbin qtirtspbin GST BIN Figure : Preview with RTSP source Qualcomm Open source rtspsrc rtph264depay rtspsrc rtpgstdepay h264parse v4l2h264dec qtimetamux qtivoverlay waylandsink GST BIN **In console 1:** gst-launch-1.0 -e qtiqmmfsrc ! video/x-raw,format=NV12,width=1280,height=720,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 ! \ qtimlpostprocess results=5 settings="{\"confidence\": 50.0}" module=yolov8 labels=/etc/labels/yolov8.json ! video/x-raw,format=BGRA,width=640,height=360 ! queue ! mixer.Copy to clipboard ## Related information [qtirtspbin](https://docs.qualcomm.com/doc/80-70022-50/topic/qtirtspbin.html) **Parent Topic:** [LiteRT use cases](https://docs.qualcomm.com/doc/80-70022-50/topic/tensorflow-lite-use-cases.html) Last Published: Feb 20, 2026 [Previous Topic Video super resolution and display with LiteRT](https://docs.qualcomm.com/bundle/publicresource/80-70022-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-70022-50/topics/qualcomm-neural-processing-sdk-use-cases.md)