Little Optiplex Won

I got NVidia NVENC encoding working, and an optiplex with a lower end Quadro video card beat an 4 core Xeon.

Trick is you need to compile your own

Here are the details

Here are the results of different versions  of ffmpeg transcoding from a 10 minute 26 second video from a recent football game.  The file is 1.2GB large and has a frame of 1920×1080 with a rate of 29.97FPS

The parameters used in ffmpeg are as follows

AUDIO  |  -acodec libmp3lame -ab 160k
VIDEO  |  -vcodec libx264 -vprofile high -preset slow -b:v 2500000 -vf scale=-1:720 -threads 0 -f mp4

For the most part they did not change, when I used the hardware encoding I did have to change the video slightly to

VIDEO  |  -vcodec h264_nvenc
-vprofile high -preset slow -b:v 2500000 -vf scale=-1:720 -threads 0 -f mp4

To use the hardware encoding

After transcoding files were down to 1280×720 using an h.264 codec and were 210MB in size.

The computer was a much older Dell Optiplex 760, Intel Core2 Duo CPU E8400 @ 3.00GHz, 8GB of RAM and a NVIDIA Corporation GK107 [NVS 510] (rev a1) video card which is based on NVidia Kepler technology which does hardware h.264 encoding and decoding

Precompiled RPMS

I have been using these binaries for a while now, downloaded from http://li.nux.ro/repos.html  and they were the slowest.

Time: 31min 55sec

Precompiled Binaries

Was recently introduced to this, a simple statically compiled binary from https://johnvansickle.com/ffmpeg/

Extremely easy to install and use

Time: 26min 42sec

Compiled from source

Here are stats from when I compiled from source the latest version.  Kind of tricky and there were speed bumps.  This run was based on software encoding, statistically the times are similar to the precompiled binaries

Time: 27min 07 seconds

Compiled using hardware encoding

This is the best performance  of all, using nvenc encoding, it took a 5th of the time WOW

Time: 5min 24sec

Precompiled RPMs on workstation

For yucks, I tried this on a workstation class HP Z series computer. 

CPU is Intel(R) Xeon(R) CPU E31230 @ 3.20GHz and 12GB of RAM

Time: 11min 59sec

I was so impressed with what this tiny Quadro card could do I went out and got a beefier Quadro K4000 which could only go on the workstation. But the same file was done under 3 minutes (2 min 55 sec)

Now I am going to give a large 24GB file a try, which on a system I had up last year took nearly 10 hours (9 hours 50 minutes 52 secs) which took on the Optiplex under 2 hours (1 hour 58 minutes 15 secs).

Maybe this will be done before the night is over and I can post an update.

Weight: 279.8

This entry was posted in New Toys, Technical, Training, Weigh In. Bookmark the permalink.

Leave a Reply

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.