# Using GStreamer with Jetson Nano to replace Raspberry

**URL:** <https://discuss.bluerobotics.com/t/using-gstreamer-with-jetson-nano-to-replace-raspberry/11404>\
**Category:** Companion (Retired)\
**Created:** [January 23, 2022, 7:36pm UTC](https://discuss.bluerobotics.com/t/using-gstreamer-with-jetson-nano-to-replace-raspberry/11404 "2022-01-23T19:36:00Z")\
**Posts on this page:** 1\
**Showing post:** 2

<div class="post-metadata">

**Author:** ![EliotBR](https://sea1.discourse-cdn.com/flex019/user_avatar/discuss.bluerobotics.com/eliotbr/32/6937_2.png) [@EliotBR](https://discuss.bluerobotics.com/u/EliotBR)\
**Post date:** [January 24, 2022, 1:01am UTC](https://discuss.bluerobotics.com/t/using-gstreamer-with-jetson-nano-to-replace-raspberry/11404/2 "2022-01-24T01:01:38Z")

</div>

Hi @MemeOverload, welcome to the forum 🙂

> [@MemeOverload](#):
>
> I am trying to send live footage using BlueRobotics’ low light usb camera from Jetson to a surface computer using python’s socket library.

It’s definitely better to use gstreamer or ffmpeg or similar here, reading in the data with Python (and especially decoding + re-encoding it with OpenCV) will certainly slow things down unnecessarily. The only reason you might want Python+OpenCV involved is if you want to do some processing on the video, otherwise I’d recommend one of the other [alternatives for receiving a stream](https://discuss.bluerobotics.com/t/how-to-stream-another-cameras-video/9573/3#receiving-the-stream-7).

> [@MemeOverload](#):
>
> Can you show me where the gstreamer code is located in companion software?

On our stable [Companion](https://github.com/bluerobotics/companion) software

1. [`.companion.rc` starts the `video` service](https://github.com/bluerobotics/companion/blob/master/.companion.rc#L18)
2. [`streamer.py` is in charge of restarting the video stream if it fails/closes](https://github.com/bluerobotics/companion/blob/master/tools/streamer.py)
3. `start_video.sh` [confirms the camera is valid and working](https://github.com/bluerobotics/companion/blob/master/scripts/start_video.sh#L24-L50) and [starts the gstreamer pipeline](https://github.com/bluerobotics/companion/blob/master/scripts/start_video.sh#L56-L57)

In our new [Companion Beta](https://discuss.bluerobotics.com/t/companion-1-0-beta-testing/10830) software

1. [`core` runs](https://github.com/bluerobotics/companion-docker/blob/master/core/Dockerfile#L15) the [mavlink camera manager tool](https://github.com/bluerobotics/companion-docker/blob/master/core/tools/mavlink_camera_manager/bootstrap.sh)
2. [the camera manager](https://github.com/bluerobotics/mavlink-camera-manager) handles video streams, and presents them via MAVLink to the ground control station for switching between them (requires the QGC `master`, and requires the user to specify which cameras they want to stream, via the web interface)

---

_[View the full topic](https://discuss.bluerobotics.com/t/using-gstreamer-with-jetson-nano-to-replace-raspberry/11404)._
