[gst-devel] how to run gst-launch?
sebastien at moutte.net
Wed Jun 21 13:01:29 CEST 2006
On my side, I'm debugging using core and libs in c:\gstreamer\debug\bin
and plugins in c:\gstreamer\debug\lib\gstreamer-0.10.
You can remove GST_PLUGIN_PATH as gstreamer as specific windows defines
for default plugins path
#define PREFIX "C:\\gstreamer"
/* Define the plugin directory */
# define PLUGINDIR PREFIX "\\debug\\lib\\gstreamer-0.10"
# define PLUGINDIR PREFIX "\\lib\\gstreamer-0.10"
Next, for debugging, you have to set Executable for debug session to
C:\gstreamer\debug\bin\gst-launch-0.10.exe with arguments -v fakesrc
num-buffers=5 ! fakesink in your case.
It should work.
> I am learning gstreamer by doing experimentation with gst-launch. I run
> gst-launch in vs6 IDE.
> here is the simple example i cut from GStreamer Core Plugins 0.10 Plugins
> Reference Manual.
> "gst-launch -v fakesrc num-buffers=5 ! fakesink"
> the execution exit on error. after debuging it I found the fakesrc
> element can't be created
> because gst-launch failed to find the factory class. i got to know i shall
> load the core pliugins.(.dll)
> I set environment variable
> where the libgstreamer-0.10.dll is located.
> but when i run the example again it still fail to find the factory class.
> i think i should have lose to set some more parameter.
> thanks in advance..
> gstreamer-devel mailing list
> gstreamer-devel at lists.sourceforge.net
More information about the gstreamer-devel