Failed creating CUDA context for NVENC / No NVENC capable devices found

Hello ,

When i tried to run with ffmpeg below command

ffmpeg -i /apache/data/data/mediarecordserver/50892/callee/ConnecTEB_50892_callee.webm -c:v h264_nvenc -profile high444p -pixel_format yuv444p -preset default output.mp4

get an error like this -->

[h264_nvenc @ 0x2cc1380] Failed creating CUDA context for NVENC: 0x3e7
[h264_nvenc @ 0x2cc1380] No NVENC capable devices found
[h264_nvenc @ 0x2cc1380] cuCtxPushCurrent failed
Error initializing output stream 0:0 – Error while opening encoder for output stream #0:0 - maybe incorrect parameters such as bit_rate, rate, width or height
[aac @ 0x2ccb640] Qavg: 301.643
[aac @ 0x2ccb640] 2 frames left in the queue on closing
Conversion failed!

How can i get over this problem ?

Machine is sanal and hardware properties like this :

lshw -numeric -C display
description: VGA compatible controller
product: QXL paravirtual graphic card [1B36:100]
vendor: Red Hat, Inc. [1B36]
physical id: 2
bus info: pci@0000:00:02.0
version: 04
width: 32 bits
clock: 33MHz
capabilities: vga_controller rom
configuration: driver=qxl latency=0
resources: irq:11 memory:f4000000-f7ffffff memory:f8000000-f9ffffff memory:fd0b0000-fd0b1fff ioport:c1a0(size=32) memory:fd0a0000-fd0affff
description: VGA compatible controller
product: GP100GL [Tesla P100 PCIe 16GB] [10DE:15F8]
vendor: NVIDIA Corporation [10DE]
physical id: 6
bus info: pci@0000:00:06.0
version: a1
width: 64 bits
clock: 33MHz
capabilities: msi vga_controller bus_master cap_list rom
configuration: driver=nvidia latency=0
resources: irq:11 memory:fc000000-fcffffff memory:e0000000-efffffff memory:fa000000-fbffffff ioport:c000(size=128) memory:fd080000-fd09ffff

output of nvidia-smi

Tue May 7 13:31:45 2019
| NVIDIA-SMI 410.71 Driver Version: 410.71 CUDA Version: 10.0 |
| GPU Name Persistence-M| Bus-Id Disp.A | Volatile Uncorr. ECC |
| Fan Temp Perf Pwr:Usage/Cap| Memory-Usage | GPU-Util Compute M. |
| 0 GRID P100-1B On | 00000000:00:06.0 Off | N/A |
| N/A N/A P0 N/A / N/A | 80MiB / 1024MiB | 0% Default |

| Processes: GPU Memory |
| GPU PID Type Process name Usage |
| No running processes found |