[FFmpeg-user] ffmpeg nvenc GPU Memory Usage

Иван Колесников ivan.kolesnikov.fkn at gmail.com
Fri Mar 18 07:28:17 CET 2016


Hello Everyone,

I transcoding video on *NVIDIA QUADRO K4000* in Ubuntu (*ffmpeg version is
2.7.1*, NVENC SDK 5.0.1). GPU Memory usage for one stream is 100 MB. Please
see an output of nvidia-smi command:
+-----------------------------------------------------------------------------+
| Processes:                                                       GPU
Memory |
|  GPU       PID  Type  Process name                         Usage      |
|================================================|
|    0       832    C   /usr/local/bin/ffmpeg
100MiB |
|    0       881    C   /usr/local/bin/ffmpeg
100MiB |
|    0      1526    C   /usr/local/bin/ffmpeg
100MiB |

But when I run the same transcoding process with the same ffmpeg parameters
on another computer with *NVIDIA GTX 980 TI* (*ffmpeg version is 3.0*,
NVENC SDK 5.0.1) then GPU Memory usage for one stream is 170 MB. Please see
an output of nvidia-smi command:
+-----------------------------------------------------------------------------+
| Processes:                                                       GPU
Memory |
|  GPU       PID  Type  Process name                           Usage      |
|================================================|
|    0     55008    C   /usr/local/bin/ffmpeg
170MiB |
|    0     55036    C   /usr/local/bin/ffmpeg
170MiB |


*Why such a difference in memory usage? Can I decrease a GPU Memory usage
on GTX 980 TI to 100MB for one transcode process as on QUADRO K4000?*


Best Regards,
Ivan Kolesnikov
email: ivan.kolesnikov.fkn at gmail.com


More information about the ffmpeg-user mailing list