[FFmpeg-user] ffmpeg HIGH CPU, http streaming with libmp3lame

Carl Eugen Hoyos ceffmpeg at gmail.com
Tue Feb 5 01:48:20 EET 2019


2019-02-04 21:31 GMT+01:00, Zoltan Kerenyi Nagy <kerenyi.nagy.zoltan at gmail.com>:

> I was experimenting with these parameters, however the CPU
> usage never changed:
>
> ffmpeg -f alsa -i hw:0,0-ar 8000 http://localhost:4444/audio.ffm
> ffmpeg -f alsa -i hw:0,0 -b:a 128k http://localhost:4444/audio.ffm
>
> Do you have any idea, why this procedure  is so CPU intense?

I am not sure iirc but FFmpeg requests a sample fmt from alsa
that alsa does not natively provide and therefore starts to do
useless conversions, you have to find out which format avoids
these.
(Iirc!)

Carl Eugen


More information about the ffmpeg-user mailing list