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 [hidden email] https://lists.sourceforge.net/lists/listinfo/gstreamer-devel |
Hi,
Where did you get gstreamer for windows ? (http://www.gstreamer-winbuild.ylatuya.es/doku.php) gstreamer version? Anyway, try to set device-name (got the name from graphedit ....) Julien 2010/1/27 Francis Rammeloo <[hidden email]> I'm having some trouble finding an element that is capable of ------------------------------------------------------------------------------ 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 [hidden email] https://lists.sourceforge.net/lists/listinfo/gstreamer-devel |
2010/1/27 Julien Isorce <[hidden email]>:
> 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 <[hidden email]> >> >> 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 >> [hidden email] >> 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 > [hidden email] > 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 [hidden email] https://lists.sourceforge.net/lists/listinfo/gstreamer-devel |
>> (error=-2147221164)
Actually it's 0x80040154: REGDB_E_CLASSNOTREG From http://msdn.microsoft.com/en-us/library/ms686615(VS.85).aspx :
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 <[hidden email]> 2010/1/27 Julien Isorce <[hidden email]>: ------------------------------------------------------------------------------ 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 [hidden email] https://lists.sourceforge.net/lists/listinfo/gstreamer-devel |
Hi,
Try using directsoundsrc. It will work.
Regards,
Sumit
On Wed, Jan 27, 2010 at 7:59 PM, Julien Isorce <[hidden email]> wrote: >> (error=-2147221164) ------------------------------------------------------------------------------ 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 [hidden email] https://lists.sourceforge.net/lists/listinfo/gstreamer-devel |
2010/1/27 sumit kumar <[hidden email]>:
> Hi, > > Try using directsoundsrc. It will work. This plugin doesn't seem to be included in the WinBuilds package (see http://www.gstreamer-winbuild.ylatuya.es/doku.php?id=plugins). > Regards, > Sumit > ------------------------------------------------------------------------------ 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 [hidden email] https://lists.sourceforge.net/lists/listinfo/gstreamer-devel |
In reply to this post by Julien Isorce
Done. See bug 608274 (https://bugzilla.gnome.org/show_bug.cgi?id=608274).
2010/1/27 Julien Isorce <[hidden email]>: >>> (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 <[hidden email]> >> >> 2010/1/27 Julien Isorce <[hidden email]>: >> > 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 <[hidden email]> >> >> >> >> 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 >> >> [hidden email] >> >> 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 >> > [hidden email] >> > 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 >> [hidden email] >> 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 > [hidden email] > 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 [hidden email] https://lists.sourceforge.net/lists/listinfo/gstreamer-devel |
Hi,
you can use the below pipeline. It works fine in XP. I don't have windows 7 so can't test.
gst-launch-0.10 dshowaudiosrc ! queue ! directsoundsink sync=false
Regards,
Sumit
On Wed, Jan 27, 2010 at 10:59 PM, Francis Rammeloo <[hidden email]> wrote: Done. See bug 608274 (https://bugzilla.gnome.org/show_bug.cgi?id=608274). ------------------------------------------------------------------------------ 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 [hidden email] https://lists.sourceforge.net/lists/listinfo/gstreamer-devel |
In reply to this post by Francis Rammeloo
2010/1/27 Francis Rammeloo <[hidden email]>:
> 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) before Julien's refactoring, as the new one doesn't work anymore (BTW, I should fill a bug for that). The fakesink filter is implemented in libgstdhow-0.10.dll , which should be registered automatically. Can you successfully run 'regsvr32 c:\gstreamer\bin\libgstdshow-0.10.dll'? Andoni > > 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 > [hidden email] > https://lists.sourceforge.net/lists/listinfo/gstreamer-devel > -- Andoni Morales Alastruey LongoMatch:The Digital Coach http://www.longomatch.ylatuya.es ------------------------------------------------------------------------------ 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 [hidden email] https://lists.sourceforge.net/lists/listinfo/gstreamer-devel |
2010/1/28 Andoni Morales <[hidden email]>:
> 2010/1/27 Francis Rammeloo <[hidden email]>: >> 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) > In WinBuilds we still use the old directshow plugin, the version > before Julien's refactoring, as the new one doesn't work anymore (BTW, > I should fill a bug for that). > The fakesink filter is implemented in libgstdhow-0.10.dll , which > should be registered automatically. Can you successfully run 'regsvr32 > c:\gstreamer\bin\libgstdshow-0.10.dll'? Yes, that works. In case anyone else reading this: cmd has to be launched as admin or else you'll get error code 0x80070005. I verified that it works with this pipeline (produces audio-feedback): gst-launch-0.10 dshowaudiosrc device-name="Microfoon (Cirrus Logic CS4206A" ! queue ! directsoundsink sync=false For some reason autoaudiosink doesn't work here, but that's not an issue for me. Thanks, my work is unstalled now. > Andoni >> >> 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 >> [hidden email] >> https://lists.sourceforge.net/lists/listinfo/gstreamer-devel >> > > > > -- > Andoni Morales Alastruey > > LongoMatch:The Digital Coach > http://www.longomatch.ylatuya.es > > ------------------------------------------------------------------------------ > 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 > [hidden email] > 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 [hidden email] https://lists.sourceforge.net/lists/listinfo/gstreamer-devel |
Free forum by Nabble | Edit this page |