[FFmpeg-user] Reduce CPU usage to match VLC

Loadlinx limiteddi at gmail.com
Mon Feb 10 16:36:09 CET 2014


Hello,

Would like to use ffmpeg instead of VLC for the given task but I can not
seem to reduce the CPU usage.

Here is how I do it in VLC:(~30% CPU usage)

/vlc -vvv http://192.168.1.50:6002 --sout '#transcode{venc=x264{preset=
ultrafast},vcodec=h264,vb=1500,acodec=aac,ab=128,samplerate=48000}:standard{access=http,mux=ts,dst=
192.168.1.50:9002}'

Here is my ffmpeg command: (~120% CPU usage)
./ffmpeg -i http://192.168.1.50:6002 <http://162.219.0.246:12709> -vcodec
libx264 -vb 1500k -s 480x320 -acodec libfdk_aac -ab 32k -f flv rtmp://
192.168.1.50:1935/live/709 <http://162.219.0.246:1935/live/709>

Quality seems to me somewhat the same but ffmpeg uses 3x more CPU then VLC.
Any idea how I can match VLC cpu usage with ffmpeg?

TIA


More information about the ffmpeg-user mailing list