Distorted audio capture on Vista

classic Classic list List threaded Threaded
4 messages Options
Reply | Threaded
Open this post in threaded view
|

Distorted audio capture on Vista

Francis Rammeloo
I have been experimenting with audio capture on Windows. I use the
following command line:
gst-launch-0.10 dshowaudiosrc num-buffers=400 ! audioconvert !
audioresample ! faac ! mp4mux ! filesink location=test.mp4

I tested this on two Vista laptops using the built-in mic and in both
cases the recorded audio was too fast and "crack"-distortions can be
heard.
On my Macbook Pro running Windows 7 the recording is perfect.
The Vista machines are capable of recording good quality audio when
using the Acer webcam software tool.

I suspect that the issue is with the dshowaudiosrc component because I
can also reproduce the problem using other codecs.

Does anyone have an idea how things are going wrong? Or better, how to fix it :)

Grts,
Francis

PS: I use the latest WinBuilds GStreamer distribution.

------------------------------------------------------------------------------
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
Reply | Threaded
Open this post in threaded view
|

Re: Distorted audio capture on Vista

Francis Rammeloo
Update:
directshowaudiosrc works fine on my PC at home that has Windows XP.

I modified some the ossbuild code so that the directsound plugin also
contains the directsoundsrc element:

gst-launch-0.10 directsoundsrc num-buffers=300 ! audioconvert !
audioresample ! faac ! ffmux_mp4 ! filesink location=test.mp4

It works fine on my Windows XP machine at home. I'll try it on the
Vista laptops Monday.


Grts,
Francis


2010/2/5 Francis Rammeloo <[hidden email]>:

> I have been experimenting with audio capture on Windows. I use the
> following command line:
> gst-launch-0.10 dshowaudiosrc num-buffers=400 ! audioconvert !
> audioresample ! faac ! mp4mux ! filesink location=test.mp4
>
> I tested this on two Vista laptops using the built-in mic and in both
> cases the recorded audio was too fast and "crack"-distortions can be
> heard.
> On my Macbook Pro running Windows 7 the recording is perfect.
> The Vista machines are capable of recording good quality audio when
> using the Acer webcam software tool.
>
> I suspect that the issue is with the dshowaudiosrc component because I
> can also reproduce the problem using other codecs.
>
> Does anyone have an idea how things are going wrong? Or better, how to fix it :)
>
> Grts,
> Francis
>
> PS: I use the latest WinBuilds GStreamer distribution.
>

------------------------------------------------------------------------------
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
Reply | Threaded
Open this post in threaded view
|

Re: Distorted audio capture on Vista

Andoni Morales
2010/2/6 Francis Rammeloo <[hidden email]>:

> Update:
> directshowaudiosrc works fine on my PC at home that has Windows XP.
>
> I modified some the ossbuild code so that the directsound plugin also
> contains the directsoundsrc element:
>
> gst-launch-0.10 directsoundsrc num-buffers=300 ! audioconvert !
> audioresample ! faac ! ffmux_mp4 ! filesink location=test.mp4
>
> It works fine on my Windows XP machine at home. I'll try it on the
> Vista laptops Monday.
The quality of source elements for Windows are far from being ideal
:). Why don't you add directsounsrc plugin to the build environment
and send us the patch? If this one works better it should have a
higher rank than dshoeaudiosrc to be electable by autoaudiosrc.
Cheers,
Andoni

>
> Grts,
> Francis
>
>
> 2010/2/5 Francis Rammeloo <[hidden email]>:
>> I have been experimenting with audio capture on Windows. I use the
>> following command line:
>> gst-launch-0.10 dshowaudiosrc num-buffers=400 ! audioconvert !
>> audioresample ! faac ! mp4mux ! filesink location=test.mp4
>>
>> I tested this on two Vista laptops using the built-in mic and in both
>> cases the recorded audio was too fast and "crack"-distortions can be
>> heard.
>> On my Macbook Pro running Windows 7 the recording is perfect.
>> The Vista machines are capable of recording good quality audio when
>> using the Acer webcam software tool.
>>
>> I suspect that the issue is with the dshowaudiosrc component because I
>> can also reproduce the problem using other codecs.
>>
>> Does anyone have an idea how things are going wrong? Or better, how to fix it :)
>>
>> Grts,
>> Francis
>>
>> PS: I use the latest WinBuilds GStreamer distribution.
>>
>
> ------------------------------------------------------------------------------
> 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
Reply | Threaded
Open this post in threaded view
|

Re: Distorted audio capture on Vista

Francis Rammeloo
I posted a follow up in the ossbuild project. See "Issue 20"
(http://code.google.com/p/ossbuild/issues/detail?id=20).


2010/2/6 Andoni Morales <[hidden email]>:

> 2010/2/6 Francis Rammeloo <[hidden email]>:
>> Update:
>> directshowaudiosrc works fine on my PC at home that has Windows XP.
>>
>> I modified some the ossbuild code so that the directsound plugin also
>> contains the directsoundsrc element:
>>
>> gst-launch-0.10 directsoundsrc num-buffers=300 ! audioconvert !
>> audioresample ! faac ! ffmux_mp4 ! filesink location=test.mp4
>>
>> It works fine on my Windows XP machine at home. I'll try it on the
>> Vista laptops Monday.
> The quality of source elements for Windows are far from being ideal
> :). Why don't you add directsounsrc plugin to the build environment
> and send us the patch? If this one works better it should have a
> higher rank than dshoeaudiosrc to be electable by autoaudiosrc.
> Cheers,
> Andoni
>>
>> Grts,
>> Francis
>>
>>
>> 2010/2/5 Francis Rammeloo <[hidden email]>:
>>> I have been experimenting with audio capture on Windows. I use the
>>> following command line:
>>> gst-launch-0.10 dshowaudiosrc num-buffers=400 ! audioconvert !
>>> audioresample ! faac ! mp4mux ! filesink location=test.mp4
>>>
>>> I tested this on two Vista laptops using the built-in mic and in both
>>> cases the recorded audio was too fast and "crack"-distortions can be
>>> heard.
>>> On my Macbook Pro running Windows 7 the recording is perfect.
>>> The Vista machines are capable of recording good quality audio when
>>> using the Acer webcam software tool.
>>>
>>> I suspect that the issue is with the dshowaudiosrc component because I
>>> can also reproduce the problem using other codecs.
>>>
>>> Does anyone have an idea how things are going wrong? Or better, how to fix it :)
>>>
>>> Grts,
>>> Francis
>>>
>>> PS: I use the latest WinBuilds GStreamer distribution.
>>>
>>
>> ------------------------------------------------------------------------------
>> 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