# Cannont get video from the BlueROV2

**URL:** <https://discuss.bluerobotics.com/t/cannont-get-video-from-the-bluerov2/4601>\
**Category:** Blue Robotics Software\
**Created:** [March 13, 2019, 12:30pm UTC](https://discuss.bluerobotics.com/t/cannont-get-video-from-the-bluerov2/4601 "2019-03-13T12:30:32Z")\
**Posts on this page:** 11\
**Page:** 1

<div class="post-metadata">

**Author:** ![iamsorry](https://avatars.discourse-cdn.com/v4/letter/i/0ea827/32.png) [@iamsorry](https://discuss.bluerobotics.com/u/iamsorry)\
**Post date:** [March 13, 2019, 12:30pm UTC](https://discuss.bluerobotics.com/t/cannont-get-video-from-the-bluerov2/4601/1 "2019-03-13T12:30:32Z")

</div>

Hi,  
I am a new user of the BlueROV2. When I connect the ROV with my computer(which is working on Ubuntu 16.04) and I open the QGroudControl, there are no video input from the BlueROV. When I check the console output, there are error message of “VideoReceiver::start() failed. Error with gst\_element\_factory\_make(‘avdec\_h264’)”. I have used the `apt install gstreamer1.0-plugins-bad gstreamer1.0-libav` command, however it is not working. When I connect the ROV with other computer working on windows and MacOS, everything works well. Can anyone suggest a way to trace the problem? And if everything failed, how can I restore QGround Control?

---

<div class="post-metadata">

**Author:** ![patrickelectric](https://sea1.discourse-cdn.com/flex019/user_avatar/discuss.bluerobotics.com/patrickelectric/32/2162_2.png) [@patrickelectric](https://discuss.bluerobotics.com/u/patrickelectric)\
**Post date:** [March 13, 2019, 12:53pm UTC](https://discuss.bluerobotics.com/t/cannont-get-video-from-the-bluerov2/4601/2 "2019-03-13T12:53:46Z")

</div>

Hi,

Are you using QGC with AppImage ? Please, download the [last version here](https://github.com/bluerobotics/qgroundcontrol/releases/tag/v3.2.4-BlueRobotics-Rev6).  
QGC is a standalone application and no library installation should be necessary.

---

<div class="post-metadata">

**Author:** ![iamsorry](https://avatars.discourse-cdn.com/v4/letter/i/0ea827/32.png) [@iamsorry](https://discuss.bluerobotics.com/u/iamsorry)\
**Post date:** [March 13, 2019, 1:05pm UTC](https://discuss.bluerobotics.com/t/cannont-get-video-from-the-bluerov2/4601/4 "2019-03-13T13:05:54Z")

</div>

I installed the QGC from the ardusub gitbook [Installation | ardusub-gitbook](https://www.ardusub.com/getting-started/installation.html) . The most confusing part is I am using dual boot for my computer and when I run QGC on the windows 10, it works fine. But when I work on Ubuntu 16.04, the video cannot be captured from the BlueROV.

---

<div class="post-metadata">

**Author:** ![williangalvani](https://avatars.discourse-cdn.com/v4/letter/w/6f9a4e/32.png) [@williangalvani](https://discuss.bluerobotics.com/u/williangalvani)\
**Post date:** [March 13, 2019, 1:55pm UTC](https://discuss.bluerobotics.com/t/cannont-get-video-from-the-bluerov2/4601/5 "2019-03-13T13:55:15Z")

</div>

Hello,

Can you run [these commands](https://github.com/mavlink/qgroundcontrol/tree/master/src/VideoStreaming#linux) and check if it helps?

---

<div class="post-metadata">

**Author:** ![iamsorry](https://avatars.discourse-cdn.com/v4/letter/i/0ea827/32.png) [@iamsorry](https://discuss.bluerobotics.com/u/iamsorry)\
**Post date:** [March 13, 2019, 2:13pm UTC](https://discuss.bluerobotics.com/t/cannont-get-video-from-the-bluerov2/4601/6 "2019-03-13T14:13:07Z")

</div>

Thank you for all your help. I’ve tried to install gstreamer by all these commands

```auto
list=$(apt-cache --names-only search ^gstreamer1.0-* | awk '{ print $1 }' | grep -v gstreamer1.0-hybris)

```

```auto
sudo apt-get install $list

```

```auto
sudo apt-get install libgstreamer-plugins-base1.0-dev

```

However, the problem remains the same. The console keep reporting “VideoReceiver::start() failed. Error with gst\_element\_factory\_make(‘avdec\_h264’)”  
I am wondering if this is the configuration problem for the Ubuntu? As I can control the ROV, I am quite sure that I have established a valid connection with the ROV but not for video streaming ☹

---

<div class="post-metadata">

**Author:** ![williangalvani](https://avatars.discourse-cdn.com/v4/letter/w/6f9a4e/32.png) [@williangalvani](https://discuss.bluerobotics.com/u/williangalvani)\
**Post date:** [March 13, 2019, 2:28pm UTC](https://discuss.bluerobotics.com/t/cannont-get-video-from-the-bluerov2/4601/7 "2019-03-13T14:28:08Z")

</div>

This specific issue affects video only. For some reason gstreamer is unable to create the h264 decoder node.

What is your current hardware? Do you have a dedicated GPU? If so, what drivers are you using for it?

---

<div class="post-metadata">

**Author:** ![jwalser](https://sea1.discourse-cdn.com/flex019/user_avatar/discuss.bluerobotics.com/jwalser/32/2234_2.png) [@jwalser](https://discuss.bluerobotics.com/u/jwalser)\
**Post date:** [March 13, 2019, 3:27pm UTC](https://discuss.bluerobotics.com/t/cannont-get-video-from-the-bluerov2/4601/8 "2019-03-13T15:27:27Z")

</div>

```nohighlight
sudo apt install gstreamer1.0-libav gstreamer1.0-plugins-base gstreamer1.0-plugins-good gstreamer1.0-plugins-bad gstreamer1.0-plugins-ugly

```

---

<div class="post-metadata">

**Author:** ![iamsorry](https://avatars.discourse-cdn.com/v4/letter/i/0ea827/32.png) [@iamsorry](https://discuss.bluerobotics.com/u/iamsorry)\
**Post date:** [March 14, 2019, 3:45am UTC](https://discuss.bluerobotics.com/t/cannont-get-video-from-the-bluerov2/4601/9 "2019-03-14T03:45:40Z")

</div>

I have run `gst-inspect-1.0 avdec_h264` on the terminal. It returns "No such element or plugin ‘avdec\_h264’ ". I did a brief search on the internet but most of them suggested me to install the libraries which I have already installed. What will you suggest me to try next? Should I uninstall all the related gstreamer files and re-install them?

---

<div class="post-metadata">

**Author:** ![iamsorry](https://avatars.discourse-cdn.com/v4/letter/i/0ea827/32.png) [@iamsorry](https://discuss.bluerobotics.com/u/iamsorry)\
**Post date:** [March 15, 2019, 11:13am UTC](https://discuss.bluerobotics.com/t/cannont-get-video-from-the-bluerov2/4601/10 "2019-03-15T11:13:41Z")

</div>

@williangalvani @patrickelectric @jwalser Thank you for all your help. I have reinstall the whole system and with the libraries installed, it works! 😄

---

<div class="post-metadata">

**Author:** ![williangalvani](https://avatars.discourse-cdn.com/v4/letter/w/6f9a4e/32.png) [@williangalvani](https://discuss.bluerobotics.com/u/williangalvani)\
**Post date:** [March 16, 2019, 4:04pm UTC](https://discuss.bluerobotics.com/t/cannont-get-video-from-the-bluerov2/4601/11 "2019-03-16T16:04:00Z")

</div>

I am glad you managed to get it working.  
I tested in a Ubuntu 16.04 VM here and all it took was `apt install gstreamer1.0-plugins-bad gstreamer1.0-libav`.  
Maybe something got corrupted in your install. If you see something like this again, I suggest reinstalling the packages above using the same command with the `--reinstall` flag.

---

<div class="post-metadata">

**Author:** ![williangalvani](https://avatars.discourse-cdn.com/v4/letter/w/6f9a4e/32.png) [@williangalvani](https://discuss.bluerobotics.com/u/williangalvani)\
**Post date:** [March 16, 2019, 4:04pm UTC](https://discuss.bluerobotics.com/t/cannont-get-video-from-the-bluerov2/4601/12 "2019-03-16T16:04:02Z")

</div>

I am glad you managed to get it working.  
I tested in a Ubuntu 16.04 VM here and all it took was `apt install gstreamer1.0-plugins-bad gstreamer1.0-libav`.  
Maybe something got corrupted in your install. If you see something like this again, I suggest reinstalling the packages above using the same command with the `--reinstall` flag.
