I played setting the values higher but it was neither faster nor slower. Average 4 cores utilization is still ~80%.

Conclusion -- all in ffmpeg-git-20151124-64bit-static:
Almost 100% on all 4 cores if I use -- no problem there:
$ ./ffmpeg -i a.mp4 -c:v libx264 -crf 23 -c:a libvorbis b.mp4

Only 1 core used, not all 4 cores like with libx264, but also on 100% if I use -- problem:
$ ./ffmpeg -i a.mp4 -c:v libvpx-vp9 -crf 23 -c:a libvorbis b.webm

And trying to use all 4 cores, although all 4 cores are used now, it's only on ~80% utilization -- problem: $ ./ffmpeg -i a.mp4 -c:v libvpx-vp9 -crf 23 -cpu-used 4 -threads 4 -c:a libvorbis b.webm (changing -cpu-used and -threads higher than 4 values was neither faster nor slower).

On 24.11.2015 13:32, Reindl Harald wrote:


Am 24.11.2015 um 13:02 schrieb D:
The new version is up* and I did a quick benchmark:

ffmpeg-git-20151120-64bit-static$ ./ffmpeg -i a.mp4 -c:v libvpx-vp9 -b:v
1M -cpu-used 4 -threads 4 -c:a libvorbis b.webm
fps= 13

ffmpeg-git-20151124-64bit-static$ ./ffmpeg -i a.mp4 -c:v libvpx-vp9 -b:v
1M -cpu-used 4 -threads 4 -c:a libvorbis b.webm
fps= 17

Not sure if the multi-core command (4 cores, no HT) is correct but I get
like only 80% CPU usage on average

try to set it higher

when i build RPM packages on my 4-core HT machine inside a VM it's faster to use "%_smp_mflags -j10" instead just "%_smp_mflags -j8" or lower



_______________________________________________
ffmpeg-user mailing list
ffmpeg-user@ffmpeg.org
http://ffmpeg.org/mailman/listinfo/ffmpeg-user

_______________________________________________
ffmpeg-user mailing list
ffmpeg-user@ffmpeg.org
http://ffmpeg.org/mailman/listinfo/ffmpeg-user

Reply via email to