# Video stream into QGC

**URL:** <https://discuss.px4.io/t/video-stream-into-qgc/32067>\
**Category:** PX4 Autopilot\
**Created:** [May 4, 2023, 11:21am UTC](https://discuss.px4.io/t/video-stream-into-qgc/32067 "2023-05-04T11:21:25Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![Lukas](https://discuss.px4.io/letter_avatar_proxy/v4/letter/l/e9a140/32.png) [@Lukas](https://discuss.px4.io/u/Lukas)\
**Post date:** [May 4, 2023, 11:21am UTC](https://discuss.px4.io/t/video-stream-into-qgc/32067/1 "2023-05-04T11:21:25Z")

</div>

Hi another day = another issue and questions 🙂  
I would like to ask for help with streaming a vide from simulated camera into QGC.  
I believe there is no plugin to stream a video while using new Gazebo with ubuntu 22.04 or is it? Or can I somehow enable it with x500\_vision?  
But I am unable to stream any video with old gazebo neither. I tried to use following docker image [GitHub - JonasVautherin/px4-gazebo-headless: An unofficial Ubuntu-based container building and running PX4 SITL (Software In The Loop) through gazebo.](https://github.com/JonasVautherin/px4-gazebo-headless#exposing-a-video-stream) with this command, but still I am unable to see anything in QGC. I did set the QGC camera port to the one from the image and still nothing.  
I have my own docker image and I am able to connect and flight the simulated drone from it, but again I am unable to get any video stream (using [https://docs.px4.io/main/en/sim\_gazebo\_classic/gazebo\_vehicles.html#typhoon-h480-hexrotor](https://docs.px4.io/main/en/sim_gazebo_classic/gazebo_vehicles.html#typhoon-h480-hexrotor) model)  
I am not sure how to understand and how to use following [Simulation | PX4 Guide (main)](https://docs.px4.io/main/en/simulation/#camera-simulation)  
based on instructions ([Gazebo Simulation | PX4 User Guide (v1.12)](https://docs.px4.io/v1.12/en/simulation/gazebo.html#start-stop-video-streaming)) I should see Video ON/Off button in gazebo GUI, but I dont.

 ![image](https://discuss.px4.io/uploads/default/original/2X/b/b6597538d123dd75c902c5f65587f24496df0cc8.jpeg)

What can be wrong here?

Can anyone help pls?

---

<div class="post-metadata">

**Author:** ![Lukas](https://discuss.px4.io/letter_avatar_proxy/v4/letter/l/e9a140/32.png) [@Lukas](https://discuss.px4.io/u/Lukas)\
**Post date:** [May 12, 2023, 9:54am UTC](https://discuss.px4.io/t/video-stream-into-qgc/32067/2 "2023-05-12T09:54:37Z")

</div>

Well, I have update if anyone intersted 🙂  
I have installed gstreamer1.0-tools on my local machine and I am able to see the Vide: On/Off button finally. But still no stream into QGC. I am on ubuntu 22.04 and the simulation is running on ubuntu 20.04 and appearently there is a change in gstreamer library between those two so I am not sure if it is compatible now or not.

 ![image](https://discuss.px4.io/uploads/default/original/2X/3/3c1d37fabe5c8b55cbd5e5d5600158366779b618.jpeg)

I have found video with working camera and stream and gimbal simulation [Simulated Workflows using Software-In-The-Loop Simulations — PX4 Developer Summit Virtual 2020 - YouTube](https://youtu.be/60SX8pwYLUc?t=155)  
Can anyone help me to understand how to achieve this state? It seems it shall be ready in 2020. But I am unbale to find anything about how to start it.

---

<div class="post-metadata">

**Author:** ![Lukas](https://discuss.px4.io/letter_avatar_proxy/v4/letter/l/e9a140/32.png) [@Lukas](https://discuss.px4.io/u/Lukas)\
**Post date:** [May 16, 2023, 9:27am UTC](https://discuss.px4.io/t/video-stream-into-qgc/32067/3 "2023-05-16T09:27:51Z")

</div>

It seems there needs to be reverse proxy service created to forward the data from docker port to QGC port.

---

<div class="post-metadata">

**Author:** ![Lukas](https://discuss.px4.io/letter_avatar_proxy/v4/letter/l/e9a140/32.png) [@Lukas](https://discuss.px4.io/u/Lukas)\
**Post date:** [May 31, 2023, 12:15pm UTC](https://discuss.px4.io/t/video-stream-into-qgc/32067/4 "2023-05-31T12:15:04Z")

</div>

ok, the solution is, that in the jinja file for model it needs to say for gst\_camera\_plugin udpHost = host.docker.internal and it starts to work 🙂
