I’m very inexperience with Linux, and was hoping someone could help me out setting up GStreamer on my RPi2. I’ve downloaded the latest image for Navio 2 and followed the instructions in the docs:
It fails to download some files during the install. Any tips on how I fix this?
(I’ve tried other methods of installing it, but all with the same result)
I’m not running an Navio2 but that missing h264parse was something i had difficulty with on Navio+. It doesn’t look exactly like your issue as mine was not installing but maybe something here applies for you as well. See this thread–> [SOLVED] Video streaming with gstreamer
That’d be very strange, if the exact same solution worked, because the testing repository at the time had corresponded very closely to the current jessie release. I also had known that testing was going to be named stable very soon, that’s why I could’ve more or less safely recommend people to dist-upgrade. That’s not the case now, because the gap between jessie and stretch (that’s the codename for next Debian release) is way more drastic. So the dist-upgrade is not safe at all.
I had similar problems, I followed the instructions provided and had a similar h264 error. But today I reinstalled (without removing) all on the gstreamer plug-ins (good, bad, ugly) & libav, and many additional elements where installed. Streaming is now working perfectly with the provided command line.
Tried a few more times with a clean new image (RT for NAVIO 2), same result.
Tried with the normal (not RT) image and with this the camera works.
So I guess there are some files or settings missing.
Thanks for looking into it!
@george.staroselskiy how should I start the raspivid and gstreamer on boot? Putting the command in /etc/rc.local starts the raspivid bud gstreamer does not transmit. The same command deos work then executed manualy after boot. Any ideas?
I reinstalled everything one more time using your suggestion Bernt, I tried your simpler install earlier without success,but this time it worked! (perhaps some of the servers were down the first time I tried, not sure)
Starting with the RT image from the Navio2 docs:
sudo raspi-config (INCREASE DISK SIZE AND ENABLE CAMERA, THEN REBOOT)
sudo apt-get update
sudo apt-get install gstreamer1.0 (TAKES A LONG TIME)
have you tried video over the 4g connection with those settings? I can do it perfectly over wifi but not over 4g, its extremely laggy. When i ping navio on 4g the time is between 150ms and 500ms