[FFmpeg-user] Failed creating CUDA context for NVENC

Yugandhar Veeramachaneni hello at yugandhar.me
Wed Jul 18 19:20:28 EEST 2018

Hello everyone,

I'm currently using an NVIDIA Quadro P4000 GPU to transcode multicast UDP
streams to RTMP streams. I have quite about 30 streams running in parallel
on this GPU and I have no problems so far. I tried adding more today and
many of them are failing with this error.

[h264_nvenc @ 0x55ef24458040] Loaded Nvenc version 8.1
[h264_nvenc @ 0x55ef24458040] Nvenc initialized successfully
[h264_nvenc @ 0x55ef24458040] 1 CUDA capable devices found
[h264_nvenc @ 0x55ef24458040] [ GPU #0 - < Quadro P4000 > has Compute SM
6.1 ]
[h264_nvenc @ 0x55ef24458040] Failed creating CUDA context for NVENC: 0x2
[h264_nvenc @ 0x55ef24458040] No NVENC capable devices found
[h264_nvenc @ 0x55ef24458040] Nvenc unloaded

Full log is pasted at

Can you please point me to my mistake?



More information about the ffmpeg-user mailing list