On date Wednesday 2009-06-17 17:14:54 +0200, Nicolas Krieger encoded:
> Hi,
> 
> I need some help about audio grabbing.
> 
> I would like to know what doess ffmpeg uses to grab audio. Does it uses oss
> or alsa ?

FFmpeg/libavdevice can grab from ALSA, OSS or jack.

As an example of the latter:
ffmpeg -f jack -i JACK_READABLE_CLIENT_ID jackout.wav

The same can be done programmatically using the libavdevice API.

> What I do is to open /dev/dsp with oss format (av_find_input_format). So, I
> think that I'm using oss.
> 
> How to do to use alsa ?

I think you need to explicitely specify the demuxer, alsa in this
case, I'm not sure FFmpeg is smart enough to figure it out by itself
from the name of the device.

HTH, regards.
_______________________________________________
libav-user mailing list
[email protected]
https://lists.mplayerhq.hu/mailman/listinfo/libav-user

Reply via email to