[gst-devel] How to use gst-inspect-0.10 and gst-launch-0.10 on windows?

Kevin Wong simon.simonwong at gmail.com
Wed Jan 17 07:27:47 CET 2007


HI seb,
Thank for your help. I know how to use the gst-inspet-0.10.exe and
gst-launch-0.10.exe on windows. After i place the gstreamer-0.10.11.win32 to
the ../common file/gstreamer xx/bin and lib. I can use the launch and inspet
on windows to play ogg and mp3 file now. But when i test my application, i
can't run it that will occur error on command line:

** (testing.exe:3516): CRITICAL **: file
E:\devel-release\src_releases\gstreamer
\gst\gstinfo.c: line 413: assertion `category != NULL' failed
OIL: ERROR liboilcpu.c 282: oil_cpu_i386_kernel_restrict_flags(): Operating
syst
em is not known to support SSE.  Assuming it does, which might cause
problems
This program is linked against GStreamer 0.10.5 (CVS)

i just using sample testing program.
There is my application:

#include <gst/gst.h>

int
main (int   argc,
      char *argv[])
{
  const gchar *nano_str;
  guint major, minor, micro, nano;

  gst_init (&argc, &argv);

  gst_version (&major, &minor, &micro, &nano);

  if (nano == 1)
    nano_str = "(CVS)";
  else if (nano == 2)
    nano_str = "(Prerelease)";
  else
    nano_str = "";

  printf ("This program is linked against GStreamer %d.%d.%d %s\n",
          major, minor, micro, nano_str);

  return 0;
}

what can i do? Thank again for your help

On 1/17/07, Kevin Wong <simon.simonwong at gmail.com> wrote:
>
>
>
> On 1/16/07, Kevin Wong <simon.simonwong at gmail.com> wrote:
> >
> > hi seb,
> > I hv't move the file.
> > After execute gst-inspect-0.10, it only hv 1 plugin and 2 features.
> > ...\gstreamer-0.10.11.win32\bin>gst-inspet-0.10.exe
> > staticelements:  bin: Generic bin
> > staticelements:  pipeline: Pipeline object
> >
> > Total count: 1 plugin, 2 features
> >
> > On 1/16/07, Sébastien Moutte < sebastien at moutte.net> wrote:
> > >
> > > Hi Kevin,
> > >
> > > You don't need to setup the GST_PLUGIN_PATH as the setups already do
> > > it
> > > for you.
> > > The setup are installing gstreamer to $COMMONFILES/Gstreamer/0.10/.
> > > Have you moved the files to another folder ?
> > > If yes, you should try gst-inspect-0.10 in your working folder to see
> > > if
> > > all the plugins are well found.
> > >
> > > Sebastien
> > >
> > > Kevin Wong a écrit :
> > > > HI ALL,
> > > > I hv installed the "gstreamer setup ","gst-plugins-base" setup and
> > > > "gst-plugins-bad-cvs-29122006.setup.zip" but i still can't play any
> > > > file on windows.
> > > > when i play .ogg file that shown that on command line:
> > > >
> > > > D:\...debug>set GST_PLUGIN_PATH=...\debug\plugins
> > > >
> > > > D:\..\debug>gst-launch-0.10.exe playbin uri= file://d:/video.ogg
> > > > Setting pipeline to PAUSED ...
> > > > Pipeline is PREROLLING ...
> > > >
> > > > ** (gst-launch-0.10.exe:1016): WARNING **: could not create
> > > autoaudiosink
> > > > element
> > > >
> > > > (gst-launch-0.10.exe:1016): GStreamer-CRITICAL **: gst_object_ref:
> > > > assertion
> > > > `GST_IS_OBJECT (object)' failed
> > > >
> > > > (gst-launch-0.10.exe:1016): GStreamer-CRITICAL **: gst_object_ref:
> > > > assertion
> > > > `GST_IS_OBJECT (object)' failed
> > > >
> > > > (gst-launch-0.10.exe:1016): GStreamer-CRITICAL **: gst_bin_add:
> > > assertion
> > > > `GST_IS_ELEMENT (element)' failed
> > > >
> > > > (gst-launch-0.10.exe :1016): GStreamer-CRITICAL **:
> > > gst_element_link_pads:
> > > > assertion `GST_IS_ELEMENT (dest)' failed
> > > > Pipeline is PREROLLED ...
> > > > Setting pipeline to PLAYING ...
> > > > New clock: GstSystemClock
> > > >
> > > > Thanks for your help
> > > >
> > > ------------------------------------------------------------------------
> > > >
> > > >
> > > -------------------------------------------------------------------------
> > > > Take Surveys. Earn Cash. Influence the Future of IT
> > > > Join SourceForge.net's Techsay panel and you'll get the chance to
> > > share your
> > > > opinions on IT & business topics through brief surveys - and earn
> > > cash
> > > >
> > > http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
> > > >
> > > ------------------------------------------------------------------------
> > > >
> > > > _______________________________________________
> > > > gstreamer-devel mailing list
> > > > gstreamer-devel at lists.sourceforge.net
> > > > https://lists.sourceforge.net/lists/listinfo/gstreamer-devel
> > > >
> > >
> >
> >
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freedesktop.org/archives/gstreamer-devel/attachments/20070117/6b7fcd22/attachment.htm>


More information about the gstreamer-devel mailing list