Ich hab mal ffmpeg-3.1 genommen mit nvidia HWENC api und den Benchmark angewendet. Gut, das bringt mich warscheinlich nicht in die Statistik, aber CUDA ist doch ganz schoen flott. Das hier sind die Ergebnisse:
time ffmpeg -y -i elephantsdream_source.264 -vcodec h264_nvenc -preset slow -b:v 2.5M -maxrate 10M -bufsize:v 10M -bf 2 -g 150 -i_qfactor 1.1 -b_qfactor 1.25 -qmin 1 -qmax 50 -acodec copy output.mp4
real 4m39.051s
user 3m54.930s
sys 0m4.013s
time ./launchbenchmark.sh
ffmpeg version N-81093-g75bd5d3 Copyright (c) 2000-2016 the FFmpeg developers
built with gcc 5.3.0 (Gentoo 5.3.0 p1.0, pie-0.6.5)
configuration: --enable-nonfree --enable-nvenc --enable-gpl
libavutil 55. 28.100 / 55. 28.100
libavcodec 57. 50.100 / 57. 50.100
libavformat 57. 44.100 / 57. 44.100
libavdevice 57. 0.102 / 57. 0.102
libavfilter 6. 47.100 / 6. 47.100
libswscale 4. 1.100 / 4. 1.100
libswresample 2. 1.100 / 2. 1.100
libpostproc 54. 0.100 / 54. 0.100
[h264 @ 0x23aa860] Stream #0: not enough frames to estimate rate; consider increasing probesize
Input #0, h264, from 'elephantsdream_source.264':
Duration: N/A, bitrate: N/A
Stream #0:0: Video: h264 (High), yuv420p(tv, bt709), 1920x1080 [SAR 1:1 DAR 16:9], 24 fps, 24 tbr, 1200k tbn, 48 tbc
[mp4 @ 0x23ad600] Using AVStream.codec to pass codec parameters to muxers is deprecated, use AVStream.codecpar instead.
Output #0, mp4, to 'output.mp4':
Metadata:
encoder : Lavf57.44.100
Stream #0:0: Video: h264 (h264_nvenc) (Main) ([33][0][0][0] / 0x0021), yuv420p, 1920x1080 [SAR 1:1 DAR 16:9], q=1-50, 2500 kb/s, 24 fps, 12288 tbn, 24 tbc
Metadata:
encoder : Lavc57.50.100 h264_nvenc
Side data:
cpb: bitrate max/min/avg: 10000000/0/2500000 buffer size: 10000000 vbv_delay: -1
Stream mapping:
Stream #0:0 -> #0:0 (h264 (native) -> h264 (h264_nvenc))
Press [q] to stop, [?] for help
frame=15691 fps= 56 q=22.0 Lsize= 192538kB time=00:10:53.70 bitrate=2412.8kbits/s speed=2.35x
video:192390kB audio:0kB subtitle:0kB other streams:0kB global headers:0kB muxing overhead: 0.076888%
real 4m39.051s
user 3m54.930s
sys 0m4.013s