2009/6/19, Stefano Sabatini <[email protected]>:
>
> 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.




Yes, that's it, I would like to use alsa programmatically, but I haven't
found how to do.
But I am not recording from an usb sound card, I just want to record from
the "default" sound card.

Thanks for the answers
Nicolas Krieger
_______________________________________________
libav-user mailing list
[email protected]
https://lists.mplayerhq.hu/mailman/listinfo/libav-user

Reply via email to