NVIDIA accelerated ffmpeg (nvenc_h264) is dead slowly on Amazon G2 instance

FFMPEG when compiled with the following parameters gives terrible performance on an Amazon G2 instance (g2.2xlarge, GRID K520) compared to the standalone Dell-Precision-T1700 (Quadro-k620)

"--enable-nonfree --enable-gpl --enable-version3 --enable-shared --enable pthreads [b]--enable-nvenc[/b] --enable-runtime-cpudetect --disable-doc --enable-libmp3lame" 

The ffmpeg binary above took 66 seconds to transcode the BVE_Localize.mp4 file with 5.22 minutes with the following command.

time ffmpeg -y -i BVE_Localize.mp4 -strict -2 -vcodec nvenc_h264 -b 5000k -acodec aac -ab 256k -f mpegts BVELocalize.ts (taken 1m6.990s on G2)

When the same ffmpeg command is executed on a Dell-Precision-T1700 workstation (Xeon Dual core, Quadro K620), it takes 0m41.572s.

I would like ffmpeg to work better on an instance of Amazon G2. What do you think I can skip? My Amazon G2 instance configuration is Ubuntu 14.04 64 bit, Cuda 7.0, 352.55 drivers, disabled MSI, NVIDIA SDK 5.0.1

+5
source share

Source: https://habr.com/ru/post/1236032/


All Articles