On 3/26/06, David Liontooth <[EMAIL PROTECTED]> wrote:
> Using ffmpeg, I'm having difficulties accessing the sound. How do I tell
> ffmpeg where the alsa device is? This works fine,
>
> ffmpeg -threads 2 -vd /dev/video$DEV -r 29.97 -b 800 -s 576x432 -vcodec
> h264 -qmax 51 -me epzs -deinterlace -g 300 -async 1 -acodec mp3 -ab 64
> -ar 32000 -ad /dev/dsp$DEV -t $TIM -f avi -y $DIR/$FIL.avi
>
> -- except I'm not getting sound. What is the correct syntax for alsa?

The /dev/dsp* devices are for the old (obsolete) OSS interface.
As far as i know, ffmpeg does not support ALSA directly, so you have
to use the OSS emulation features provided (modules snd-pcm-oss and
snd-mixer-oss), and specify the correct device for the -ad option for
ffmpeg.

>
> Dave
>


-------------------------------------------------------
This SF.Net email is sponsored by xPML, a groundbreaking scripting language
that extends applications into web and mobile media. Attend the live webcast
and join the prime developer group breaking into this new coding territory!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid0944&bid$1720&dat1642
_______________________________________________
Alsa-user mailing list
Alsa-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/alsa-user

Reply via email to