Hey,
I started using GStreamer for a new application with an LWIR sensor. The camera device is a SmartIR640 from ALab running on a Linux based operating system on a Jetson TX2. I want to use a Gstreamer pipeline to grab the video data and process them. From ALab I got the shared object library and the header files for the camera. In a first step I used Pipeline Manipulation of an appsrc element to get the data into the pipeline. This works just fine. To become more flexible with the pipeline I want to create a plugin which first connects to the camera and then puts the video data into the pipeline, so that I can use GStreamer as a command line tool. Therefore I used the gst_element_maker with the GstBaseSrc template to create my smartir640src plugin. Then I used _start() to open the device and _fill() where I put all the data into the buffer. Don’t know if this is the right procedure. But I don’t how to test this new plugin. I already read all the “Plugin Writers Guide” information. I have the files gstsmartir640src.c / .h and the .so / .h files from the camera sensor. What I have to do now so that gst-inspect will find this new plugin? I can not find any information to this. Thanks a lot -- Sent from: http://gstreamer-devel.966125.n4.nabble.com/ _______________________________________________ gstreamer-devel mailing list [hidden email] https://lists.freedesktop.org/mailman/listinfo/gstreamer-devel |
Le sam. 11 janv. 2020 08 h 15, m.lenz <[hidden email]> a écrit : Hey, You can export GST_PLUGIN_PATH=/plugin/dir With the right directory were you have built your plugin.
_______________________________________________ gstreamer-devel mailing list [hidden email] https://lists.freedesktop.org/mailman/listinfo/gstreamer-devel |
I already tried to export GST_PLUGINS_PATH. But inside this directory there
are only the pre-generated files with my modifications in the C-Code. The gst-inspect does not find any new plugin with the environment variable pointing to this directory. So what is really the job of GST_PLUGINS_PATH and at which point gstreamer is using this variable? I think before using any new plugin, gstreamer has to build is. So, how and at which time the new plugin will be compiled? At this moment I have only created the source code but I can not find any information about how to go on with this. -- Sent from: http://gstreamer-devel.966125.n4.nabble.com/ _______________________________________________ gstreamer-devel mailing list [hidden email] https://lists.freedesktop.org/mailman/listinfo/gstreamer-devel |
Le mer. 15 janv. 2020 05 h 15, m.lenz <[hidden email]> a écrit : I already tried to export GST_PLUGINS_PATH. But inside this directory there Memory failure here, but I thought there was no S to PLUGIN (check the gst-launch-1.0 man page to confirm). are only the pre-generated files with my modifications in the C-Code. The
Oh, so haven't build this. Of course C is a compile language. What do you know about this process ? Is that plugin code Open Source ?
_______________________________________________ gstreamer-devel mailing list [hidden email] https://lists.freedesktop.org/mailman/listinfo/gstreamer-devel |
Free forum by Nabble | Edit this page |