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

##

/etc/ffserver.conf :

HTTPPort 4444
HTTPBindAddress 0.0.0.0
MaxHTTPConnections 10
MaxClients 10
MaxBandwidth 1024
CustomLog -

<Feed audio.ffm>
    File /tmp/audio.ffm
    FileMaxSize 128M
</Feed>
#
<Stream audio>
    Feed audio.ffm
    Format mp2
    Audiocodec libmp3lame
    AudioBitRate 128
    AudioChannels 2
    AudioSampleRate 8000
    NoVideo
    StartSendOnKey
</Stream>

<Stream stat.html>
    Format status
    FaviconURL http://pond1.gladstonefamily.net:8080/favicon.ico
</Stream>

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? FFmpeg is
installed to my device via the Yocto Project, so the arm cpu was taken into
consideration, I checked the bblayer file.

Thanks,

Zoli
_______________________________________________
ffmpeg-user mailing list
ffmpeg-user@ffmpeg.org
http://ffmpeg.org/mailman/listinfo/ffmpeg-user

To unsubscribe, visit link above, or email
ffmpeg-user-requ...@ffmpeg.org with subject "unsubscribe".

Reply via email to