[FFmpeg-user] ALSA flags in ffplay

Timothy Gu timothygu99 at gmail.com
Sun Feb 24 04:45:14 CET 2013


Thank you all. I only compiled ffplay, and I did not want to compile
another ffmpeg again. Marton's solution worked perfectly for me.

Timothy

On Sat, Feb 23, 2013 at 9:49 AM, Carl Eugen Hoyos <cehoyos <at> ag.or.at>
wrote:
> Timothy Gu <timothygu99 <at> gmail.com> writes:
>
>> aplay -D plughw:0,3 input.wav, but
>> I need to use ffplay
>> to make the sound go direct to plughw:0,3.
>
> ffmpeg supports "playing" audio via alsa:
> $ ffmpeg -i file -f alsa plughw:0,3
>
> Carl Eugen
>
> _______________________________________________
> ffmpeg-user mailing list
> ffmpeg-user at ffmpeg.org
> http://ffmpeg.org/mailman/listinfo/ffmpeg-user

On Sat, Feb 23, 2013 at 9:44 AM, Marton Balint <cus <at> passwd.hu>
wrote:
> ffplay is using SDL for audio, therefore you should make sure SDL is
> using the alsa driver (by setting the SDL_AUDIODRIVER environment
> variable) and the audio device you want (by setting the AUDIODEV
> environment variable).

> Regards,
> Marton
> _______________________________________________
> ffmpeg-user mailing list
> ffmpeg-user at ffmpeg.org
> http://ffmpeg.org/mailman/listinfo/ffmpeg-user


More information about the ffmpeg-user mailing list