Hi, The CPU usage is still abobe 90% with libshine. Do you think that something is buggy with my script? https://pastebin.com/dyHK6ATh
Zoli On Tue, 5 Feb 2019 at 01:19, Lou Logan <[email protected]> wrote: > On Mon, Feb 4, 2019, at 11:31 AM, Zoltan Kerenyi Nagy wrote: > > Hi All, > > > > For some reason the CPU is insanely high, hitting almost all the time > 100%, > > I run ffmpeg on an ARM7 4 core embedded device. > > > > This is the setup, how I do it: > > > > ffserver -d -f /etc/ffserver.conf > > ffmpeg -f alsa -i hw:0,0 http://localhost:4444/audio.ffm > > You can see if libshine gives you better performance likely at the cost of > quality per bit but it may not matter. You'll need to compile with > "--enable-libshine" and encode with "-c:a libshine" unless it is the only > MP3 encoder. > > > ffmpeg -f alsa -i hw:0,0-ar 8000 http://localhost:4444/audio.ffm > > Use the "-sample_rate" ALSA private option (before the input) if you want > to change the sample rate, otherwise ffmpeg will use the default ALSA value > of 48000 and resample to 8000. > > https://ffmpeg.org/ffmpeg-devices.html#alsa > _______________________________________________ > ffmpeg-user mailing list > [email protected] > http://ffmpeg.org/mailman/listinfo/ffmpeg-user > > To unsubscribe, visit link above, or email > [email protected] with subject "unsubscribe". _______________________________________________ ffmpeg-user mailing list [email protected] http://ffmpeg.org/mailman/listinfo/ffmpeg-user To unsubscribe, visit link above, or email [email protected] with subject "unsubscribe".
