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