Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

gst-pylonsrc not found #3

Closed
viktorvorobev opened this issue Nov 26, 2018 · 2 comments
Closed

gst-pylonsrc not found #3

viktorvorobev opened this issue Nov 26, 2018 · 2 comments
Labels
question Further information is requested

Comments

@viktorvorobev
Copy link

I tried to install your package by following the instructions:

  1. autogen.sh
  2. make
  3. sudo make install

and everything compiled fine, but gst-inspect can not find pylonsrc, and I'm not sure why.
I can clearly see libgstpylonsrc.la and libgstpylonsrc.so files in /usr/local/lib/gstreamer1.0 directory, and this folder is added to both PATH and LD_LIBRARY_PATH.

I am using gstreamer 1.8.3 and Ubuntu 16.04, can you please help me? Thank you

@zingmars
Copy link
Owner

Sure.

Generally after installing gstreamer plugins you need to reset gstreamer's cache. To do so you can just delete the cache folder, usually located in $HOME/.cache/gstreamer-1.0 (you can just rm -rf the folder). Afterwards you can run gst-inspect-1.0 again to reset cache and it should show up.

If it does not, the problem might lie in the fact that you're using the version of gstreamer distributed by Ubuntu from their apt repositories (I'm guessing from the fact that you're using gstreamer 1.8.3) . Now I might be wrong, but it's probably looking for the plugins in a different place (/usr/lib/x86_64-linux-gnu/gstreamer-1.0). You can try moving the files there and resetting the cache. You can also try $HOME/.local/share/gstreamer-1.0.

Also, to verify that the plugin compiled and linked properly you can test it (instead of just checking if the file exists) with gst-inspect-1.0 /path/to/file, i.e. gst-inspect-1.0 /usr/local/lib/gstreamer-1.0/libgstpylonsrc.la. If it returns the information about the plugin (name, class inheritance diagram) then it's fine. If it returns an error, then obviously something's wrong.

@zingmars zingmars added the question Further information is requested label Nov 26, 2018
@viktorvorobev
Copy link
Author

Thank you very much! I've moved libgstpylonsrc.* to /usr/lib/x86_64-linux-gnu/gstreamer-1.0 and now everything works fine now.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
question Further information is requested
Projects
None yet
Development

No branches or pull requests

2 participants