[FFmpeg-user] Reduce CPU usage to match VLC

Reindl Harald h.reindl at thelounge.net
Mon Feb 10 16:40:05 CET 2014



Am 10.02.2014 16:36, schrieb Loadlinx:
> 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?

wrong question

maybe it is also 3 times faster
CPU and hardware in general is there to get used
why would you buy a expensive CPU to let it idle?

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 246 bytes
Desc: OpenPGP digital signature
URL: <http://ffmpeg.org/pipermail/ffmpeg-user/attachments/20140210/c028cd43/attachment.asc>


More information about the ffmpeg-user mailing list