[FFmpeg-user] Any ideas thoughts on this

JULIAN GARDNER joolzg at btinternet.com
Fri Jun 17 09:24:47 CEST 2011


We have 4 encoders running and the ffmpeg used was from just before the libav split, so as we were undertaking a major update of our streamer box i took the oppertunity to update the ffmpegs and x264 to the latest and greatest, what a night, finally got to bed around 5am.

Now the reason for this, each box runs around 10 streams and give depending on rates of the streams a load average of between 3.5 and 6.5, icore7 950 @3.06 ghz

So command line before changeover

ffmpeg -metadata service_name="52" -metadata service_provider="Encoder1" -i udp://xxx.xxx.xxx.xxx:yyyy?reuse -vcodec libx264 -preset faster -g 75 -s 512x288 -b 850k -bt 50k -bufsize 2M -r 25 -acodec libfaac -ab 128k -ar 32k -ac 2 -async 1 -f mpegts udp://ooo.ooo.ooo.ooo:pppp?pkt_size=1316;buffer_size=1048576


And after the changeover
ffmpeg -metadata service_name="52" 
-metadata service_provider="Encoder1" -i 
udp://xxx.xxx.xxx.xxx:yyyy?reuse -vcodec libx264 -preset faster  -x264opts keyint=75 -s 512x288 -b 850k -bt 50k -bufsize 2M -r 25 -acodec libfaac -ab 128k -ar 
32k -ac 2 -async 1 -f mpegts 
udp://ooo.ooo.ooo.ooo:pppp?pkt_size=1316;buffer_size=1048576

And now when running these streams x 10, i end up with all 8 cores maxed out and a load average of between 11 and 14, i changed the -preset faster to -preset veryfast and now the load average is way down around 3.5

Does anybody know why this could be happening, and why the massive differnce between faster and veryfast

joolz


More information about the ffmpeg-user mailing list