# 在 QIM 容器中运行摄像头用例

Source: [https://docs.qualcomm.com/doc/80-70022-50SC/topic/container-use-cases-camera.html](https://docs.qualcomm.com/doc/80-70022-50SC/topic/container-use-cases-camera.html)

1. 在目标设备的终端中，运行以下命令以激活显示器：

        export XDG_RUNTIME_DIR=/dev/socket/weston && export WAYLAND_DISPLAY=wayland-1Copy to clipboard
2. 例如，在目标设备上运行来自实时源的单个 1080p YUV 流的用例：

        gst-launch-1.0 -e qtiqmmfsrc name=camsrc video_1::type=preview ! video/x-raw,format=NV12,width=1920,height=1080,framerate=30/1,interlace-mode=progressive,colorimetry=bt601 ! waylandsink fullscreen=true sync=falseCopy to clipboard

    如需了解更多用例，请参阅[运行多媒体用例](https://docs.qualcomm.com/doc/80-70022-50SC/topic/multimedia-use-cases.html)。

**Parent Topic:** [将 Qualcomm IM SDK 部署为容器](https://docs.qualcomm.com/doc/80-70022-50SC/topic/application-deployment-within-container-api-gstd.html)

Last Published: Nov 05, 2025

[Previous Topic
运行 Docker 镜像来执行多媒体/AI 用例](https://docs.qualcomm.com/bundle/publicresource/80-70022-50SC/topics/container-use-cases-for-camera.md) [Next Topic
运行 GStD 的 Docker 镜像](https://docs.qualcomm.com/bundle/publicresource/80-70022-50SC/topics/container-use-cases-for-video-encode-and-ai-pipelines.md)