[gst-devel] location of plugins on a windows system...
sebastien at moutte.net
Wed Sep 12 18:14:10 CEST 2007
You should check that GST_PLUGIN_PATH is well defined in your environment
If yes, you should check that its accessible from your app by getting it
From: gstreamer-devel-bounces at lists.sourceforge.net
[mailto:gstreamer-devel-bounces at lists.sourceforge.net] On Behalf Of Philip
Sent: mercredi 12 septembre 2007 17:10
To: gstreamer-devel at lists.sourceforge.net
Subject: [gst-devel] location of plugins on a windows system...
I am new to gstreamer and I am running into something simple that I cant
seem to fix.
Ive got a very tiny app:
int main(int argc, char* argv)
guint nMajor(0), nMinor(0), nMicro(0), nNano(0);
gst_version(&nMajor, &nMinor, &nMicro, &nNano);
loop = g_main_loop_new(NULL, FALSE);
GstElement* play = gst_element_factory_make("playbin", "play");
g_object_set (G_OBJECT (play), "uri", "C:\\test.mp3", NULL);
play is NULL.
Thats because it cant find the libgstplaybin.dll in C:\Program
If I CD to C:\Program Files\Common Files\GStreamer\0.10\bin and run
gst-launch-0.10.exe playbin uri=file://C:\\test.mp3
This works great. Plays the file and everything. I think whats happening
is that within my app (which is in a totally different directory), it cant
find that DLL, and so it cant create the playbin element. I tried
copying those DLLs into my application/debug directory but it didnt help,
that kept returning NULL.
Any help would be great, thanks!
the hottest 2008 models today at Yahoo! Autos.
Tonight's top picks. What will you watch tonight? Preview
hoo.com/%20%0a> the hottest shows on Yahoo! TV.
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the gstreamer-devel