Hi All,
I have compiled the gstreamer on Windows with MinGW. When I try it with gst-launch utility from MSYS command line, it works fine. Then I wrote a simple application with C APIs and compiled thru MinGW. Now I try to run it thru a .bat file. I get an error saying "Failed to load Plugin."
I have set the GST_PLUGIN_PATH variable in the system environment variables.
Please provide some idea, so that I can run the app from the bat file.
Any help is appreciated
-Ashwini
_______________________________________________ gstreamer-devel mailing list [hidden email] http://lists.freedesktop.org/mailman/listinfo/gstreamer-devel |
That sounds like a depency problem. Check the depency tree of plugins.
El lun, 08-08-2011 a las 14:24 +0530, Ashwini Sharma escribió: Hi All, I have compiled the gstreamer on Windows with MinGW. When I try it with gst-launch utility from MSYS command line, it works fine. Then I wrote a simple application with C APIs and compiled thru MinGW. Now I try to run it thru a .bat file. I get an error saying "Failed to load Plugin." I have set the GST_PLUGIN_PATH variable in the system environment variables. Please provide some idea, so that I can run the app from the bat file. Any help is appreciated -Ashwini _______________________________________________ gstreamer-devel mailing list [hidden email] http://lists.freedesktop.org/mailman/listinfo/gstreamer-devel _______________________________________________ gstreamer-devel mailing list [hidden email] http://lists.freedesktop.org/mailman/listinfo/gstreamer-devel |
Dependency Walker shows no problem at all.
But I still get the error. The error is of type
GStreamer-WARNING **: Failed to load plugin 'C:/MinGW/msys/1.0/home/k.ashwini/gst_install/lib/gstreamer-0.10/libgstvolume.dll': `C:/MinGW/msys/1.0/home/k.ashwini/gst_install/lib/gstreamer-0.10/libgstvolume.dll': The specified module could not be found.
** Any pointers in the direction are welcome..... does it have to do anything with the environment variables or path settings?
-Ashwini
On Mon, Aug 8, 2011 at 2:29 PM, Jose M. Alvarez <[hidden email]> wrote:
_______________________________________________ gstreamer-devel mailing list [hidden email] http://lists.freedesktop.org/mailman/listinfo/gstreamer-devel |
> does it have to do anything with the environment variables or path
settings? What does GST_PLUGIN_PATH and PATH look like when executing in the batch file? Make sure you're not using msys-style paths (e.g. /c/Users/ ...). Also, check your config.h headers for gstreamer, gst-plugins-base, etc. and double check that an absolute msys-style path wasn't created as the default path to use in any of those modules. _______________________________________________ gstreamer-devel mailing list [hidden email] http://lists.freedesktop.org/mailman/listinfo/gstreamer-devel |
Free forum by Nabble | Edit this page |