[gst-devel] Capturing audio on Windows?
Julien Isorce
julien.isorce at gmail.com
Wed Jan 27 15:29:36 CET 2010
>> (error=-2147221164)
Actually it's 0x80040154: REGDB_E_CLASSNOTREG
>From http://msdn.microsoft.com/en-us/library/ms686615(VS.85).aspx :
REGDB_E_CLASSNOTREG:
A specified class is not registered in the registration database. Also can
indicate that the type of server you requested in the *CLSCTX* enumeration
is not registered or the values for the server types in the registry are
corrupt.
As far I am concerned I never tested dshowsrcwrapper on Window 7.
>From a cmd, type
set GST_DEBUG=dshowvideosrc:5
gst-launch-0.10 -v dshowvideosrc device-name="Built-in iSight" ! fakesink
Then please open a bug in bugzilla and attach the output log.
Julien
2010/1/27 Francis Rammeloo <francis.rammeloo at gmail.com>
> 2010/1/27 Julien Isorce <julien.isorce at gmail.com>:
> > Hi,
> >
> > Where did you get gstreamer for windows ?
> > (http://www.gstreamer-winbuild.ylatuya.es/doku.php)
> > gstreamer version?
>
> Thanks for your answer. I am using the WinBuilds GPL package.
>
> > Anyway, try to set device-name (got the name from graphedit ....)
>
> GraphEdit shows the name: "Microfoon (Cirrus Logic CS4206A" (without
> the closing parenthesis). It is probably the correct name because if I
> use another name I get a "device not found" error.
>
> I suspect that there is something wrong with the DirectShow plugins
> because I am also unable to produce my webcam using the dshowvideosrc
> element, while ksvideosrc works fine.
>
> Here are some details:
>
> The dshowaudiosrc produces the "can't create dshow fakesink" error:
> D:\gst-launch-0.10 dshowaudiosrc device-name="Microfoon (Cirrus Logic
> CS4206A" ! audioconvert ! autoaudiosink
> Setting pipeline to PAUSED ...
> 0:00:00.152000000 3744 00538F40 ERROR dshowaudiosrc
> gstdshowaudiosrc.c:636:gst_dshowaudiosrc_open: Can't create an
> instance of the directshow fakesink (error=-2147221164)
> ERROR: Pipeline doesn't want to pause.
> Setting pipeline to NULL ...
> Freeing pipeline ...
>
>
> The dshowvideosrc produces a similar error message:
> D:\gst-launch-0.10 dshowvideosrc device-name="Built-in iSight" !
> ffmpegcolorspace ! autovideosink
> Setting pipeline to PAUSED ...
> 0:00:00.487000000 1304 00558F10 ERROR dshowvideosrc
> gstdshowvideosrc.c:698:gst_dshowvideosrc_start: Can't create an
> instance of our dshow fakesink filter (error=-2147221164)
> ERROR: Pipeline doesn't want to pause.
> Setting pipeline to NULL ...
> Freeing pipeline ...
>
>
> The ksvideosrc, using the same device-name, works fine:
> D:\gst-launch-0.10 ksvideosrc device-name="Built-in iSight" !
> ffmpegcolorspace ! autovideosink
>
>
> Am I the only one experiencing this error?
>
> Grts,
> Francis
>
>
> > Julien
> >
> > 2010/1/27 Francis Rammeloo <francis.rammeloo at gmail.com>
> >>
> >> I'm having some trouble finding an element that is capable of
> >> capturing the built-in microphone on my laptop (it's a Macbook Pro
> >> running Windows 7). I have tried using the dshowaudiosrc element like
> >> this:
> >>
> >> gst-launch-0.10 dshowaudiosrc ! audioconvert ! autoaudiosink
> >>
> >> Which results in the error:
> >>
> >> dshowaudiosrc gstdshowaudiosrc.c:636:gst_dshowaudiosrc_open: Can't
> >> create an instance of the directshow fakesink (error=-2147221164)
> >>
> >> FYI: I have exact the same problem when I want to use the
> >> dshowvideosrc for capturing the webcam, but that not an issue because
> >> I can use the ksvideosrc element instead.
> >>
> >> Does anyone have an idea how to fix it? Alternative solutions would be
> >> welcome too.
> >>
> >>
> >> Grts,
> >> Francis
> >>
> >>
> >>
> ------------------------------------------------------------------------------
> >> The Planet: dedicated and managed hosting, cloud storage, colocation
> >> Stay online with enterprise data centers and the best network in the
> >> business
> >> Choose flexible plans and management services without long-term
> contracts
> >> Personal 24x7 support from experience hosting pros just a phone call
> away.
> >> http://p.sf.net/sfu/theplanet-com
> >> _______________________________________________
> >> gstreamer-devel mailing list
> >> gstreamer-devel at lists.sourceforge.net
> >> https://lists.sourceforge.net/lists/listinfo/gstreamer-devel
> >
> >
> >
> ------------------------------------------------------------------------------
> > The Planet: dedicated and managed hosting, cloud storage, colocation
> > Stay online with enterprise data centers and the best network in the
> > business
> > Choose flexible plans and management services without long-term contracts
> > Personal 24x7 support from experience hosting pros just a phone call
> away.
> > http://p.sf.net/sfu/theplanet-com
> > _______________________________________________
> > gstreamer-devel mailing list
> > gstreamer-devel at lists.sourceforge.net
> > https://lists.sourceforge.net/lists/listinfo/gstreamer-devel
> >
> >
>
>
> ------------------------------------------------------------------------------
> The Planet: dedicated and managed hosting, cloud storage, colocation
> Stay online with enterprise data centers and the best network in the
> business
> Choose flexible plans and management services without long-term contracts
> Personal 24x7 support from experience hosting pros just a phone call away.
> http://p.sf.net/sfu/theplanet-com
> _______________________________________________
> 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/20100127/dd4e635d/attachment.htm>
More information about the gstreamer-devel
mailing list