gst-launch-1.0 and GStreamer version mismatch - gstreamer

I am using this script to install version 1.14 of GStreamer on a Raspberry Pi.
https://gist.github.com/Swap-File/d8511128930c93281f36f18d634f6748
I completely uninstall GStreamer from the pi before running the script.
The script clones gstreamer and a bunch of other related repos (gst-plugins-base gst-plugins-good gst-plugins-bad gst-plugins-ugly gst-libav gst-omx gst-python gst-rtsp-server) checksout branch 1.14 and make installs them.The script completes with no issues.
After the script completes I check the version of GStreamer installed with
gst-launch-1.0 --version
It gives the output
gst-launch-1.0 version 1.14.2
GStreamer 1.10.4
Unknown package origin
My questions are:
Why is there a mismatch between gst-launch-1.0 and GStreamer versions?
How do I get gst-launch-1.0 to version 1.14?
PS: The aim of this exercise is to get the webrtcbin plugin working on a Pi.

Related

How to install the lustre client on Ubuntu nodes?

I am trying to install the lustre clients on Unbuntu 20.04 nodes I have in GCP. Im using linux kernel version 5.15.0-1021-gcp.
I'm trying to install the client with the following code:
cd /home/apps/
mkdir lustre
git clone git://git.whamcloud.com/fs/lustre-release.git
cd lustre-release
git checkout 2.15.0
sh autogen.sh
./configure --prefix=/home/apps/lustre --disable-server --enable-client ## doesnt run! Fails at ./configures with error message "error: Run make config in /lib/modules/5.15.0-1021-gcp/build"
make debs
The configure step fails with an error about running make config in /lib/modules/5.15.0-1021-gcp/build. I tried running make config in /lib/modules/5.15.0-1021-gcp/build but was asked to input some values that I was unsure of.
I also tried downloading the deb package of the client software at
https://downloads.whamcloud.com/public/lustre/lustre-2.15.0/ubuntu2004/client/lustre-client-modules-5.4.0-96-generic_2.15.0-1_amd64.deb. However this is for the wrong linux kernel and I'm not sure what env variables need to be set for this package.
Anyone know how to install the client modules for lustre on Ubuntu?
You need to have the kernel sources or kernel-devel package that exactly match the kernel that you are installing on. This should also include the .config file that describes all of the options used when building your kernel.
Alternately, you could try a pre-built package, but it isn't clear if this will install on your kernel or not.
https://build.whamcloud.com/job/lustre-b2_15/40/arch=x86_64,build_type=client,distro=ubuntu2204,ib_stack=inkernel/

How can i use expo cli with my smartphone on termux

Hello friends i'm new here.
I want to run react native project with my android but i got this error when i run expo cli on termux Error: Platform not supported
error illustration
Ps: i use TECNO SPARK 5 Pro with Android 10
I had the same problem. It was solved by reverting to version 4.2.1. Uninstall expo-cli and install expo-cli#4.2.1 .
You can create easyly by using simple trick
First you need to install one linus operating systeam (ubantu2.0) in your termux android application
*You can easyly install ubantu os with anylinux application just download from playstore *
After instaling the ubantu os in your android device then you need to install nodejs in your ubantu os inaide termux just type commend apt update && apt upgrade && apt install nodejs
After this commend you need to put one more command for instaling react -native(expo)
npm install -g expo-cli
If you face any problem then you need to upgrade your nodejs version with letest version with using nvm
Here is orginal documentation about letest version nodejs using nvm https://www.vultr.com/docs/install-nvm-and-node-js-on-ubuntu-20-04/

Importing VLC Python 2.7.15 On Macbook air

I had the same problem on macbook pro, the solutions was to write the command 'brew cask install vlc', and the I could import the vlc.
But now when I try to do the same thing on macbook air it dose not work although the vlc "app" is installed.
this is the Erorr that I am getting: import vlc
ImportError: No module named vlc
>
I hope that some one could help me to find a solution for the macbook air.
Thanks in advance !
ZZaim
do you have the vlc-python module installed? If you did not install it, execute the following command in the console to install the vlc-python module
pip install vlc-python

virtualenvwrapper -- Opencv 3.1.0 installation error

I am trying to install opencv 3.1.0 by the help of following blog(Why? Because I followed the same blog to install opencv in Desktop, but In my Laptop, following issue came)
Here I encountered the following error as --
ujjal#ujjaldas223:~$ source /usr/local/bin/virtualenvwrapper.sh
/home/ujjal/anaconda2/bin/python: No module named virtualenvwrapper
virtualenvwrapper.sh: There was a problem running the initialization hooks.
If Python could not import the module virtualenvwrapper.hook_loader,
check that virtualenvwrapper has been installed for
VIRTUALENVWRAPPER_PYTHON=/home/ujjal/anaconda2/bin/python and that PATH is
set properly.
I followed the link, but failed to resolve issue.
Suggest me how to solve this error.
I am using ubuntu 16.04 LTS both in Desktop and laptop.
I just solved it!
The problem was anaconda path appended to python.
Removing anaconda2 completely solved the issue.

rbenv install not downloading ruby version

Installing ruby version with rbenv rbenv install -lreturns the proper list. However
$ rbenv install 2.3.4 -v
fails on the download, even though it can be downloaded via a browser. My hunch about an improper version of openssl (due to some distant memory of having such issues - tls version? - in the past) is supported in verbose mode:
ruby-build: use openssl from homebrew
/var/folders/kV/kVDOSPkcEuqSVnTjenAVRE+++TI/-Tmp-/ruby-build.20170601122915.1010 ~ Downloading ruby-2.3.4.tar.bz2...
-> https://cache.ruby-lang.org/pub/ruby/2.3/ruby-2.3.4.tar.bz2
curl: (35) error:1407742E:SSL routines:SSL23_GET_SERVER_HELLO:tlsv1 alert protocol version
error: failed to download ruby-2.3.4.tar.bz2
how to overcome? can I point rbenv to use the downloaded tarball?
The reason is because rbenv use old system curl and old system openssl with it, which knows nothing about protocols TLS v 1.1-1.3. For me, installing new version of curl and openssl with brew did the work:
brew install openssl#1.1
brew install curl
Then add installed curl to your PATH (before default path, which is /usr/bin), and ensure that openssl of actual brew's version is also there (add this to your ./bash_profile or ./zshrc or etc):
export PATH="/usr/local/opt/openssl#1.1/bin:$PATH"
export PATH="/usr/local/opt/curl/bin:$PATH"
You can make sure after relaunch of terminal that latest versions of this programs will be used by trying
which -a openssl
which -a curl
openssl version -a
curl -V
First two commands should output all paths with the programs, but top ones should be brew versions. Last two commands should show latest versions of programs (1.1.0f and 7.55 for me now).
Now try
rbenv install [version]
Works on MacOS Sierra with enabled SIP.