Hamish Willee 88d623bedb
Move PX4 Guide source into /docs (#24490)
* Add vitepress tree

* Update existing workflows so they dont trigger on changes in the docs path

* Add nojekyll, package.json, LICENCE etc

* Add crowdin docs upload/download scripts

* Add docs flaw checker workflows

* Used docs prefix for docs workflows

* Crowdin obvious fixes

* ci: docs move to self hosted runner

runs on a beefy server for faster builds

Signed-off-by: Ramon Roche <mrpollo@gmail.com>

* ci: don't run build action for docs or ci changes

Signed-off-by: Ramon Roche <mrpollo@gmail.com>

* ci: update runners

Signed-off-by: Ramon Roche <mrpollo@gmail.com>

* Add docs/en

* Add docs assets and scripts

* Fix up editlinks to point to PX4 sources

* Download just the translations that are supported

* Add translation sources for zh, uk, ko

* Update latest tranlsation and uorb graphs

* update vitepress to latest

---------

Signed-off-by: Ramon Roche <mrpollo@gmail.com>
Co-authored-by: Ramon Roche <mrpollo@gmail.com>
2025-03-13 16:08:27 +11:00

3.7 KiB

동영상 스트리밍 (보조 컴퓨터/QGroundControl)

PX4-based vehicles support video streaming using a camera connected to a companion computer.

:::info You can't video stream directly from a camera connected to PX4. :::

GStreamer is used to send the video to QGroundControl over an IP link. To support streaming use cases you will need to install GStreamer development packages on both your companion computer and on the system running QGroundControl. QGroundControl uses GStreamer 1.18.1 and a stripped down version of QtGstreamer to support UDP RTP and RSTP video streaming.

보조 컴퓨터 설정

You will need to install the GStreamer packages that match those used by QGC.

For a Ubuntu companion, a minimal set might be:

sudo apt install gstreamer1.0-plugins-bad gstreamer1.0-libav gstreamer1.0-gl -y

For the full set you can mirror the QGC dependencies installed by /tools/setup/install-dependencies-debian.sh. At time of writing this is:

DEBIAN_FRONTEND=noninteractive apt-get -y --quiet install \
    libgstreamer1.0-dev \
    libgstreamer-plugins-bad1.0-dev \
    libgstreamer-plugins-base1.0-dev \
    libgstreamer-plugins-good1.0-dev \
    libgstreamer-gl1.0-0 \
    gstreamer1.0-plugins-bad \
    gstreamer1.0-plugins-base \
    gstreamer1.0-plugins-good \
    gstreamer1.0-plugins-ugly \
    gstreamer1.0-plugins-rtp \
    gstreamer1.0-gl \
    gstreamer1.0-libav \
    gstreamer1.0-rtsp \
    gstreamer1.0-vaapi \
    gstreamer1.0-x

:::tip For other companion platforms you can mirror the instructions in the corresponding installation scripts. :::

General instructions for starting the stream on a companion computer are provided in the QGroundControl VideoReceiver GStreamer README.

The setup of cameras and data links depends on many factors. Examples in this library are listed below (note, these are options, not "recommended"):

QGC 설정

QGC로 비디오 스트리밍을 설정하고 사용하려면 :

  1. Install GStreamer if using Ubuntu QGC 4 release builds (or earlier)

    ::: tip All other QGroundControl builds include GStreamer binaries, including daily builds, release builds after version 4, and builds for other platforms include GStreamer binaries.

:::

Install the runtime dependencies using the command:

sudo apt install gstreamer1.0-plugins-bad gstreamer1.0-libav gstreamer1.0-gl -y
  1. Start QGC

  2. Enable video in Fly View: QGroundControl > General Settings (Settings View) > Video

  3. 모든 것이 정상적으로 작동하게 되면, QGC 비디오 스위처 (QGC Fly View 왼쪽 하단 모서리)에 비디오 스트림이 표시됩니다. 아래 스크린 샷과 같이 비디오 스위처를 클릭하여 비디오를 전체 화면으로 전환 수 있습니다.

    QGC displaying video stream

Gazebo Classic Simulation

Gazebo Classic supports video streaming from within the simulated environment. For more information see Gazebo Classic Simulation > Video Streaming.