Hello,
I have a C++ code that works pretty well under Ubuntu using appsink. The same code under windows fails when I call "gst_parse_launch" with the following pipeline: udpsrc multicast-iface=ethernet_0 multicast-group=239.0.0.105 auto-multicast=true port=16000 caps="application/x-rtp, encoding-name=H264, payload=96" ! rtph264depay ! h264parse ! avdec_h264 ! videoconvert ! appsink name=sink caps="video/x-raw,format=BGR,pixel-aspect-ratio=1/1" The error is really weird: *** Error *** could not construct pipeline: no element "udpsrc" it seems link udpsrc element is not available, but I do not have any dll error Any idea? Thank you Walter PS I'm using GStreamer 1.9.90 32bit
Walter Lucetti
www.myzhar.com |
On Fri, 2016-11-04 at 06:29 -0700, Myzhar wrote:
> Hello, > > I have a C++ code that works pretty well under Ubuntu using appsink. > > The same code under windows fails when I call "gst_parse_launch" with > the > following pipeline: > > *udpsrc multicast-iface=ethernet_0 multicast-group=239.0.0.105 > auto-multicast=true port=16000 caps="application/x-rtp, encoding- > name=H264, > payload=96" ! rtph264depay ! h264parse ! avdec_h264 ! videoconvert ! > appsink > name=sink caps="video/x-raw,format=BGR,pixel-aspect-ratio=1/1"* > > The error is really weird: > > **** Error *** could not construct pipeline: no element "udpsrc"* > > it seems link udpsrc element is not available, but I do not have any > dll error output something meaningful? You need to have libgstudp.dll in your lib/gstreamer-1.0 for udpsrc to be available. -- Sebastian Dröge, Centricular Ltd · http://www.centricular.com _______________________________________________ gstreamer-devel mailing list [hidden email] https://lists.freedesktop.org/mailman/listinfo/gstreamer-devel signature.asc (949 bytes) Download Attachment |
The pipeline works correctly with gst-launch-1.0 . If I run gst-inspect-1.0 udpsrc I get all the information about the element and the dll reported is correct. What is not clear for me is where GStreamer searches for the plugins. I also tried to put the dll of the plugin in the folder of my application, but it has not worked. How can I set the search path? Thank you -- email: [hidden email] Il 04 Nov 2016 17:12, "Sebastian Dröge-3 [via GStreamer-devel]" <[hidden email]> ha scritto:
Walter Lucetti
www.myzhar.com |
On Fri, 2016-11-04 at 15:10 -0700, Myzhar wrote:
> The pipeline works correctly with gst-launch-1.0 . > If I run gst-inspect-1.0 udpsrc I get all the information about the > element and the dll reported is correct. > What is not clear for me is where GStreamer searches for the plugins. > I also tried to put the dll of the plugin in the folder of my > application, but it has not worked. > How can I set the search path? GStreamer looks by default in GST_PLUGIN_PATH and GST_PLUGIN_SYSTEM_PATH environment variables if set, or related to the libgstreamer-1.0-0.dll (in ../lib/gstreamer-1.0). Check the GStreamer debug logs, at the very beginning there's information about where plugins are searched, which are found and what possibly goes wrong when loading them. -- Sebastian Dröge, Centricular Ltd · http://www.centricular.com _______________________________________________ gstreamer-devel mailing list [hidden email] https://lists.freedesktop.org/mailman/listinfo/gstreamer-devel signature.asc (949 bytes) Download Attachment |
Hi Sebastian, I finally faced the problem. GST_PLUGIN_PATH was not set in my system environment. After a few test I can use the pipeline in my application with udpsrc and appsrc. Thank you very much for your help Walter 2016-11-07 10:35 GMT+01:00 Sebastian Dröge-3 [via GStreamer-devel] <[hidden email]>: On Fri, 2016-11-04 at 15:10 -0700, Myzhar wrote:
Walter Lucetti
www.myzhar.com |
Free forum by Nabble | Edit this page |