how can i use gstreamer without installing gstreamer?
Nicolas Dufresne
nicolas at ndufresne.ca
Thu May 30 14:00:29 UTC 2019
Le mercredi 29 mai 2019 à 21:54 -0500, zyukyunman a écrit :
> there is server that have no external network permissions. I want to run my
> application on server,which my application use deepstream and Gstreamer. And
> i have put my *Gstreamer plugin and gst-plugin-scanner* on
> /usr/lib/x86_64-linux-gnu/gstreamer-1.0/.
> When i run gst_init(),there is warning : External plugin loader failed. This
> most likely means that the plugin loader helper binary was not found or
> could not be run. You might need to set the *GST_PLUGIN_SCANNER* environment
> variable if your setup is unusual. This should normally not be required
> though.
> I set export GST_PLUGIN_SCANNER=/usr/lib/x86_64-linux-gnu/gstreamer-1.0/,but
> i doesn't worked.
> how should i do?
This environment should point to the plugin scanner executable. So
should be something like:
export GST_PLUGIN_SCANNER=/usr/libexec/gstreamer-1.0/gst-plugin-scanner
The path varies depending on the multi-arch method used by your distro,
this path is from Fedora. If you use a custom prefix though, you'll
need to set a lot more env (there the list I could come up, might be
incomplete):
XDG_DATA_DIRS
GST_REGISTRY
GI_TYPELIB_PATH
LD_LIBRARY_PATH
GST_PLUGIN_PATH
PATH
XDG_DATA_DIRS
PYTHONPATH
I guess GI_* and PY* are not needed if you don't use python bindings.
>
>
>
> --
> Sent from: http://gstreamer-devel.966125.n4.nabble.com/
> _______________________________________________
> gstreamer-devel mailing list
> gstreamer-devel at lists.freedesktop.org
> https://lists.freedesktop.org/mailman/listinfo/gstreamer-devel
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 195 bytes
Desc: This is a digitally signed message part
URL: <https://lists.freedesktop.org/archives/gstreamer-devel/attachments/20190530/4f140d2c/attachment.sig>
More information about the gstreamer-devel
mailing list