[FFmpeg-user] Reduce CPU usage to match VLC

Loadlinx limiteddi at gmail.com
Mon Feb 10 16:42:15 CET 2014


Its an older CPU and i want to be able to transcode multiple streams. At
100% core use i can only do 4 streams.


On Mon, Feb 10, 2014 at 10:40 AM, Reindl Harald <h.reindl at thelounge.net>wrote:

>
>
> 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?
>
>
> _______________________________________________
> ffmpeg-user mailing list
> ffmpeg-user at ffmpeg.org
> http://ffmpeg.org/mailman/listinfo/ffmpeg-user
>
>


More information about the ffmpeg-user mailing list