Hello, Katerina,
When you've run ninja <> install, your new version of gstreamer 1.18.x has been installed under /usr/local/lib/x86_64-linux-gnu/gstreamer-1.0/. You need to add this path to your LD_LIBRARY_PATH and somehow ignore default system gstreamer path from LD_LIBRARY_PATH (I don't know how to do that).
If you want to delete default system gstreamer and install new, then you need to
1) remove system gstrreamer, but without dependecies, like this:
sudo dpkg -r --force-depends libgstreamer1.0-0 gstreamer1.0-plugins-base gstreamer1.0-plugins-good gstreamer1.0-plugins-bad gstreamer1.0-plugins-ugly gstreamer1.0-libav gstreamer1.0-doc gstreamer1.0-tools gstreamer1.0-x
2) inside gst-build directory remove installed gstreamer from /usr/local:
ninja -C builddir uninstall
3) inside gst-build remove previous builddir and add prefix to meson (default is /usr/local)
sudo rm -rf builddir
meson builddir --prefix=/usr
ninja -C builddir install
It will install gstreamer inside /usr/lib/x86_64-linux-gnu/gstreamer-1.0/
4) Then probably you will have warnings inside sudo apt-get for gstreamer dependecies, but it will be work under you default system path.
-------- Προωθημένο μήνυμα --------
Θέμα: | Re: GStreamer in ubuntu 18 |
---|
Ημερομηνία: | Mon, 9 Nov 2020 17:11:52 +0200 |
---|
Από: | Katerina Voulgary [hidden email] |
---|
Προς: | Andrés Meseguer Valenzuela [hidden email] |
---|
In my gst-build 'gst-inspect opusenc' says it is at location "gst-build/builddir/subprojects/gst-plugins-base/ext/opus/libgstopus.so"
If your 'gst-inspect opusenc' says it is not installed, then revisit the instructions, perhaps there is something to be fixed, maybe a library inside gst-build or a plugin not enabled.
Στις 9/11/20 4:50 μ.μ., o/η Andrés Meseguer Valenzuela έγραψε:
Hi, that helped.
Indeed, I can use last version of GStreamer. But, for example, my code uses opusenc and opusdec, and when I try to apply my code, it returns that opusenc is not an element.
Hence, I must understand that it is not installed, despite of the fact that gst-plugins-base is installed.
Do you know what should I do?
Thanks.
[hidden email] escribió:
Send gstreamer-devel mailing list submissions to
[hidden email]
To subscribe or unsubscribe via the World Wide Web, visit
https://lists.freedesktop.org/mailman/listinfo/gstreamer-devel
or, via email, send a message with subject or body 'help' to
[hidden email]
You can reach the person managing the list at
[hidden email]
When replying, please edit your Subject line so it is more specific
than "Re: Contents of gstreamer-devel digest..."
Today's Topics:
1. GStreamer in ubuntu 18 (Andr?s Meseguer Valenzuela)
2. Re: GStreamer in ubuntu 18 (Katerina Voulgary)
----------------------------------------------------------------------
Message: 1
Date: Mon, 09 Nov 2020 15:21:22 +0100
From: Andr?s Meseguer Valenzuela [hidden email]
To: [hidden email]
Subject: GStreamer in ubuntu 18
Message-ID:
[hidden email]
Content-Type: text/plain; charset=utf-8; format=flowed; DelSp=Yes
Hi, I am trying to use GStreamer 1.18 in my ubuntu 18. Due to the fact
that is not possible to get it, trying to install it using the
commands specified in this webpage:
https://gstreamer.freedesktop.org/documentation/installing/on-linux.html?gi-language=c
I am trying to install it with meson and ninja, with these steps:
meson builddir
ninja -C builddir install
reference: https://gitlab.freedesktop.org/gstreamer/gst-build
But when I try to use gst-inspect, it returns a 1.14 version.
Please, would you tell me how to use version 1.18?
My objective is to use GStreamer in Ubuntu 18, with .sh files.
Thanks for your time.
Regards,
Andres
------------------------------
Message: 2
Date: Mon, 9 Nov 2020 16:30:19 +0200
From: Katerina Voulgary [hidden email]
To: [hidden email]
Subject: Re: GStreamer in ubuntu 18
Message-ID: [hidden email]
Content-Type: text/plain; charset="utf-8"; Format="flowed"
Hello, perhaps you ran 'gst-inspect' outside of the environment like in
a different shell/terminal?
I run "ninja -C builddir devenv" to enter the development environment
each time.
||
???? 9/11/20 4:21 ?.?., o/? Andr?s Meseguer Valenzuela ??????:
Hi, I am trying to use GStreamer 1.18 in my ubuntu 18. Due to the fact
that is not possible to get it, trying to install it using the
commands specified in this webpage:
https://gstreamer.freedesktop.org/documentation/installing/on-linux.html?gi-language=c
I am trying to install it with meson and ninja, with these steps:
meson builddir
ninja -C builddir install
reference: https://gitlab.freedesktop.org/gstreamer/gst-build
But when I try to use gst-inspect, it returns a 1.14 version.
Please, would you tell me how to use version 1.18?
My objective is to use GStreamer in Ubuntu 18, with .sh files.
Thanks for your time.
Regards,
Andres
_______________________________________________
gstreamer-devel mailing list
[hidden email]
https://lists.freedesktop.org/mailman/listinfo/gstreamer-devel
--
//
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/gstreamer-devel/attachments/20201109/41f4c2d4/attachment.htm>
------------------------------
Subject: Digest Footer
_______________________________________________
gstreamer-devel mailing list
[hidden email]
https://lists.freedesktop.org/mailman/listinfo/gstreamer-devel
------------------------------
End of gstreamer-devel Digest, Vol 118, Issue 17
************************************************
_______________________________________________
gstreamer-devel mailing list
[hidden email]
https://lists.freedesktop.org/mailman/listinfo/gstreamer-devel
,_______________________________________________
gstreamer-devel mailing list
[hidden email]
https://lists.freedesktop.org/mailman/listinfo/gstreamer-devel
--
Best regards,
Rostislav Kosivets, CTO
Paycon Technologies Ltd.
_______________________________________________
gstreamer-devel mailing list
[hidden email]
https://lists.freedesktop.org/mailman/listinfo/gstreamer-devel