Closed Drosaca closed 1 month ago
I fixed it
It's the first time I deal with gstreamer and I thought that there would be a file called pylonsrc inside the zip files
I also fixed the missing dependencies by adding pylon folder to LD_LIBRARY_PATH variable
export LD_LIBRARY_PATH=$LD_LIBRARY_PATH:/opt/pylon/lib
now when I run
gst-launch-1.0 -v pylonsrc ! bayer2rgb ! videoconvert ! xvimagesink
Setting pipeline to PAUSED ...
ERROR: Pipeline doesn't want to pause.
ERROR: from element /GstPipeline:pipeline0/GstPylonSrc:pylonsrc0: Failed to initialise the camera
Additional debug info:
/home/pi/gst-plugins-vision/sys/pylon/gstpylonsrc.c(1187): gst_pylonsrc_select_device (): /GstPipeline:pipeline0/GstPylonSrc:pylonsrc0:
No camera connected
Setting pipeline to NULL ...
Freeing pipeline ...
the output tells that there is No camera connected but there is I can see it using pylonviewer
The packaging still needs some work, but the ZIP file isn't truly needed, especially if you just want one plugin.
As far as the error, first thing is to increase the debug level, prepend your launch line with "GST_DEBUG=*:3,pylonsrc:9". You can export this to your environment instead if you'd like.
Hello, I'm trying to add pylonsrc plugin but the zip files generated at the end are empty
what did I do wrong ?