[FFmpeg-devel] [PATCH] Waveform audio grabber.

Ramiro Polla ramiro.polla
Wed Mar 24 18:38:55 CET 2010


On Wed, Mar 24, 2010 at 2:34 PM, Frank Barchard <fbarchard at google.com> wrote:
> On Fri, Mar 12, 2010 at 1:08 PM, Ramiro Polla <ramiro.polla at gmail.com>wrote:
>> For grabbing audio on Windows. To be used with something like:
>> ffmpeg -sample_fmt s16 -ar 44100 -ac 2 -f waveform -i <number> output.wav
>> also supports "-i list" to list devices and "-i mapper" to use the
>> special mapper device.
>>
>
> Looking at your code for basic functionality, it looks like you've got the
> key PCM formats and it works on 5.1 audio.
> 5.1 is common for 3d games and could be an interesting use case.
> I guess this doesn't do microphone directly, so to voice dub you'd need an

Actually I only tested with microphone directly. To capture what's
being played, what is needed is something the other way around, that
takes what is being sent to the speakers and makes that an input.

> app that passes mic to speakers, and then it could capture that.
>
> Note that this may not work with some direct sound apps. ?Excerpt from this

I know, it doesn't work with a DV camera =(...

[...]



More information about the ffmpeg-devel mailing list