ffmpeg rtmp stream taking 100% CPU
<p>I am creating a small script to stream a images on rtmp server but FFMPEG command taking 100% CPU. Please have a look on my code.</p>

<pre><code>ffmpeg -f lavfi -i anullsrc=channel_layout=stereo:sample_rate=44100 -loop 1 -i "Digital-Wallet-.jpg" -t 00:30:00 -r 1 -c:v  libx264 -c:a aac -preset:v ultrafast  -pix_fmt yuv420p -f flv "rtmp://rtmpserver"
</code></pre>