i have Navio2 on a raspberry pi 3 +b and i am using the latest image that you provide.
This comes with gstreamer v1.14 installed. My goal is to stream video in 4g network through Gstreamer but instead of using in the gstreamer command the raspivid element I would like to use the rpicamsrc element… All people say that it is far superior than raspivid… Furthermore, I would also like to use the SRT protocol for streaming through Gstreamer which is so much faster.
Gstreamer v1.18 includes the raspicam and you dont need to install it manually. SRT has to be built from sources and I was able to do that… But unfortunately I cannot build from sources Gstreamer 1.18… The instructions are too advanced and its so difficult for someone like me without any knowledge and experience on building from sources…
Unfortunately, by using the sudo apt-get install gstreamer1.0 command does not install the latest 1.18… SO i gues the latest available gstreamer version in the repositories is v1.14.
There is a nice guide that i found in github.com https://github.com/PietroAvolio/Building-Gstreamer-Raspberry-Pi-With-SRT-Support . One guy wrote a guide on how to install raspicam, SRT and then how to update gstreamer by executing a script… Unfortunately, this guide does not work anymore. It worked for version 1.16 of gstreamer, but v1.16 has a bug and it does not allow to use the SRT protocol…
Could you please guide me with simple 1, 2, 3 … steps the commands that I need to execute in order to install gstreamer v1.18 ? All attempts I have tried to do this failed because i dont have any knowledge on that. I haven’t found any useful help on Gstreamer forums… All expert guys there seem so busy and snob to exlpain very simple steps for novice users.
Ideally, it would be great if in the image you provide you could include Gstreamer v1.18… v1.14 is quite old…
Thanks a lot in advance for your help…
I have found a repository that already has the latest gstreamer v1.18 for Debian Buster…
I have added this repository on my /etc/apt/sources.list.d/ directory but when using the command sudo apt-get install gstreamer1.0 it keeps trying to install v1.14 from the main raspbian repositories.
can someone help on how we could install gstreamer from this repository ?
I have managed to install the latest gstreamer v1.18.3 using this repository https://build.opensuse.org/project/show/home:den_erpel… I followerd the below steps as described also in the repository
- Create an SD card with the raspbian OS image provided by emlid
- Create a file named gstreamer.list within /etc/apt/sources.list.d/ directory. In the gstreamer.list file add the line deb http://download.opensuse.org/repositories/home:/den_erpel/Debian_10/ ./
- Create a file with name _pubkey within /home/pi/ directory. In the file add all the lines as
-----BEGIN PGP PUBLIC KEY BLOCK-----
Version: GnuPG v2.0.15 (GNU/Linux)
-----END PGP PUBLIC KEY BLOCK-----
4. Run command sudo apt-key add _pubkey
5. Create file with name 99buster-erpel within /etc/apt/preferences.d/ directory. In the 99buster-erpel file add the lines
Pin: origin download.opensuse.org
6. Run command sudo apt-get update && apt-get dist-upgrade
Tha gstreamer should get updated
Thanks for sharing the solution!