[FFmpeg-user] high cpu uses

Reindl Harald h.reindl at thelounge.net
Thu Aug 9 14:53:23 EEST 2018



Am 09.08.2018 um 13:48 schrieb Remo Rayamajhi:
> What is the best -threads  option that I can use 

just play around - whatever encodes fast enough for the reciever

you can't magically reduce cpu usage without compromises because x264
don't use the cpu just for fun

> From: Reindl Harald
> Sent: Thursday, August 9, 2018 5:17 PM
> To: ffmpeg-user at ffmpeg.org
> Subject: Re: [FFmpeg-user] high cpu uses
> 
> 
> 
> Am 09.08.2018 um 13:16 schrieb Remo Rayamajhi:
>> I m using 8 core cpu and  using ffmpeg to transcode udp input to rtmp out
>> to my Wowza server ... but only *2 ffmpeg script* is easily run . Is there
>> any idea so i can transcode* 5-6 stream *for that 8 core server . Os
>> install is centos .
>>
>> *ffmpeg -i 'rtp://@239.1.2.10:8002 <http://239.1.2.10:8002>' -r "25"
>> -keyint_min 25 -refs 3 -level 3.1 -coder 1 -trellis 1 -b:v 800k -vf
>> "yadif,hqdn3d=1.5:1.5:6:6,scale=720:576" -aspect 16:9 -c:a aac -ar 44100
>> -ac 2 -b:a 128k -c:v libx264 -g 50 -f mpegts udp://@192.168.2.200:1243
>> <http://192.168.2.200:1243> </dev/null >/dev/null 2>/var/log/ffmpeg9.log &*
> set -threads option and/or reduce quality


More information about the ffmpeg-user mailing list