LoginSignup
2
0

More than 5 years have passed since last update.

ffmpeg nvenc における GPU ベンチマーク

Posted at

目的

新しいアーキテクチャってハードウェアエンコする時に有効なの?
って思ったので
まとめも兼ねて

環境

HW List
CPU i7-920 @2.66GHz
M/B P6T Delux v2
MEM DDR3-1066 12GB
SSD WD 128GB
SW List
OS Ubuntu 18.04
nvidia driver 390.116
ffmpeg version n4.1

GPU

何個か持ってるけど nvenc 走れたのは以下

GTX670 GTX980
Architecture Kepler Maxwell
Technology 28nm 28nm
Shaders 1344 2048
GPU Clock 915MHz 1126MHz
Memory GDDR5 2GB GDDR5 4GB

コマンド

time ffmpeg -i ypt.mov -b:v 20M -c:v h264_nvenc ypt.mp4

h264で入力動画(130秒)を 20Mbps で mov -> mp4 変換する
なお CPU エンコでは -c:v h264 を代わりに使用する

リザルト

結果は3回試行の中央値

使用プロセッサ エンコード時間 CPU比
i7-920 416秒 x1.0
GTX670 98秒 x4.2
GTX980 69秒 x6.0
GTX980 + GTX670 70秒 x5.9
GTX670 + GTX980 70秒 x5.9

結論

・新しいやつは強い

2
0
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
2
0