[FFmpeg-user] ffmpeg high CPU usage

Glenn Cooper cooper1210 at googlemail.com
Tue Feb 20 16:15:42 EET 2018

I am trying to stream to YT by using a live Icecast radio stream and converting it on the fly. Whilst I have this working, the CPU overhead is simply ridiculous and I suspect there's an error with my usage. I would hope that someone could advise further. This is my config:

ffmpeg -loop 1 -r 1  -s 624x352 -i image1.png -i http://radio.strictly.house:9500/stream -c:v libx264 -x264opts keyint=5:min-keyint=5:scenecut=-1 -preset ultrafast -crf 1 -c:a copy -shortest -pix_fmt yuv420p -f flv rtmp://a.rtmp.youtube.com/live2/ge7a-2059-1v3e-bv2t #</dev/null >/dev/null 2>/var/log/ffmpeg.log &
Thanks in advance

More information about the ffmpeg-user mailing list